Interface TreeLayoutElement
public interface TreeLayoutElement
Represents a element in the
TreeLayout
.-
Method Summary
Modifier and TypeMethodDescriptionGets theAdvancement
.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 Details
-
advancement
Advancement advancement()Gets theAdvancement
.- Returns:
- The advancement
-
position
Vector2d position()Gets the position of theAdvancement
.- Returns:
- The position
-
setPosition
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
-