All Packages Class Hierarchy This Package Previous Next Index
Class com.sgi.sysadm.ui.event.TableSortRequestEvent
java.lang.Object
|
+----java.util.EventObject
|
+----com.sgi.sysadm.ui.event.TableSortRequestEvent
- public class TableSortRequestEvent
- extends EventObject
This class represents an event describing a request to sort a table
based on a particular column.
-
TableSortRequestEvent(Object, int, int)
-
A constructor that takes the column to sort on and modifiers
that were being held down.
-
getColumn()
- Returns the column to sort on
-
getModifiers()
- Returns the modifiers flag for this event.
-
isAltDown()
- Returns whether or not the Alt modifier was down on this event.
-
isControlDown()
- Returns whether or not the Control modifier was down on this event.
-
isMetaDown()
- Returns whether or not the Meta modifier was down on this event.
-
isShiftDown()
- Returns whether or not the Shift modifier was down on this
event.
TableSortRequestEvent
public TableSortRequestEvent(Object source,
int column,
int modifiers)
- A constructor that takes the column to sort on and modifiers
that were being held down.
- Parameters:
- source - The source of this event
- column - The column (relative to the model) to sort on
- modifiers - Flags representing the modifier keys that
were being held down
getColumn
public int getColumn()
- Returns the column to sort on
- Returns:
- The column relative to the model
getModifiers
public int getModifiers()
- Returns the modifiers flag for this event.
- Returns:
- the modifiers
isShiftDown
public boolean isShiftDown()
- Returns whether or not the Shift modifier was down on this
event.
- Returns:
- true if shift was down, else false.
isControlDown
public boolean isControlDown()
- Returns whether or not the Control modifier was down on this event.
- Returns:
- true if control was down, else false.
isMetaDown
public boolean isMetaDown()
- Returns whether or not the Meta modifier was down on this event.
- Returns:
- true if meta was down, else false
isAltDown
public boolean isAltDown()
- Returns whether or not the Alt modifier was down on this event.
- Returns:
- true if alt was down, else false
All Packages Class Hierarchy This Package Previous Next Index