public interface NodeDraft extends ElementDraft
Processors decide if this node will finally be
appended to the graph or not.ContainerLoaderElementDraft.Factory| Modifier and Type | Method and Description |
|---|---|
float |
getSize()
Returns this node's size.
|
float |
getX()
Returns this node's X position.
|
float |
getY()
Returns this node's Y position.
|
float |
getZ()
Returns this node's Z position.
|
boolean |
isCreatedAuto()
Returns true if this node has been automatically created.
|
boolean |
isFixed()
Returns whether this node's position is fixed.
|
void |
setFixed(boolean fixed)
Sets whether this node's position is fixed.
|
void |
setSize(float size)
Sets this node's size.
|
void |
setX(float x)
Sets this node's X position.
|
void |
setY(float y)
Sets this node's Y position.
|
void |
setZ(float z)
Sets this node's Z position.
|
addInterval, addInterval, addIntervals, addTimestamp, addTimestamp, addTimestamps, getColor, getColumns, getGraphInterval, getGraphTimestamp, getId, getLabel, getLabelColor, getLabelSize, getTimeSet, getValue, isLabelVisible, parseAndSetValue, parseAndSetValue, parseAndSetValue, parseAndSetValue, parseAndSetValue, setColor, setColor, setColor, setColor, setColor, setLabel, setLabelColor, setLabelColor, setLabelColor, setLabelColor, setLabelColor, setLabelSize, setLabelVisible, setValue, setValue, setValue, setValue, setValuefloat getX()
float getY()
float getZ()
float getSize()
boolean isFixed()
Default is false.
void setX(float x)
x - x positionvoid setY(float y)
y - y positionvoid setZ(float z)
z - z positionvoid setSize(float size)
size - sizevoid setFixed(boolean fixed)
This flag is used during layout to settle some specific nodes. If set at true, the layout algorithms won't modify the node's position.
fixed - true if fixed, false otherwiseboolean isCreatedAuto()
Copyright © 2007–2017. All rights reserved.