Package fr.formiko.views.gui2d
Class FCheckBox.FCheckBoxIcon
java.lang.Object
fr.formiko.views.gui2d.FCheckBox.FCheckBoxIcon
- All Implemented Interfaces:
Icon
- Enclosing class:
FCheckBox
A simple checkBoxIcon using Formiko UI style.
- Author:
- Hydrolien
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
void
Main function that draw a box & a check if checked is true.
-
Field Details
-
size
private int size -
checked
private boolean checked
-
-
Constructor Details
-
FCheckBoxIcon
public FCheckBoxIcon(int size, boolean checked) Main constructor.
-
-
Method Details
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidth
in interfaceIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeight
in interfaceIcon
-
paintIcon
Main function that draw a box & a check if checked is true.
-