Package | Description |
---|---|
bibliothek.gui.dock |
The five basic classes implementing
Dockable and
DockStation plus some supporting elements. |
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 |
---|---|
PutInfo |
SplitDockStation.getDropInfo()
Gets the location where the currently dragged
Dockable would be dropped. |
PutInfo |
SplitDockStation.Access.validatePutInfo(PutInfo putInfo) |
Modifier and Type | Method and Description |
---|---|
void |
SplitDockStation.Access.drop(DockHierarchyLock.Token token,
PutInfo putInfo,
StationDropItem item) |
void |
SplitDockStation.Access.move(PutInfo putInfo,
StationDropItem item) |
protected void |
SplitDockStation.setDropInfo(PutInfo putInfo)
Sets the current information telling where and how an item is to be dropped.
|
void |
SplitDockStation.Access.setDropInfo(PutInfo putInfo) |
protected void |
SplitDockStation.setPut(PutInfo putInfo)
Forward call to
SplitSpanStrategy.setPut(PutInfo) . |
PutInfo |
SplitDockStation.Access.validatePutInfo(PutInfo putInfo) |
Modifier and Type | Method and Description |
---|---|
protected PutInfo |
DefaultSplitLayoutManager.calculateSideSnap(SplitDockStation station,
int x,
int y,
Leaf leaf,
Dockable drop)
Calculates where to add a
Dockable if the mouse is outside
this station. |
protected PutInfo |
Leaf.createSidePut(java.awt.Rectangle bounds,
int x,
int y,
Dockable drop,
boolean centered)
Assuming the mouse at
x/y is within bounds , this method calculates which one
of the non-combining PutInfo.Put s describe the situation best. |
PutInfo |
Root.getPut(int x,
int y,
Dockable drop)
|
PutInfo |
Leaf.getPut(int x,
int y,
double factorW,
double factorH,
Dockable drop) |
PutInfo |
Node.getPut(int x,
int y,
double factorW,
double factorH,
Dockable drop) |
PutInfo |
Placeholder.getPut(int x,
int y,
double factorW,
double factorH,
Dockable drop) |
PutInfo |
Root.getPut(int x,
int y,
double factorW,
double factorH,
Dockable drop) |
abstract PutInfo |
SplitNode.getPut(int x,
int y,
double factorW,
double factorH,
Dockable drop)
Determines where to drop the
Dockable drop
if the mouse is at location x/y. |
PutInfo |
DefaultSplitLayoutManager.prepareDrop(SplitDockStation station,
StationDropItem item) |
PutInfo |
SplitLayoutManager.prepareDrop(SplitDockStation station,
StationDropItem dockable)
Call forwarded from
DockStation.prepareDrop . |
PutInfo |
DefaultSplitLayoutManager.prepareMove(SplitDockStation station,
StationDropItem item) |
PutInfo |
SplitLayoutManager.prepareMove(SplitDockStation station,
StationDropItem dockable)
Call forwarded from
DockStation.prepareDrop if
the operation is a move operation (if the dockable is already a child of this station). |
PutInfo |
SplitDockAccess.validatePutInfo(PutInfo info)
Checks whether
info is valid or not. |
PutInfo |
DefaultSplitLayoutManager.validatePutInfo(SplitDockStation station,
PutInfo putInfo) |
PutInfo |
SplitLayoutManager.validatePutInfo(SplitDockStation station,
PutInfo info)
Checks whether
info is valid or not. |
Modifier and Type | Method and Description |
---|---|
void |
DefaultSplitLayoutManager.calculateDivider(SplitDockStation station,
PutInfo putInfo,
Leaf origin,
StationDropItem item) |
void |
SplitLayoutManager.calculateDivider(SplitDockStation station,
PutInfo putInfo,
Leaf origin,
StationDropItem item)
|
void |
SplitDockAccess.drop(DockHierarchyLock.Token token,
PutInfo putInfo,
StationDropItem item)
Adds the
Dockable given by putInfo to this station. |
Span[] |
SplitSpanStrategy.getSpans(PutInfo put)
Gets the
Span s that are used when put is active. |
void |
SplitDockAccess.move(PutInfo putInfo,
StationDropItem item)
Moves the
dockable described by putInfo at a new location |
void |
SplitDockAccess.setDropInfo(PutInfo putInfo)
Sets the current information telling where and how an item is to be dropped.
|
void |
SplitSpanStrategy.setPut(PutInfo info)
Mutates the
Span s such that info shows up. |
PutInfo |
SplitDockAccess.validatePutInfo(PutInfo info)
Checks whether
info is valid or not. |
PutInfo |
DefaultSplitLayoutManager.validatePutInfo(SplitDockStation station,
PutInfo putInfo) |
PutInfo |
SplitLayoutManager.validatePutInfo(SplitDockStation station,
PutInfo info)
Checks whether
info is valid or not. |
Constructor and Description |
---|
SplitDockCombinerSource(PutInfo info,
SplitDockStation station,
java.awt.Point mouseOnStation)
Creates a new object
|
SplitDropOperation(SplitDockAccess access,
PutInfo putInfo,
StationDropItem item,
boolean move)
Creates a new operation.
|