public static class SplitDockPathProperty.Node extends Object
Constructor and Description |
---|
Node(SplitDockPathProperty.Location location,
double size,
long id)
Creates a new turn.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getId()
Gets the unique id of the
SplitNode that is represented
by this node. |
SplitDockPathProperty.Location |
getLocation()
Gets the direction into which the path goes
|
double |
getSize()
Gets the amount of space the path gets in this turn
|
int |
hashCode() |
String |
toString() |
public Node(SplitDockPathProperty.Location location, double size, long id)
location
- the direction into which the path goessize
- the amount of space the path gets in this turnid
- the unique id of this node or -1public double getSize()
public SplitDockPathProperty.Location getLocation()
public long getId()
SplitNode
that is represented
by this node.