Package com.jidesoft.icons
Class CheckBoxIcon
java.lang.Object
com.jidesoft.icons.CheckBoxIcon
- All Implemented Interfaces:
Icon
The icon to paint CheckBox icon safely with any L&F.
- Since:
- 3.3.7
-
Constructor Details
-
CheckBoxIcon
public CheckBoxIcon()The constructor.
-
-
Method Details
-
paintIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidth
in interfaceIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeight
in interfaceIcon
-
setState
public void setState(int state) Sets the state of the icon to paint. The state could beTristateCheckBox.STATE_SELECTED
,TristateCheckBox.STATE_UNSELECTED
orTristateCheckBox.STATE_MIXED
.- Parameters:
state
- the state
-
getState
public int getState()Gets the state of the icon to paint.- Returns:
- the state.
- See Also:
-