public static interface StickMagnetGraph.Node
| Modifier and Type | Method and Description |
|---|---|
StickMagnetGraphConstraint |
getConstraints()
Gets the constraints telling how this node has to be modified.
|
StickMagnetGraph.Edge[] |
getEdges()
Gets a list of all edges that either start or end at this node.
|
MagnetRequest.Side |
getNeighbor(ScreenDockWindow window)
Tells whether
window is a neighbor of this node and
depends on this node, and if so tells on which side of this node
window lies. |
ScreenDockWindow |
getWindow()
Gest the window which is described by this node.
|
boolean |
isMarked()
Tells whether a flag was set by
mark(). |
void |
mark()
Marks this node with a flag.
|
void |
unmark()
Unmarks this node from the flag that was set by
mark(). |
void |
visit(StickMagnetGraph.Visitor visitor)
Visits this node and all its children.
|
ScreenDockWindow getWindow()
MagnetRequest.Side getNeighbor(ScreenDockWindow window)
window is a neighbor of this node and
depends on this node, and if so tells on which side of this node
window lies.window - a window that might be a neighbor of this nodewindow lies or nullStickMagnetGraph.Edge[] getEdges()
void visit(StickMagnetGraph.Visitor visitor)
visitor - the visitor used to traverse the nodeStickMagnetGraphConstraint getConstraints()
nullvoid mark()
void unmark()
mark().Copyright © 2017 Docking Frames. All rights reserved.