|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.station.stack.action.DefaultDockActionDistributor
public class DefaultDockActionDistributor
This implementation of a DockActionDistributor searches for the annotations
TabDockAction, TitleDockAction and InfoDockAction to decide which DockAction should
be shown where.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface bibliothek.gui.dock.station.stack.action.DockActionDistributor |
|---|
DockActionDistributor.Target |
| Constructor Summary | |
|---|---|
DefaultDockActionDistributor()
|
|
| Method Summary | |
|---|---|
protected DockActionSource |
createInfoSource(DockActionSource source)
Creates a new DockActionSource for the DockActionDistributor.Target DockActionDistributor.Target.INFO_COMPONENT. |
DockActionSource |
createSource(Dockable dockable,
DockActionDistributor.Target target)
Creates a selection of the DockActions that are to be shown on a target. |
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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultDockActionDistributor()
| Method Detail |
|---|
public DockActionSource createSource(Dockable dockable,
DockActionDistributor.Target target)
DockActionDistributorDockActions that are to be shown on a target.
createSource in interface DockActionDistributordockable - the source of the actionstarget - where the source will be used
protected DockActionSource createTabSource(DockActionSource source)
DockActionSource for the DockActionDistributor.Target DockActionDistributor.Target.TAB.
source - the basic actions
protected DockActionSource createInfoSource(DockActionSource source)
DockActionSource for the DockActionDistributor.Target DockActionDistributor.Target.INFO_COMPONENT.
source - the basic actions
protected DockActionSource createTitleSource(DockActionSource source)
DockActionSource for the DockActionDistributor.Target DockActionDistributor.Target.TITLE or for
those actions that are not marked with any annotation.
source - the basic actions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||