com.sas.table
Class ColumnChangedEvent

com.sas.table.ColumnChangedEvent
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class ColumnChangedEvent

Reports a change to a table's column(s).

An object that represents a table should create this event whenever a column, or a contiguous range of columns, has been added, removed, or changed, and send it to all registered listeners for ContentsChangedEvent.

See Also:
ContentsChangedSource, RowChangedEvent, Serialized Form

Field Summary
 
Fields inherited from class com.sas.table.CellVectorChangedEvent
ADDED, ALL_REPLACED, CELLS, CLASS, count, DEFAULT_VALUE, howChanged, index, REMOVED
 
Constructor Summary
ColumnChangedEvent(java.lang.Object source)
          Constructs an event to indicate that all the columns have been completely replaced by a new set.
ColumnChangedEvent(java.lang.Object source, int index, int count, int howChanged)
          Constructor.
 
Method Summary
 
Methods inherited from class com.sas.table.CellVectorChangedEvent
toString
 

Constructor Detail

ColumnChangedEvent

public ColumnChangedEvent(java.lang.Object source,
                          int index,
                          int count,
                          int howChanged)
Constructor. Columns index through index+count-1 will be considered changed.

Parameters:
source - The table model whose column(s) has changed.
index - The one-based identifier of the first (or only) changed column.
count - The number of changed columns.
howChanged - Indicates how the columns have changed.
See Also:
CellVectorChangedEvent.ADDED, CellVectorChangedEvent.REMOVED, CellVectorChangedEvent.ALL_REPLACED, CellVectorChangedEvent.CELLS, CellVectorChangedEvent.CLASS, CellVectorChangedEvent.DEFAULT_VALUE

ColumnChangedEvent

public ColumnChangedEvent(java.lang.Object source)
Constructs an event to indicate that all the columns have been completely replaced by a new set.

Parameters:
source - The table model whose columns have been replaced.



Copyright © 2009 SAS Institute Inc. All Rights Reserved.