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

Variable Index

 o control
 o controlBlack
 o controlDisabled
 o controlFont
 o controlHighlight
 o controlLight
 o controlLightShadow
 o controlShadow
 o controlWhite
 o gray102
 o gray153
 o gray231

Constructor Index

 o MotifGraphicsUtils()

Method Index

 o drawGroove(Graphics, int, int, int, int)
 o drawStringInRect(Graphics, String, int, int, int, int, int)
Draws aString in the rectangle defined by (x, y, width, height).
 o paintMenuItem(Graphics, JComponent, Icon, Icon, Color, Color, int)

Variables

 o controlFont
public static final Font controlFont
 o control
public static Color control
 o controlLight
public static Color controlLight
 o controlShadow
public static Color controlShadow
 o controlLightShadow
public static Color controlLightShadow
 o controlHighlight
public static Color controlHighlight
 o controlDisabled
public static Color controlDisabled
 o controlBlack
public static Color controlBlack
 o controlWhite
public static Color controlWhite
 o gray231
public static final Color gray231
 o gray153
public static final Color gray153
 o gray102
public static final Color gray102

Constructors

 o MotifGraphicsUtils
public MotifGraphicsUtils()

Methods

 o drawGroove
public static void drawGroove(Graphics g,
                              int x,
                              int y,
                              int w,
                              int h)
 o 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
 o 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