bibliothek.gui.dock.common.action.core
Class CommonSimpleMenuAction

java.lang.Object
  extended by bibliothek.gui.dock.action.actions.AbstractStandardDockAction
      extended by bibliothek.gui.dock.action.actions.SimpleDockAction
          extended by bibliothek.gui.dock.action.actions.SimpleMenuAction
              extended by bibliothek.gui.dock.common.action.core.CommonSimpleMenuAction
All Implemented Interfaces:
SharingStandardDockAction, DockAction, MenuDockAction, StandardDockAction, CommonDecoratableDockAction, CommonDockAction

public class CommonSimpleMenuAction
extends SimpleMenuAction
implements CommonDecoratableDockAction

A SimpleMenuAction implementing CommonDockAction.

Author:
Benjamin Sigg

Field Summary
 
Fields inherited from class bibliothek.gui.dock.action.actions.AbstractStandardDockAction
listeners
 
Constructor Summary
CommonSimpleMenuAction(CAction action, DockActionSource menu)
          Creates a new action.
 
Method Summary
 CAction getAction()
          Gets the CAction which wrapps this DockAction.
 
Methods inherited from class bibliothek.gui.dock.action.actions.SimpleMenuAction
createView, getMenu, getMenu, setMenu, trigger
 
Methods inherited from class bibliothek.gui.dock.action.actions.SimpleDockAction
bound, getAccelerator, getDisabledIcon, getDockableRepresentation, getDockableRepresentation, getIcon, getIcon, getIcon, getIconContexts, getText, getText, getTooltip, getTooltipText, getTooltipText, isEnabled, isEnabled, setAccelerator, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltip, trigger, unbound
 
Methods inherited from class bibliothek.gui.dock.action.actions.AbstractStandardDockAction
addDockActionListener, bind, fireActionEnabledChanged, fireActionIconChanged, fireActionRepresentativeChanged, fireActionTextChanged, fireActionTooltipTextChanged, getBoundDockables, isBound, removeDockActionListener, unbind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface bibliothek.gui.dock.action.actions.SharingStandardDockAction
getAccelerator, getDisabledIcon, getDockableRepresentation, getIcon, getIcon, getText, getTooltip, getTooltipText, isEnabled, setAccelerator, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltip
 
Methods inherited from interface bibliothek.gui.dock.action.StandardDockAction
addDockActionListener, getDockableRepresentation, getIcon, getIconContexts, getText, getTooltipText, isEnabled, removeDockActionListener
 

Constructor Detail

CommonSimpleMenuAction

public CommonSimpleMenuAction(CAction action,
                              DockActionSource menu)
Creates a new action.

Parameters:
action - the CAction wrapping around this DockAction
menu - the content of this menu
Method Detail

getAction

public CAction getAction()
Description copied from interface: CommonDockAction
Gets the CAction which wrapps this DockAction.

Specified by:
getAction in interface CommonDockAction
Returns:
the wrapping action, not null