bibliothek.gui.dock.common.action.util
Class CDefaultDockActionDistributor

java.lang.Object
  extended by bibliothek.gui.dock.station.stack.action.DefaultDockActionDistributor
      extended by bibliothek.gui.dock.common.action.util.CDefaultDockActionDistributor
All Implemented Interfaces:
DockActionDistributor

public class CDefaultDockActionDistributor
extends DefaultDockActionDistributor

This class decides which DockAction is shown at which place, places are DockTitles, tabs and info-components placed alongside tabs.

Author:
Benjamin Sigg

Nested Class Summary
 
Nested classes/interfaces inherited from interface bibliothek.gui.dock.station.stack.action.DockActionDistributor
DockActionDistributor.Target
 
Constructor Summary
CDefaultDockActionDistributor()
           
 
Method Summary
protected  DockActionSource createInfoSource(DockActionSource source)
          Creates a new DockActionSource for the DockActionDistributor.Target DockActionDistributor.Target.INFO_COMPONENT.
protected  DockActionSource createTabSource(DockActionSource source)
          Creates a new DockActionSource for the DockActionDistributor.Target DockActionDistributor.Target.TAB.
protected  DockActionSource createTitleSource(DockActionSource source)
          Creates a new DockActionSource for the DockActionDistributor.Target DockActionDistributor.Target.TITLE or for those actions that are not marked with any annotation.
 
Methods inherited from class bibliothek.gui.dock.station.stack.action.DefaultDockActionDistributor
createSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDefaultDockActionDistributor

public CDefaultDockActionDistributor()
Method Detail

createTabSource

protected DockActionSource createTabSource(DockActionSource source)
Description copied from class: DefaultDockActionDistributor
Creates a new DockActionSource for the DockActionDistributor.Target DockActionDistributor.Target.TAB.

Overrides:
createTabSource in class DefaultDockActionDistributor
Parameters:
source - the basic actions
Returns:
the filtered actions

createInfoSource

protected DockActionSource createInfoSource(DockActionSource source)
Description copied from class: DefaultDockActionDistributor
Creates a new DockActionSource for the DockActionDistributor.Target DockActionDistributor.Target.INFO_COMPONENT.

Overrides:
createInfoSource in class DefaultDockActionDistributor
Parameters:
source - the basic actions
Returns:
the filtered actions

createTitleSource

protected DockActionSource createTitleSource(DockActionSource source)
Description copied from class: DefaultDockActionDistributor
Creates a new DockActionSource for the DockActionDistributor.Target DockActionDistributor.Target.TITLE or for those actions that are not marked with any annotation.

Overrides:
createTitleSource in class DefaultDockActionDistributor
Parameters:
source - the basic actions
Returns:
the filtered actions