nextapp.echo.event
Class TableColumnModelEvent

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

public class TableColumnModelEvent
extends java.util.EventObject

An event indicating an update to a TableColumnModel.

See Also:
Table, TableColumnModelListener, TableColumnModel, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TableColumnModelEvent(TableColumnModel source, int fromIndex, int toIndex)
          Creates a TableColumnModelEvent.
 
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

TableColumnModelEvent

public TableColumnModelEvent(TableColumnModel source,
                             int fromIndex,
                             int toIndex)
Creates a TableColumnModelEvent.

Parameters:
source - The TableColumnModel that generated the event.
fromIndex - The index from which the column was moved or removed.
toIndex - The index to which the column was moved or added.
Method Detail

getFromIndex

public int getFromIndex()
Returns the index from which the column was moved or removed.

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.

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