Package | Description |
---|---|
bibliothek.gui |
The high level interfaces of the framework and the most often used classes.
|
bibliothek.gui.dock |
The five basic classes implementing
Dockable and
DockStation plus some supporting elements. |
bibliothek.gui.dock.control.relocator |
Various implementations of
RelocateOperation . |
bibliothek.gui.dock.station |
Elements needed by various implementations of the
DockStation interface. |
bibliothek.gui.dock.station.split |
Elements which are needed by the
SplitDockStation ,
and which are needed to interact with the station. |
Modifier and Type | Method and Description |
---|---|
StationDropOperation |
DockStation.prepareDrop(StationDropItem dockable)
Prepares this station to get the new child
dockable or to move around the known child dockable . |
Modifier and Type | Class and Description |
---|---|
protected class |
FlapDockStation.FlapDropOperation
Custom implementation of
StationDropOperation . |
protected class |
StackDockStation.StackDropOperation
Custom implementation of
StationDropOperation . |
Modifier and Type | Method and Description |
---|---|
StationDropOperation |
ScreenDockStation.prepare(StationDropItem item,
boolean drop) |
StationDropOperation |
FlapDockStation.prepareDrop(StationDropItem item) |
StationDropOperation |
ScreenDockStation.prepareDrop(StationDropItem item) |
StationDropOperation |
SplitDockStation.prepareDrop(StationDropItem item) |
StationDropOperation |
StackDockStation.prepareDrop(StationDropItem item) |
StationDropOperation |
StackDockStation.prepareMove(StationDropItem item) |
Modifier and Type | Method and Description |
---|---|
void |
FlapDockStation.FlapDropOperation.destroy(StationDropOperation next) |
void |
StackDockStation.StackDropOperation.destroy(StationDropOperation next) |
Modifier and Type | Method and Description |
---|---|
StationDropOperation |
Inserter.after(InserterSource source)
This method is called after
DockStation.prepareDrop(bibliothek.gui.dock.station.StationDropItem) was executed, the
method is called in any case independent of whether prepareDrop returned a StationDropOperation
or not. |
StationDropOperation |
MultiInserter.after(InserterSource source) |
StationDropOperation |
Inserter.before(InserterSource source)
This method is called if
DockStationDropLayer.contains(int, int) confirmed that a point belongs
to the layer, but before DockStation.prepareDrop(bibliothek.gui.dock.station.StationDropItem) was invoked. |
StationDropOperation |
MultiInserter.before(InserterSource source) |
StationDropOperation |
DefaultInserterSource.getOperation() |
StationDropOperation |
DropOperation.getOperation() |
StationDropOperation |
InserterSource.getOperation()
Gets the
StationDropOperation that was created by DockStation.prepareDrop(StationDropItem) ,
this might be null if the station was not yet asked or if the station does not
accept the new child. |
StationDropOperation |
MergeOperation.getOperation() |
StationDropOperation |
RelocateOperation.getOperation()
Gets the operation that would be executed by the
dock station . |
Modifier and Type | Method and Description |
---|---|
protected boolean |
DefaultDockRelocator.canMerge(StationDropOperation operation,
DockStation parent,
Dockable selection)
|
boolean |
Merger.canMerge(StationDropOperation operation,
DockStation parent,
DockStation child)
Checks whether
Merger.merge(StationDropOperation, DockStation, DockStation) will succeed or not. |
boolean |
MultiMerger.canMerge(StationDropOperation operation,
DockStation parent,
DockStation child) |
boolean |
StackMerger.canMerge(StationDropOperation operation,
DockStation parent,
DockStation child) |
boolean |
TabMerger.canMerge(StationDropOperation operation,
DockStation parent,
DockStation child) |
void |
Merger.merge(StationDropOperation operation,
DockStation parent,
DockStation child)
Moves all children of
child to parent , leaving child
empty. |
void |
MultiMerger.merge(StationDropOperation operation,
DockStation parent,
DockStation child) |
void |
StackMerger.merge(StationDropOperation operation,
DockStation parent,
DockStation child) |
void |
TabMerger.merge(StationDropOperation operation,
DockStation parent,
DockStation child) |
void |
DefaultInserterSource.setOperation(StationDropOperation operation)
Sets the result of
DefaultInserterSource.getOperation() . |
Constructor and Description |
---|
DropOperation(DockController controller,
DockStation station,
StationDropOperation operation,
StationDropItem item)
Creates a new operation
|
MergeOperation(DockController controller,
Merger merger,
DockStation station,
StationDropOperation operation,
StationDropItem item)
Creates a new operation.
|
Modifier and Type | Class and Description |
---|---|
class |
NoStationDropOperation
This
StationDropOperation represent the no-op, and will not do anything. |
Modifier and Type | Method and Description |
---|---|
void |
NoStationDropOperation.destroy(StationDropOperation next) |
void |
StationDropOperation.destroy(StationDropOperation next)
Informs this operation that it is no longer used and that it should release any resources
it has acquired.
|
Modifier and Type | Class and Description |
---|---|
class |
SplitDropOperation
Implementation of
StationDropOperation . |
Modifier and Type | Method and Description |
---|---|
void |
SplitDropOperation.destroy(StationDropOperation next) |