The ToggleButton model
public function setSelected(b:Boolean):VoidSets 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):VoidSets the button to released or unreleased.
setReleased() in org.aswing.ButtonModel