public static class BasicSelectableHandler.Radio extends BasicSelectableHandler
SelectableDockAction
of
type ActionType.RADIO
with a BasicButtonModel
BasicSelectableHandler.Check, BasicSelectableHandler.Radio
Constructor and Description |
---|
BasicSelectableHandler.Radio(SelectableDockAction action,
Dockable dockable)
Creates a new handler
|
Modifier and Type | Method and Description |
---|---|
void |
triggered()
Invoked by a
BasicButtonModel when the button, which is monitored
by the model, is clicked. |
bind, unbind
createListener, getItem, setBackground, setForeground, setOrientation
addBorder, ensureBorder, getAction, getDockable, getModel, isBound, setModel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAction, getDockable
public BasicSelectableHandler.Radio(SelectableDockAction action, Dockable dockable)
action
- the action which is observed by this handlerdockable
- the dockable for which the action is shownpublic void triggered()
BasicTrigger
BasicButtonModel
when the button, which is monitored
by the model, is clicked.triggered
in interface BasicTrigger
triggered
in class BasicHandler<SelectableDockAction>