Interface CheckBox
access this type via: ui.CheckBox (provides, requires or uses)
--- extends:Button
This interface represents a graphical check-box, which the user can tick or un-tick. State change events can be detected from the click event on the ClickableObject supertype.
Functions
CheckBox(char name[])
bool isChecked()
void setChecked(bool t)
void setBackground(storeColor c)
void setCheckColor(storeColor c)
void setTextColor(storeColor c)
CheckBox(char name[])
Instantiate a new check box, with the specifed text.
bool isChecked()
Test whether or not the check box is currently ticked.
void setChecked(bool t)
Set the ticked status of the check box.
void setBackground(storeColor c)
Set the background of the check box.
void setCheckColor(storeColor c)
Set the color of the check mark.
void setTextColor(storeColor c)
Set the text color.