All Packages Class Hierarchy This Package Previous Next Index
Class java.awt.swing.event.TableColumnModelEvent
java.lang.Object
|
+----java.util.EventObject
|
+----java.awt.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
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
TableColumnModelEvent(TableColumnModel, int, int)
-
getFromIndex()
- Returns the fromIndex.
getToIndex()
- Returns the toIndex.
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
TableColumnModelEvent
public TableColumnModelEvent(TableColumnModel source,
int from,
int to)
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
All Packages Class Hierarchy This Package Previous Next Index
Submit a bug or feature