Where Am I? Class Hierarchy (JFC) All Classes (JFC)

Class com.sun.java.swing.event.TableColumnModelEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----com.sun.java.swing.event.TableColumnModelEvent

public class TableColumnModelEvent
extends EventObject

TableColumnModelEvent is used to notify listeners that a table column model has changed, such as a column was added, removed, or moved.

Warning: serialized objects of this class will not be compatible with future swing releases. The current serialization support is appropriate for short term storage or RMI between Swing1.0 applications. It will not be possible to load serialized Swing1.0 objects with future releases of Swing. The JDK1.2 release of Swing will be the compatibility baseline for the serialized form of Swing objects.

See Also:
TableColumnModelListener

Variable Index

fromIndex
The index of the column from where it was moved or removed
toIndex
The index of the column to where it was moved or added from

Constructor Index

TableColumnModelEvent(TableColumnModel, int, int)

Method Index

getFromIndex()
Returns the fromIndex.
getToIndex()
Returns the toIndex.

Variables

fromIndex
 protected int fromIndex
The index of the column from where it was moved or removed

toIndex
 protected int toIndex
The index of the column to where it was moved or added from


Constructors

TableColumnModelEvent
 public TableColumnModelEvent(TableColumnModel source,
                              int from,
                              int to)

Methods

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

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


Where Am I? Class Hierarchy (JFC) All Classes (JFC)