bibliothek.gui.dock.common.action.util
Class CDefaultDockActionDistributor
java.lang.Object
bibliothek.gui.dock.station.stack.action.DefaultDockActionDistributor
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
DockTitle
s, tabs and info-components placed alongside tabs.
- Author:
- Benjamin Sigg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CDefaultDockActionDistributor
public CDefaultDockActionDistributor()
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