CTOR for checkbox with text
CTOR for small button version
Sets the value of the checkbox to checked. Does not inwoke any events.
Returns true if left side justified, false otherwise.
Sets the small button to the left side if true.
Returns true if the checkbox is a small button.
Toggles the checkbox. Inwokes an onToggle event if delegate is set.
Toggles the checkbox to the given value. Inwokes an onToggle event if delegate is set.
Sets the value of the checkbox to unchecked. Does not inwoke any events.
Sets the icon for checked positions
Sets the icon for unchecked positions
Common input handler, must be set upon program initialization for text input, etc.
Contains the position of the element. Should be only modified with functions to ensure consistency.
Points to the container for two-way communication
Contains the text of the element if any. Should be modified with functions to ensure redraws.
Passed with other event informations when event is caused. Can be something like the name of the instance.
Contains various status flags.
Sets a custom style for this element. If not set, then it'll get the style from it's parent.
Called on left mouseclick released
Called on right mouseclick released
Called on middle mouseclick released
Called if mouse is moved on object
Called if mouse is scrolled on object
Stores the last known mouse position for future reference
Returns the text of this element.
Sets whether the element is enabled or not.
Returns whether the element is enabled or not.
Updates the output. Every subclass must override it.
Returns the source string.
Returns true if the element will generate events on mouse press and mouse release. By default, only release is used.
Returns true if the element will generate events on mouse press and mouse release. By default, only release is used.
Returns the next available StyleSheet.
Called when an object receives focus.
Called when an object loses focus.
Cycles the focus on a single element. Returns -1 if end is reached, or the number of remaining elements that are cycleable in the direction.
Passes key events to the focused element when not in text editing mode.
Returns whether the element is focused
Returns whether the element is pressed
Returns whether the element is checked
A simple toggle button.