public class BasicButtonHandler extends BasicHandler<ButtonDockAction>
ButtonDockAction
with a
BasicButtonModel
.BasicHandler.Listener
Constructor and Description |
---|
BasicButtonHandler(ButtonDockAction action,
Dockable dockable)
Creates the 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, createListener, getItem, setBackground, setForeground, setOrientation, unbind
addBorder, ensureBorder, getAction, getDockable, getModel, isBound, setModel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAction, getDockable
public BasicButtonHandler(ButtonDockAction action, Dockable dockable)
action
- the action to observedockable
- 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<ButtonDockAction>