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, unbindaddBorder, ensureBorder, getAction, getDockable, getModel, isBound, setModelclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAction, getDockablepublic BasicButtonHandler(ButtonDockAction action, Dockable dockable)
action - the action to observedockable - the dockable for which the action is shownpublic void triggered()
BasicTriggerBasicButtonModel when the button, which is monitored
by the model, is clicked.triggered in interface BasicTriggertriggered in class BasicHandler<ButtonDockAction>Copyright © 2017 Docking Frames. All rights reserved.