org.jhotdraw.gui
Class DisclosureIcon
java.lang.Object
org.jhotdraw.gui.DisclosureIcon
- All Implemented Interfaces:
- javax.swing.Icon
public class DisclosureIcon
- extends java.lang.Object
- implements javax.swing.Icon
DisclosureIcon.
- Version:
- $Id: DisclosureIcon.java 717 2010-11-21 12:30:57Z rawcoder $
- Author:
- Werner Randelshofer
Field Summary |
static java.lang.String |
CURRENT_STATE_PROPERTY
This client property needs to be set on the component. |
static java.lang.String |
STATE_COUNT_PROPERTY
This client property needs to be set on the component. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STATE_COUNT_PROPERTY
public static final java.lang.String STATE_COUNT_PROPERTY
- This client property needs to be set on the component.
The value must be a positive Integer.
- See Also:
- Constant Field Values
CURRENT_STATE_PROPERTY
public static final java.lang.String CURRENT_STATE_PROPERTY
- This client property needs to be set on the component.
The value must be a positive Integer.
- See Also:
- Constant Field Values
DisclosureIcon
public DisclosureIcon()
paintIcon
public void paintIcon(java.awt.Component component,
java.awt.Graphics g,
int x,
int y)
- Specified by:
paintIcon
in interface javax.swing.Icon
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interface javax.swing.Icon
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interface javax.swing.Icon