API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf.basic. BasicGraphicsUtils View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      BasicGraphicsUtils
Implements
Subclasses
Description
public class BasicGraphicsUtils
See also:   
Constructors
public BasicGraphicsUtils ()
Methods
Hide/Show inherited methods
publicstatic void drawBezel (Graphics g, int x, int y, int w, int h, boolean isPressed, boolean isDefault, Color shadow, Color darkShadow, Color highlight, Color lightHighlight)
publicstatic void drawDashedRect (Graphics g, int x, int y, int width, int height)
publicstatic void drawEtchedRect (Graphics g, int x, int y, int w, int h, Color shadow, Color darkShadow, Color highlight, Color lightHighlight)
publicstatic void drawGroove (Graphics g, int x, int y, int w, int h, Color shadow, Color highlight)
publicstatic void drawLoweredBezel (Graphics g, int x, int y, int w, int h, Color shadow, Color darkShadow, Color highlight, Color lightHighlight)
publicstatic void drawString (Graphics g, String text, int underlinedChar, int x, int y)
  Draw a string with the graphics g at location (x,y) just like g.drawString would.
publicstatic void drawStringUnderlineCharAt (Graphics g, String text, int underlinedIndex, int x, int y)
  Draw a string with the graphics g at location (x, y) just like g.drawString would.
publicstatic Insets getEtchedInsets ()
  Returns the amount of space taken up by a border drawn by drawEtchedRect()
publicstatic Insets getGrooveInsets ()
  Returns the amount of space taken up by a border drawn by drawGroove()
publicstatic Dimension getPreferredButtonSize (AbstractButton b, int textIconGap)
pack-privatestatic boolean isLeftToRight (Component c)
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar