Lines Matching refs:g
123 public void paint (Graphics2D g, in paint() argument
141 g.setColor (maBgColor); in paint()
142 g.fill (maShape); in paint()
149 g.setColor (color); in paint()
150 g.draw (maShape); in paint()
154 g.setColor (maFocusColor); in paint()
157 g.fill ( in paint()
166 g.setColor (maSelectionColor); in paint()
169 g.draw ( in paint()
178 g.setColor (maFgColor); in paint()
180 paintName (g); in paint()
182 paintDescription (g); in paint()
184 paintText (g); in paint()
191 public void paint_highlight (Graphics2D g, in paint_highlight() argument
195 g.setColor (maHighlightColor); in paint_highlight()
197 g.setColor (maFgColor); in paint_highlight()
198 g.draw (maShape); in paint_highlight()
204 private void paintName (Graphics2D g) in paintName() argument
206 g.drawString ("Name: " + msName, in paintName()
213 private void paintDescription (Graphics2D g) in paintDescription() argument
215 g.drawString ("Description: " + msDescription, in paintDescription()
223 private void paintText (Graphics2D g) in paintText() argument
243 g.drawString(sText.substring(i, i+1), (float)x, (float)y); in paintText()