All Packages  Class Hierarchy  This Package  Previous  Next  Index

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.

See Also:
TableColumnModelListener

Variable Index

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

Constructor Index

 o TableColumnModelEvent(TableColumnModel, int, int)

Method Index

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

Variables

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

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

Constructors

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

Methods

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

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


All Packages  Class Hierarchy  This Package  Previous  Next  Index