class org.aswing.ToggleButtonModel extends DefaultButtonModel

The ToggleButton model @author paling

Instance Fields

Show inherited public instance fieldsHide inherited public instance fields

Inherited from DefaultButtonModel

function addActionListener(listener:Dynamic ->Void?priority:Int, ?useWeakReference:Bool):Void
function addSelectionListener(listener:Dynamic ->Void?priority:Int, ?useWeakReference:Bool):Void
function addStateListener(listener:Dynamic ->Void?priority:Int, ?useWeakReference:Bool):Void
function getGroup():ButtonGroup
function isArmed():Bool
function isEnabled():Bool
function isPressed():Bool
function isRollOver():Bool
function isSelected():Bool
function removeActionListener(listener:Dynamic ->Void):Void
function removeSelectionListener(listener:Dynamic ->Void):Void
function removeStateListener(listener:Dynamic ->Void):Void
function setArmed(b:Bool):Void
function setEnabled(b:Bool):Void
function setGroup(group:ButtonGroup):Void
function setPressed(b:Bool):Void
function setRollOver(b:Bool):Void
function setSelected(b:Bool):Void

Inherited from EventDispatcher

function addEventListener(type:String, listener:Dynamic ->Void?useCapture:Bool, ?priority:Int, ?useWeakReference:Bool):Void
function dispatchEvent(event:Event):Bool
function hasEventListener(type:String):Bool
function removeEventListener(type:String, listener:Dynamic ->Void?useCapture:Bool):Void
function toString():String
function willTrigger(type:String):Bool

function new(): Void

function setPressed(b:Bool): Void

Sets the button to released or unreleased.

function setSelected(b:Bool): Void

Sets the selected state of the button.

b

true selects the toggle button, false deselects the toggle button.