All Packages Class Hierarchy This Package Previous Next Index
Class java.awt.swing.motif.MotifGraphicsUtils
java.lang.Object
|
+----java.awt.swing.motif.MotifGraphicsUtils
- public class MotifGraphicsUtils
- extends Object
- implements SwingConstants
control-
controlBlack-
controlDisabled-
controlFont-
controlHighlight-
controlLight-
controlLightShadow-
controlShadow-
controlWhite-
gray102-
gray153-
gray231-
MotifGraphicsUtils()
-
drawGroove(Graphics, int, int, int, int)
-
drawStringInRect(Graphics, String, int, int, int, int, int)
- Draws aString in the rectangle defined by
(x, y, width, height).
paintMenuItem(Graphics, JComponent, Icon, Icon, Color, Color, int)
-
controlFont
public static final Font controlFont
control
public static Color control
controlLight
public static Color controlLight
controlShadow
public static Color controlShadow
controlLightShadow
public static Color controlLightShadow
controlHighlight
public static Color controlHighlight
controlDisabled
public static Color controlDisabled
controlBlack
public static Color controlBlack
controlWhite
public static Color controlWhite
gray231
public static final Color gray231
gray153
public static final Color gray153
gray102
public static final Color gray102
MotifGraphicsUtils
public MotifGraphicsUtils()
drawGroove
public static void drawGroove(Graphics g,
int x,
int y,
int w,
int h)
drawStringInRect
public static void drawStringInRect(Graphics g,
String aString,
int x,
int y,
int width,
int height,
int justification)
- Draws aString in the rectangle defined by
(x, y, width, height).
justification specifies the text's justification, one of
LEFT, CENTER, or RIGHT.
drawStringInRect() does not clip to the rectangle, but instead
uses this rectangle and the desired justification to compute the point
at which to begin drawing the text.
- See Also:
- #drawString
paintMenuItem
public static void paintMenuItem(Graphics g,
JComponent c,
Icon checkIcon,
Icon arrowIcon,
Color background,
Color foreground,
int defaultTextIconGap)
All Packages Class Hierarchy This Package Previous Next Index
Submit a bug or feature