java.lang.Object
org.gtk.java.swing.plaf.gtk.GtkTreeUI.GtkExpandedIcon
- All Implemented Interfaces:
- javax.swing.Icon, java.io.Serializable
- Direct Known Subclasses:
- GtkTreeUI.GtkCollapsedIcon
- Enclosing class:
- GtkTreeUI
- public static class GtkTreeUI.GtkExpandedIcon
- extends java.lang.Object
- implements javax.swing.Icon, java.io.Serializable
The minus sign button icon.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bg
static java.awt.Color bg
fg
static java.awt.Color fg
GtkTreeUI.GtkExpandedIcon
public GtkTreeUI.GtkExpandedIcon()
createExpandedIcon
public static javax.swing.Icon createExpandedIcon()
paintIcon
public void paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
- Description copied from interface:
javax.swing.Icon
- Draws the icon at the location (x, y) on the specified graphics device.
- Specified by:
paintIcon in interface javax.swing.Icon
getIconWidth
public int getIconWidth()
- Description copied from interface:
javax.swing.Icon
- Returns the width of the icon.
- Specified by:
getIconWidth in interface javax.swing.Icon
getIconHeight
public int getIconHeight()
- Description copied from interface:
javax.swing.Icon
- Returns the height of the icon.
- Specified by:
getIconHeight in interface javax.swing.Icon