com.mindfusion.diagramming
Class NodeListEvent

java.lang.Object
  extended by com.mindfusion.diagramming.NodeListEvent

public class NodeListEvent
extends java.lang.Object


Constructor Summary
NodeListEvent(DiagramNode node)
          Initializes a new instance of the DiagramNodeEventArgs class.
NodeListEvent(DiagramNode node, int index)
          Initializes a new instance of the DiagramNodeEventArgs class.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeListEvent

public NodeListEvent(DiagramNode node,
                     int index)
Initializes a new instance of the DiagramNodeEventArgs class.

Parameters:
node - The node related to the event.
index - The zero-based index of the node within its containing collection.

NodeListEvent

public NodeListEvent(DiagramNode node)
Initializes a new instance of the DiagramNodeEventArgs class.

Parameters:
node - The node related to the event.
Method Detail

getNode

public DiagramNode getNode()
Gets the node related to the event.


getIndex

public int getIndex()
Gets the index of the node within its containing collection.


setIndex

public void setIndex(int value)
Sets the index of the node within its containing collection.