public class TableColumnModelEvent
extends java.util.EventObject
TableColumnModel| Constructor and Description |
|---|
TableColumnModelEvent(TableColumnModel source,
int fromIndex,
int toIndex)
Creates a new
TableColumnModelEvent. |
| Modifier and Type | Method and Description |
|---|---|
int |
getFromIndex()
Returns the index from which the column was moved or removed.
|
int |
getToIndex()
Returns the index to which the column was moved or added.
|
public TableColumnModelEvent(TableColumnModel source, int fromIndex, int toIndex)
TableColumnModelEvent.source - the updated TableColumnModel.fromIndex - the index from which the column was moved or removed
(relevant to remove and move operations)toIndex - the index to which the column was moved or added
(relevant to move and add operations)public int getFromIndex()
public int getToIndex()