public class StateVisNode extends StateVisElement
StateVisTransition,
StateVisElement,
Serialized Formid| Constructor and Description |
|---|
StateVisNode()
Default constructor with a default position of (Point2D.Double(50.0, 50.0)).
|
StateVisNode(java.lang.String id,
java.awt.geom.Point2D position)
Instantiates a new graph node.
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.geom.Point2D |
getPosition()
Returns the position.
|
void |
setPosition(java.awt.geom.Point2D point2d)
Sets the position of this GraphNode.
|
getId, setIdpublic StateVisNode()
public StateVisNode(java.lang.String id,
java.awt.geom.Point2D position)
id - the ID of this GraphNodeposition - the position of the GraphNode