bibliothek.gui.dock.station.stack.action
Interface DockActionDistributor

All Known Implementing Classes:
CDefaultDockActionDistributor, DefaultDockActionDistributor

public interface DockActionDistributor

Used by some DockThemes, this interface tells how to distribute the DockActions between tabs, titles and info components.

Author:
Benjamin Sigg

Nested Class Summary
static class DockActionDistributor.Target
          Represents one place where a DockActionSource can be used.
 
Method Summary
 DockActionSource createSource(Dockable dockable, DockActionDistributor.Target target)
          Creates a selection of the DockActions that are to be shown on a target.
 

Method Detail

createSource

DockActionSource createSource(Dockable dockable,
                              DockActionDistributor.Target target)
Creates a selection of the DockActions that are to be shown on a target.

Parameters:
dockable - the source of the actions
target - where the source will be used
Returns:
the actions
Throws:
IllegalArgumentException - if target is unknown to this distributor