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.


Constructor Index

 o TableSortRequestEvent(Object, int, int)
A constructor that takes the column to sort on and modifiers that were being held down.

Method Index

 o getColumn()
Returns the column to sort on
 o getModifiers()
Returns the modifiers flag for this event.
 o isAltDown()
Returns whether or not the Alt modifier was down on this event.
 o isControlDown()
Returns whether or not the Control modifier was down on this event.
 o isMetaDown()
Returns whether or not the Meta modifier was down on this event.
 o isShiftDown()
Returns whether or not the Shift modifier was down on this event.

Constructors

 o 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

Methods

 o getColumn
 public int getColumn()
Returns the column to sort on

Returns:
The column relative to the model
 o getModifiers
 public int getModifiers()
Returns the modifiers flag for this event.

Returns:
the modifiers
 o isShiftDown
 public boolean isShiftDown()
Returns whether or not the Shift modifier was down on this event.

Returns:
true if shift was down, else false.
 o isControlDown
 public boolean isControlDown()
Returns whether or not the Control modifier was down on this event.

Returns:
true if control was down, else false.
 o isMetaDown
 public boolean isMetaDown()
Returns whether or not the Meta modifier was down on this event.

Returns:
true if meta was down, else false
 o 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