javax.swing.plaf.metal
public static class MetalIconFactory.TreeControlIcon extends Object implements Icon, Serializable
| Field Summary | |
|---|---|
| protected boolean | isLight ? |
| Constructor Summary | |
|---|---|
| TreeControlIcon(boolean isCollapsed)
Creates a new icon.
| |
| Method Summary | |
|---|---|
| int | getIconHeight()
Returns the height of the icon, in pixels.
|
| int | getIconWidth()
Returns the width of the icon, in pixels.
|
| void | paintIcon(Component c, Graphics g, int x, int y)
Paints the icon at the location (x, y).
|
| void | paintMe(Component c, Graphics g, int x, int y)
Simply calls {@link #paintIcon(Component, Graphics, int, int)}.
|
Parameters: isCollapsed a flag that controls whether the icon is in the collapsed state or the expanded state.
Returns: The height of the icon.
Returns: The width of the icon.
Parameters: c the component. g the graphics device. x the x coordinate. y the y coordinate.
Parameters: c the component. g the graphics device. x the x coordinate. y the y coordinate.