NextApp Echo3 Extras
v3.0.b4

nextapp.echo.extras.app.event
Class TreeColumnModelEvent

java.lang.Object
  extended by java.util.EventObject
      extended by nextapp.echo.extras.app.event.TreeColumnModelEvent
All Implemented Interfaces:
java.io.Serializable

public class TreeColumnModelEvent
extends java.util.EventObject

An event which describes an update to a TreeColumnModel

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TreeColumnModelEvent(TreeColumnModel source, int fromIndex, int toIndex)
          Creates a new TreeColumnModelEvent.
 
Method Summary
 int getFromIndex()
          Returns the index from which the column was moved or removed.
 int getToIndex()
          Returns the index to which the column was moved or added.
 
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

TreeColumnModelEvent

public TreeColumnModelEvent(TreeColumnModel source,
                            int fromIndex,
                            int toIndex)
Creates a new TreeColumnModelEvent.

Parameters:
source - the updated TableColumnModel.
fromIndex - the index from which the column was moved or removed (relevant to remove and move operations)
toIndex - the index to which the column was moved or added (relevant to move and add operations)
Method Detail

getFromIndex

public int getFromIndex()
Returns the index from which the column was moved or removed. This method is only relevant to remove and move operations.

Returns:
the index from which the column was moved or removed

getToIndex

public int getToIndex()
Returns the index to which the column was moved or added. This method is only relevant to move and add operations.

Returns:
the index to which the column was moved or added

NextApp Echo3 Extras
v3.0.b4