bibliothek.gui.dock.action
Interface MenuDockAction

All Superinterfaces:
DockAction, StandardDockAction
All Known Implementing Classes:
FlapDockDirection, SimpleMenuAction

public interface MenuDockAction
extends StandardDockAction

Represents a menu. If the user triggers this action, a menu with more actions should pop up.

Author:
Benjamin Sigg

Method Summary
 DockActionSource getMenu(Dockable dockable)
          Returns the menu that is represented by this action.
 
Methods inherited from interface bibliothek.gui.dock.action.StandardDockAction
addDockActionListener, getDisabledIcon, getIcon, getText, getTooltipText, isEnabled, removeDockActionListener
 
Methods inherited from interface bibliothek.gui.dock.action.DockAction
bind, createView, trigger, unbind
 

Method Detail

getMenu

DockActionSource getMenu(Dockable dockable)
Returns the menu that is represented by this action.

Parameters:
dockable - the Dockable for which the menu is shown
Returns:
the items of the menu or null