NextApp Echo
1.0.5

nextapp.echo.event
Class TableColumnModelEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bynextapp.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
private  int fromIndex
           
private  int toIndex
           
 
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
 

Field Detail

fromIndex

private int fromIndex

toIndex

private int toIndex
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.

NextApp Echo
1.0.5