|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface StickMagnetGraph.Node
Represents one node of the graph.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 node
window
lies or null
StickMagnetGraph.Edge[] getEdges()
void visit(StickMagnetGraph.Visitor visitor)
visitor
- the visitor used to traverse the nodeStickMagnetGraphConstraint getConstraints()
null
void mark()
void unmark()
mark()
.
boolean isMarked()
mark()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |