class org.aswing.DefaultButtonModel extends EventDispatcher
Interfaces | |||
![]() | ButtonModel |
|
Sub classes | ||||
![]() | ToggleButtonModel |
|
The default implementation of a Button
component's data model.
Instance Fields
![]() | Show inherited public instance fields | Hide inherited public instance fields
|
function addActionListener(listener:Dynamic ->Void?priority:Int = 0, ?useWeakReference:Bool = false): Void
function addSelectionListener(listener:Dynamic ->Void?priority:Int = 0, ?useWeakReference:Bool = false): Void
function addStateListener(listener:Dynamic ->Void?priority:Int = 0, ?useWeakReference:Bool = false): Void
function getGroup(): ButtonGroup
Returns the group that this button belongs to. Normally used with radio buttons, which are mutually exclusive within their group.
returns | a |