Class ox.UI.CheckBox
Extends
ox.UI.Widget.
A check box for a single boolean field.
Defined in: configuration.js.
Constructor Attributes | Constructor Name and Description |
---|---|
ox.UI.CheckBox(label)
|
Field Attributes | Field Name and Description |
---|---|
This callback is called when the user changes the state of the CheckBox.
|
- Fields borrowed from class ox.UI.Widget:
- default_value, enabled, formnode, initialized, isEnabled, isVisible, node, parent, visible, width
Method Attributes | Method Name and Description |
---|---|
get()
Returns the current value of the CheckBox.
|
|
set(value)
Sets the value of the CheckBox
|
- Methods borrowed from class ox.UI.Widget:
- addContent, applyEnabled, applyVisible, disable, enable, hide, remove, resize, setEnabled, setParent, setVisible, show
Field Detail
{Function}
changed
This callback is called when the user changes the state of the CheckBox.
Method Detail
{Boolean}
get()
Returns the current value of the CheckBox.
set(value)
Sets the value of the CheckBox
- Parameters:
- {Boolean} value