All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.java.swing.basic.BasicGraphicsUtils
java.lang.Object
|
+----com.sun.java.swing.basic.BasicGraphicsUtils
- public class BasicGraphicsUtils
- extends Object
-
control
-
-
controlBlack
-
-
controlFont
-
-
controlHighlight
-
-
controlShadow
-
-
controlWhite
-
-
scrollbarTrack
-
-
toolTip
-
-
BasicGraphicsUtils()
-
-
drawBezel(Graphics, int, int, int, int, boolean, boolean)
-
-
drawDashedRect(Graphics, int, int, int, int)
-
-
drawEtchedRect(Graphics, int, int, int, int)
-
-
drawGroove(Graphics, int, int, int, int)
-
-
drawLoweredBezel(Graphics, int, int, int, int)
-
-
drawString(Graphics, String, char, int, int)
- Draw a string with the graphics g at location (x,y) just like g.drawString() would.
-
getEtchedInsets()
- Returns the amount of space taken up by a border drawn by
drawEtchedRect()
-
getGrooveInsets()
- Returns the amount of space taken up by a border drawn by
drawGroove()
controlFont
public static final Font controlFont
control
public static Color control
controlShadow
public static Color controlShadow
controlHighlight
public static Color controlHighlight
controlBlack
public static Color controlBlack
controlWhite
public static Color controlWhite
scrollbarTrack
public static Color scrollbarTrack
toolTip
public static Color toolTip
BasicGraphicsUtils
public BasicGraphicsUtils()
drawEtchedRect
public static void drawEtchedRect(Graphics g,
int x,
int y,
int w,
int h)
getEtchedInsets
public static Insets getEtchedInsets()
- Returns the amount of space taken up by a border drawn by
drawEtchedRect()
- Returns:
- the inset of an etched rect
drawGroove
public static void drawGroove(Graphics g,
int x,
int y,
int w,
int h)
getGrooveInsets
public static Insets getGrooveInsets()
- Returns the amount of space taken up by a border drawn by
drawGroove()
- Returns:
- the inset of a groove border
drawBezel
public static void drawBezel(Graphics g,
int x,
int y,
int w,
int h,
boolean isPressed,
boolean hasFocus)
drawLoweredBezel
public static void drawLoweredBezel(Graphics g,
int x,
int y,
int w,
int h)
drawString
public static void drawString(Graphics g,
String text,
char underlinedChar,
int x,
int y)
- Draw a string with the graphics g at location (x,y) just like g.drawString() would.
The first occurence of underlineChar in text will be underlined. The matching is
not case sensitive.
drawDashedRect
public static void drawDashedRect(Graphics g,
int x,
int y,
int width,
int height)
All Packages Class Hierarchy This Package Previous Next Index