PushButton
Simple component that responds to the pointer and keyboard, allowing a user to "click".
Author
Nicholas Eddy
Inheritors
Constructors
Creates a button.
Inherited properties
Icon when enabled == false
Notifies whenever the button is clicked (pressed/released)
How icons and text are positioned horizontally in the button
How icons are positioned horizontally relative to text
Space between icons and text
Stores the button's state and notifies listeners when it changes.
Icon when a Pointer is over the button
Icon when a Pointer is over the button and selected == true
Icon when button pressed
Icon when selected == true
Notifies when the button's text is modified
How icons and text are positioned vertically in the button
Functions
Causes the button to "press/release". This triggers the model to notify listeners of ButtonModel.fired.