| Class Toggle |
# This is a class for representing objects which can have an on-off state, in particular checkboxes, toggle buttons, and menu checkboxes.
| Details |
| Constructor |
Toggle(parent_check_box_group, is_checked_flag)
| Methods: |
# Set the status to unchecked.
#
Return the status of the object; {1} if the object is checked,
{&null} otherwise.
#
This empty method may be overridden; it is invoked when the
object is added to a {CheckBoxGroup}. Note that it is
overridden by some of the subclasses described below.
# Succeed if the object is checked.
# Set the status to checked.
#
Set the parent {CheckBoxGroup}.
@param x The parent {CheckBoxGroup}.
# Toggle the status of the object.
| Fields: |