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

java.lang.Object
  extended by bibliothek.gui.dock.action.actions.SeparatorAction
      extended by bibliothek.gui.dock.common.action.core.CommonSeparatorAction
All Implemented Interfaces:
DockAction, CommonDockAction

public class CommonSeparatorAction
extends SeparatorAction
implements CommonDockAction

A SeparatorAction implementing the CommonDockAction interface.

Author:
Benjamin Sigg

Field Summary
 
Fields inherited from class bibliothek.gui.dock.action.actions.SeparatorAction
MENU_SEPARATOR, SEPARATOR, TITLE_SEPARATOR
 
Fields inherited from interface bibliothek.gui.dock.action.DockAction
BUTTON_CONTENT_FILTER
 
Constructor Summary
CommonSeparatorAction(CAction action, ViewTarget<?>... targets)
          Creates a new action.
 
Method Summary
 CAction getAction()
          Gets the CAction which wrapps this DockAction.
 
Methods inherited from class bibliothek.gui.dock.action.actions.SeparatorAction
bind, createView, shouldDisplay, trigger, 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.DockAction
bind, createView, trigger, unbind
 

Constructor Detail

CommonSeparatorAction

public CommonSeparatorAction(CAction action,
                             ViewTarget<?>... targets)
Creates a new action.

Parameters:
action - the action wrapping around this SeparatorAction
targets - where to show this separator
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