| Package | Description |
|---|---|
| bibliothek.gui.dock.station.screen.magnet |
The magnet API allows
ScreenDockWindows to
attract each other, or to stick together. |
| Modifier and Type | Method and Description |
|---|---|
StickMagnetGraph.DefaultNode |
StickMagnetGraph.DefaultEdge.getSource() |
StickMagnetGraph.DefaultNode |
StickMagnetGraph.DefaultEdge.getTarget() |
| Modifier and Type | Method and Description |
|---|---|
void |
StickMagnetGraph.DefaultNode.add(MagnetRequest.Side side,
StickMagnetGraph.DefaultNode depending)
Creates a new edge between
this and depending. |
boolean |
StickMagnetGraph.DefaultNode.contains(StickMagnetGraph.DefaultNode node)
Checks whether there is an edge from
this node to node. |
protected void |
StickMagnetGraph.expand(int index,
StickMagnetGraph.DefaultNode[] nodes,
ScreenDockWindow[] windows)
Builds the entire stickiness graph using a breath first search algorithm.
|
| Constructor and Description |
|---|
DefaultEdge(StickMagnetGraph.DefaultNode source,
StickMagnetGraph.DefaultNode target,
MagnetRequest.Side side) |
Copyright © 2017 Docking Frames. All rights reserved.