Class Toggle
- Superclasses :
-
lang::Object
- Subclasses :
-
gui::Button
gui::CheckBoxMenuItem
- Package :
- gui
This is a class for representing objects which can have an
on-off state, in particular checkboxes, toggle buttons,
and menu checkboxes.
- Source
clear_is_checked()
-
Set the status to unchecked.
- Source
get_status()
-
Return the status of the object; 1 if the object is checked,
&null otherwise.
- Source
into_cbg()
-
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.
- Source
is_checked()
-
Succeed if the object is checked.
- Source
set_is_checked()
-
Set the status to checked.
- Source
set_parent_check_box_group(x)
-
Set the parent CheckBoxGroup.
- Parameters :
- x - The parent CheckBoxGroup.
- Source
toggle_is_checked()
-
Toggle the status of the object.
- Source
is_checked_flag
-
parent_check_box_group
-