public class NodeListEvent
extends java.lang.Object
| Constructor and Description |
|---|
NodeListEvent(DiagramNode node)
Initializes a new instance of the NodeListEvent class.
|
NodeListEvent(DiagramNode node,
int index)
Initializes a new instance of the NodeListEvent class.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex()
Gets the index of the node within its containing collection.
|
DiagramNode |
getNode()
Gets the node related to the event.
|
void |
setIndex(int value)
Sets the index of the node within its containing collection.
|
public NodeListEvent(DiagramNode node, int index)
node - The node related to the event.index - The zero-based index of the node within its containing collection.public NodeListEvent(DiagramNode node)
node - The node related to the event.public DiagramNode getNode()
public int getIndex()
public void setIndex(int value)