bibliothek.gui.dock.themes.basic.action
Class BasicButtonHandler
java.lang.Object
bibliothek.gui.dock.themes.basic.action.BasicHandler<ButtonDockAction>
bibliothek.gui.dock.themes.basic.action.BasicButtonHandler
- All Implemented Interfaces:
- ViewItem<JComponent>, BasicTitleViewItem<JComponent>, BasicTrigger
public class BasicButtonHandler
- extends BasicHandler<ButtonDockAction>
A handler to connect a ButtonDockAction
with a
BasicButtonModel
.
- Author:
- Benjamin Sigg
Methods inherited from class bibliothek.gui.dock.themes.basic.action.BasicHandler |
bind, createListener, getAction, getDockable, getItem, getModel, setBackground, setForeground, setModel, setOrientation, unbind |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicButtonHandler
public BasicButtonHandler(ButtonDockAction action,
Dockable dockable)
- Creates the new handler.
- Parameters:
action
- the action to observedockable
- the dockable for which the action is shown
triggered
public void triggered()
- Description copied from interface:
BasicTrigger
- Invoked by a
BasicButtonModel
when the button, which is monitored
by the model, is clicked.
- Specified by:
triggered
in interface BasicTrigger
- Specified by:
triggered
in class BasicHandler<ButtonDockAction>