public interface NodeProperties extends ElementProperties
| Modifier and Type | Method and Description |
|---|---|
<T extends LayoutData> |
getLayoutData()
Returns the layout-specific data, if any.
|
boolean |
isFixed()
Returns true of this node is fixed (can't be moved).
|
void |
setFixed(boolean fixed)
Sets whether to fix this node (can't move its position)
|
void |
setLayoutData(LayoutData layoutData)
Sets the layout data.
|
void |
setPosition(float x,
float y)
Sets the x and y position.
|
void |
setPosition(float x,
float y,
float z)
Sets the x, y and z position.
|
void |
setSize(float size)
Sets the size.
|
void |
setX(float x)
Sets the x position.
|
void |
setY(float y)
Sets the y position.
|
void |
setZ(float z)
Sets the z position.
|
float |
size()
Returns the size.
|
float |
x()
Returns the x position.
|
float |
y()
Returns the y position.
|
float |
z()
Returns the z position.
|
float x()
float y()
float z()
float size()
boolean isFixed()
<T extends LayoutData> T getLayoutData()
T - the class that implements the LayoutData.void setX(float x)
x - the x positionvoid setY(float y)
y - the y positionvoid setZ(float z)
z - the z positionvoid setSize(float size)
size - the sizevoid setPosition(float x,
float y)
x - the x positiony - the y positionvoid setPosition(float x,
float y,
float z)
x - the x positiony - the y positionz - the z positionvoid setFixed(boolean fixed)
fixed - true to fix the node, false to unfixvoid setLayoutData(LayoutData layoutData)
layoutData - the layout dataCopyright © 2013–2015. All rights reserved.