com.mindfusion.diagramming
Class RowEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.mindfusion.diagramming.RowEvent
All Implemented Interfaces:
java.io.Serializable

public class RowEvent
extends java.util.EventObject

Contains the arguments passed to handlers of table row-related events.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RowEvent(java.lang.Object source, TableNode table, int rowIndex)
          Contains the arguments passed to handlers of table row-related events.
 
Method Summary
 int getRowIndex()
          Gets the index of the table row for which the event has been raised.
 TableNode getTable()
          Get the table for which the event has been raised.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RowEvent

public RowEvent(java.lang.Object source,
                TableNode table,
                int rowIndex)
Contains the arguments passed to handlers of table row-related events.

Parameters:
source - The source of the event.
table - The TableNode containing the event data.
rowIndex - The index of the row containing the event data.
Method Detail

getRowIndex

public int getRowIndex()
Gets the index of the table row for which the event has been raised.

Returns:
An integer value specifying the row's index.

getTable

public TableNode getTable()
Get the table for which the event has been raised.

Returns:
An instance of the TableNode class