The ToggleButton model
public function setSelected(b:Boolean):Void
Sets the selected state of the button.
b | true selects the toggle button, false deselects the toggle button. |
setSelected() in org.aswing.ButtonModel
public function setReleased(b:Boolean):Void
Sets the button to released or unreleased.
setReleased() in org.aswing.ButtonModel