public class NodeDraftImpl extends ElementDraftImpl implements NodeDraft
ElementDraft.Factory| Constructor and Description |
|---|
NodeDraftImpl(ImportContainerImpl container,
String id) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<ColumnDraft> |
getColumns() |
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 |
setCreatedAuto(boolean createdAuto) |
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.
|
String |
toString() |
addInterval, addInterval, addIntervals, addTimestamp, addTimestamp, addTimestamps, getColor, getGraphInterval, getGraphTimestamp, getId, getLabel, getLabelColor, getLabelSize, getTimeSet, getValue, hasDynamicAttributes, isDynamic, isLabelVisible, parseAndSetValue, parseAndSetValue, parseAndSetValue, parseAndSetValue, parseAndSetValue, setColor, setColor, setColor, setColor, setColor, setLabel, setLabelColor, setLabelColor, setLabelColor, setLabelColor, setLabelColor, setLabelSize, setLabelVisible, setValue, setValue, setValue, setValue, setValueequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaddInterval, addInterval, addIntervals, addTimestamp, addTimestamp, addTimestamps, getColor, 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, setValuepublic NodeDraftImpl(ImportContainerImpl container, String id)
public void setCreatedAuto(boolean createdAuto)
public void setSize(float size)
NodeDraftpublic void setX(float x)
NodeDraftpublic void setY(float y)
NodeDraftpublic void setZ(float z)
NodeDraftpublic void setFixed(boolean fixed)
NodeDraftThis flag is used during layout to settle some specific nodes. If set at true, the layout algorithms won't modify the node's position.
public float getSize()
NodeDraftpublic float getX()
NodeDraftpublic float getY()
NodeDraftpublic float getZ()
NodeDraftpublic boolean isFixed()
NodeDraftDefault is false.
public boolean isCreatedAuto()
NodeDraftisCreatedAuto in interface NodeDraftpublic Iterable<ColumnDraft> getColumns()
getColumns in interface ElementDraftCopyright © 2007–2017. All rights reserved.