public AutoLayoutable
| Modifier and Type | Interface and Description |
|---|---|
static class |
AutoLayoutable.DefaultImpls |
| Modifier and Type | Method and Description |
|---|---|
ru.fix.completable.reactor.model.Figure |
getFigure() |
java.util.List<ru.fix.completable.reactor.graph.viewer.gl.AutoLayoutable> |
getGraphChildren() |
int |
getNodeHeight() |
int |
getNodeWidth() |
int |
getNodeX()
x position of the node.
|
int |
getNodeY()
y position of the node.
|
boolean |
isUserDefinedCoordinates()
User could specify graph vertices coordinate in graph configuration source class.
This coordinates is stored in GraphModel.
This Coordinates are logical. They being translated to JavaFx position (layoutX and layoutY property of
javaFx Nodes) during graph visualization.
If user coordinates is defined for particular node, AutoLayout should skip this node and not change
it's coordinates
Otherwise if user coordinate is not defined in graph source, AutoLayout could take place and initialize
coordinates.
|
int |
nodeCenterX() |
int |
nodeCenterY() |
void |
setNodeX(int p)
x position of the node.
|
void |
setNodeY(int p)
y position of the node.
|
java.util.List<ru.fix.completable.reactor.graph.viewer.gl.AutoLayoutable> getGraphChildren()
boolean isUserDefinedCoordinates()
User could specify graph vertices coordinate in graph configuration source class. This coordinates is stored in GraphModel. This Coordinates are logical. They being translated to JavaFx position (layoutX and layoutY property of javaFx Nodes) during graph visualization. If user coordinates is defined for particular node, AutoLayout should skip this node and not change it's coordinates Otherwise if user coordinate is not defined in graph source, AutoLayout could take place and initialize coordinates.
int getNodeX()
x position of the node.
void setNodeX(int p)
x position of the node.
int getNodeY()
y position of the node.
void setNodeY(int p)
y position of the node.
int nodeCenterX()
int nodeCenterY()
int getNodeHeight()
int getNodeWidth()
ru.fix.completable.reactor.model.Figure getFigure()