public class Node extends Vertex implements INode
Place or Transition.| Constructor and Description |
|---|
Node()
Empty constructor.
|
Node(String name)
Constructor with name of this node as the only parameter.
|
Node(String name,
String label)
Constructor with name and label as parameters.
|
Node(String name,
String label,
String desc)
Constructor with name, label and description as parameters.
|
| Modifier and Type | Method and Description |
|---|---|
INode |
clone()
Clone this Petri net node.
|
String |
getLabel()
Get label of this node.
|
void |
setLabel(String label)
Set label of this node.
|
getHeight, getWidth, getX, getY, setHeight, setLayout, setLocation, setSize, setWidth, setX, setYcompareTo, equals, getDescription, getId, getName, getTag, hashCode, setDescription, setId, setName, setTag, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetHeight, getWidth, getX, getY, setHeight, setLayout, setLocation, setSize, setWidth, setX, setYgetDescription, getId, getName, getTag, setDescription, setId, setName, setTagcompareTopublic Node()
public Node(String name)
name - Name of this node.public Node(String name, String label)
name - Name of this node.label - Label of this node.Copyright © 2017. All rights reserved.