bibliothek.gui.dock.themes.basic.action
Class BasicMenuHandler
java.lang.Object
bibliothek.gui.dock.themes.basic.action.AbstractBasicHandler<D,BasicButtonModel>
bibliothek.gui.dock.themes.basic.action.BasicHandler<MenuDockAction>
bibliothek.gui.dock.themes.basic.action.BasicMenuHandler
- All Implemented Interfaces:
- ViewItem<JComponent>, BasicResourceInitializer, BasicTitleViewItem<JComponent>, BasicTrigger
public class BasicMenuHandler
- extends BasicHandler<MenuDockAction>
A handler connecting a MenuDockAction
with a BasicButtonModel
.
- Author:
- Benjamin Sigg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicMenuHandler
public BasicMenuHandler(MenuDockAction action,
Dockable dockable)
- Creates a new handler
- Parameters:
action
- the action which is observed by this handlerdockable
- 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<MenuDockAction>