| Constructor | Description |
|---|---|
CheckBoxIcon() |
The constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getIconHeight() |
|
int |
getIconWidth() |
|
int |
getState() |
Gets the state of the icon to paint.
|
void |
paintIcon(Component c,
Graphics g,
int x,
int y) |
|
void |
setState(int state) |
Sets the state of the icon to paint.
|
public int getIconWidth()
getIconWidth in interface Iconpublic int getIconHeight()
getIconHeight in interface Iconpublic void setState(int state)
TristateCheckBox.STATE_SELECTED, TristateCheckBox.STATE_UNSELECTED or
TristateCheckBox.STATE_MIXED.state - the statepublic int getState()
setState(int)