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 applications running
the same version of Swing. As of 1.4, support for long term storage
of all JavaBeans
has been added to the java.beans package.
Please see java..
TableColumnModelListener
| Modifier and Type | Field and Description |
|---|---|
| protected int | fromIndex
The index of the column from where it was moved or removed |
| protected int | toIndex
The index of the column to where it was moved or added |
| Access | Constructor and Description |
|---|---|
| public | TableColumnModelEvent(TableColumnModel
the source, int TableColumnModel that originated the eventan int specifying the index from where the column was
moved or removed from, int an int specifying the index to where the column was
moved or added to)Constructs a |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: int value for index from which the column was moved or removedReturns the fromIndex. |
| public int |
| fromIndex | back to summary |
|---|---|
| protected int fromIndex The index of the column from where it was moved or removed | |
| toIndex | back to summary |
|---|---|
| protected int toIndex The index of the column to where it was moved or added | |
| TableColumnModelEvent | back to summary |
|---|---|
| public TableColumnModelEvent(TableColumnModel source, int from, int to) Constructs a
| |
| getFromIndex | back to summary |
|---|---|
| public int getFromIndex() Returns the fromIndex. Valid for removed or moved events
| |
| getToIndex | back to summary |
|---|---|
| public int getToIndex() Returns the toIndex. Valid for add and moved events
| |