|
|||||||||
| Home >> All >> org >> gtk >> java >> swing >> plaf >> [ gtk overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.gtk.java.swing.plaf.gtk
Class GtkPopupMenuUI.GtkPopupMenuBorder

java.lang.Objectjavax.swing.border.AbstractBorder
org.gtk.java.swing.plaf.gtk.GtkPopupMenuUI.GtkPopupMenuBorder
- All Implemented Interfaces:
- javax.swing.border.Border, java.io.Serializable, javax.swing.plaf.UIResource
- Enclosing class:
- GtkPopupMenuUI
- private static class GtkPopupMenuUI.GtkPopupMenuBorder
- extends javax.swing.border.AbstractBorder
- implements javax.swing.plaf.UIResource
- extends javax.swing.border.AbstractBorder
| Field Summary | |
protected java.awt.Color |
background
|
protected java.awt.Font |
font
|
protected java.awt.Color |
foreground
|
protected static int |
GROOVE_HEIGHT
|
protected java.awt.Color |
highlightColor
|
protected java.awt.Color |
shadowColor
|
protected static int |
TEXT_SPACING
|
| Fields inherited from class javax.swing.border.AbstractBorder |
|
| Constructor Summary | |
GtkPopupMenuUI.GtkPopupMenuBorder(java.awt.Font titleFont,
java.awt.Color bgColor,
java.awt.Color fgColor,
java.awt.Color shadow,
java.awt.Color highlight)
Creates a GtkPopupMenuBorder instance |
|
| Method Summary | |
java.awt.Insets |
getBorderInsets(java.awt.Component c)
Returns the insets of the border. |
java.awt.Insets |
getBorderInsets(java.awt.Component c,
java.awt.Insets insets)
Reinitialize the insets parameter with this Border's current Insets. |
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
Paints the border for the specified component with the specified position and size. |
| Methods inherited from class javax.swing.border.AbstractBorder |
getInteriorRectangle, getInteriorRectangle, isBorderOpaque |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
font
protected java.awt.Font font
background
protected java.awt.Color background
foreground
protected java.awt.Color foreground
shadowColor
protected java.awt.Color shadowColor
highlightColor
protected java.awt.Color highlightColor
TEXT_SPACING
protected static final int TEXT_SPACING
- See Also:
- Constant Field Values
GROOVE_HEIGHT
protected static final int GROOVE_HEIGHT
- See Also:
- Constant Field Values
| Constructor Detail |
GtkPopupMenuUI.GtkPopupMenuBorder
public GtkPopupMenuUI.GtkPopupMenuBorder(java.awt.Font titleFont, java.awt.Color bgColor, java.awt.Color fgColor, java.awt.Color shadow, java.awt.Color highlight)
- Creates a GtkPopupMenuBorder instance
| Method Detail |
paintBorder
public void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)
- Paints the border for the specified component with the
specified position and size.
- Specified by:
paintBorderin interfacejavax.swing.border.Border
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c)
- Returns the insets of the border.
- Specified by:
getBorderInsetsin interfacejavax.swing.border.Border
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c, java.awt.Insets insets)
- Reinitialize the insets parameter with this Border's current Insets.
|
|||||||||
| Home >> All >> org >> gtk >> java >> swing >> plaf >> [ gtk overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC