|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.station.screen.ScreenToolbarInserter
public class ScreenToolbarInserter
This Inserter
searches for toolbars using the ToolbarStrategy
, and adds them to ScreenDockStation
s, creating any additional layers
that are required for the operation.
Constructor Summary | |
---|---|
ScreenToolbarInserter(bibliothek.gui.DockController controller)
Creates a new inserter |
Method Summary | |
---|---|
bibliothek.gui.dock.station.StationDropOperation |
after(bibliothek.gui.dock.control.relocator.InserterSource source)
|
bibliothek.gui.dock.station.StationDropOperation |
before(bibliothek.gui.dock.control.relocator.InserterSource source)
|
protected void |
execute(bibliothek.gui.dock.control.relocator.InserterSource source,
Orientation orientation)
Called if the toolbar item defined by source has to be put
onto the ScreenDockStation defined by source . |
protected ToolbarStrategy |
getStrategy()
Gets the ToolbarStrategy that is currently in use. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScreenToolbarInserter(bibliothek.gui.DockController controller)
controller
- the controller in whose realm this inserter will be usedMethod Detail |
---|
public bibliothek.gui.dock.station.StationDropOperation before(bibliothek.gui.dock.control.relocator.InserterSource source)
before
in interface bibliothek.gui.dock.control.relocator.Inserter
protected ToolbarStrategy getStrategy()
ToolbarStrategy
that is currently in use.
public bibliothek.gui.dock.station.StationDropOperation after(bibliothek.gui.dock.control.relocator.InserterSource source)
after
in interface bibliothek.gui.dock.control.relocator.Inserter
protected void execute(bibliothek.gui.dock.control.relocator.InserterSource source, Orientation orientation)
source
has to be put
onto the ScreenDockStation
defined by source
.
source
- all the information about the operationorientation
- the preferred orientation of the new window, might be
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |