de.qfs.lib.gui
Class TableModelSorterEvent
java.lang.Object
|
+--java.util.EventObject
|
+--de.qfs.lib.gui.TableModelSorterEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class TableModelSorterEvent
- extends java.util.EventObject
This event contains the details about a change in the sort order of
a TableModelSorter
.
- Version:
- $Revision: 1.7 $
- Author:
- Gregor Schmid
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
TableModelSorterEvent(java.lang.Object source,
int column,
boolean ascending)
Create a new TableModelSorterEvent. |
Method Summary |
int |
getColumn()
Get the new sort coulmn of the TableModelSorter. |
boolean |
isAscending()
Query whether the sort order is ascending. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TableModelSorterEvent
public TableModelSorterEvent(java.lang.Object source,
int column,
boolean ascending)
- Create a new TableModelSorterEvent.
- Parameters:
source
- The source of the event.column
- The new sort column of the TableModelSorter.ascending
- Whether the sort order is ascending.
getColumn
public final int getColumn()
- Get the new sort coulmn of the TableModelSorter.
isAscending
public final boolean isAscending()
- Query whether the sort order is ascending.