Echo
ToggleButton
Class Hierarchy:
Direct Known Subclasses:
Echo.CheckBox, Echo.RadioButton

An abstract base class for on/off toggle button components.

Methods inherited from class Echo.AbstractButton
doAction

Methods inherited from class Echo.Component
getFocusComponent, add, addListener, fireEvent, get, getComponent, getComponentCount, getIndex, getLayoutDirection, getLocale, getLocalStyleData, getRenderLayoutDirection, getRenderLocale, getStyle, getStyleName, indexOf, isActive, isAncestorOf, isEnabled, isRenderEnabled, register, render, renderIndex, remove, removeAll, removeListener, set, setEnabled, setIndex, setLayoutDirection, setLocale, setStyle, setStyleName, toString

Style Properties
disabledStateIcon ImageReference (String or Object) the disabled state icon to display when the toggle state is deselected
disabledSelectedStateIcon ImageReference (String or Object) the disabled state icon to display when thetoggle state is selected
pressedStateIcon ImageReference (String or Object) the pressed state icon to display when the toggle state is deselected
pressedSelectedStateIcon ImageReference (String or Object) the pressed state icon to display when the toggle state is selected
rolloverStateIcon ImageReference (String or Object) the rollover state icon to display when the toggle state is deselected
rolloverSelectedStateIcon ImageReference (String or Object) the rollover state icon to display when the toggle state is selected
selectedStateIcon ImageReference (String or Object) the default state icon to display when the toggle state is deselected
stateAlignment Alignment (String or Object) the alignment of the state icon relative to the button's icon/text
statePosition Alignment (String or Object) the position (an alignment value) of the state icon relative to the button's icon/text
stateIcon ImageReference (String or Object) the default state icon to display when the toggle state is selected
stateMargin Number the margin between the state icon and the button's icon/text