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
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 actionstarget - where the source will be used
- Returns:
- the actions
- Throws:
IllegalArgumentException - if target is unknown to this distributor