com.sas.servlet.tbeans.tableview
Class TableColumnModelEvent

com.sas.servlet.tbeans.tableview.TableColumnModelEvent
All Implemented Interfaces:
java.io.Serializable

public class TableColumnModelEvent

TableColumnModelEvent is used to notify listeners that a TableColumnModel has changed. A column can be added, removed, or moved.

See Also:
TableColumnModelListener, Serialized Form

Constructor Summary
TableColumnModelEvent(TableColumnModel source, int from, int to)
          Constructs a TableColumnModelEvent object.
 
Method Summary
 int getFromIndex()
          Returns the fromIndex.
 int getToIndex()
          Returns the toIndex.
 

Constructor Detail

TableColumnModelEvent

public TableColumnModelEvent(TableColumnModel source,
                             int from,
                             int to)
Constructs a TableColumnModelEvent object.

Parameters:
source - the TableColumnModel that originated the event
from - an int specifying the first row in a range of affected rows
to - an int specifying the last row in a range of affected rows
Method Detail

getFromIndex

public int getFromIndex()
Returns the fromIndex. Valid for removed or moved events.

Returns:
the fromIndex

getToIndex

public int getToIndex()
Returns the toIndex. Valid for add and moved events.

Returns:
the toIndex



Copyright © 2009 SAS Institute Inc. All Rights Reserved.