Interface TreeLayoutElement
-
public interface TreeLayoutElement
Represents a element in theTreeLayout
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Advancement
advancement()
Gets theAdvancement
.Vector2d
position()
Gets the position of theAdvancement
.void
setPosition(double x, double y)
Sets the position of theAdvancement
.default void
setPosition(Vector2d position)
Sets the position of theAdvancement
.
-
-
-
Method Detail
-
advancement
Advancement advancement()
Gets theAdvancement
.- Returns:
- The advancement
-
position
Vector2d position()
Gets the position of theAdvancement
.- Returns:
- The position
-
setPosition
default void setPosition(Vector2d position)
Sets the position of theAdvancement
.- Parameters:
position
- The position
-
setPosition
void setPosition(double x, double y)
Sets the position of theAdvancement
.- Parameters:
x
- The x coordinatey
- The y coordinate
-
-