|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jidesoft.icons.CheckBoxIcon
public class CheckBoxIcon
The icon to paint CheckBox icon safely with any L&F.
Constructor Summary | |
---|---|
CheckBoxIcon()
The constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CheckBoxIcon()
Method Detail |
---|
public void paintIcon(Component c, Graphics g, int x, int y)
paintIcon
in interface Icon
public int getIconWidth()
getIconWidth
in interface Icon
public int getIconHeight()
getIconHeight
in interface Icon
public void setState(int state)
TristateCheckBox.STATE_SELECTED
, TristateCheckBox.STATE_UNSELECTED
or
TristateCheckBox.STATE_MIXED
.
state
- the statepublic int getState()
setState(int)
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |