amber.awt.event
Class ComplexColumnEvent
java.lang.Object
|
+--java.util.EventObject
|
+--java.awt.AWTEvent
|
+--amber.awt.event.ComplexColumnEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class ComplexColumnEvent
- extends java.awt.AWTEvent
This event is fired by the ComplexListHandler class to indicate that a column was pressed on
the list.
- See Also:
PComplexList,
ComplexList,
ComplexListHandler, Serialized Form
|
Field Summary |
static int |
COLUMN_FIRST
Marks the first integer id for the range of column event ids. |
static int |
COLUMN_LAST
Marks the last integer id for the range of column event ids. |
static int |
COLUMN_PRESSED
The column header was pressed event |
protected int |
columnState
The current state of the column header. |
protected int |
index
The column index. |
| Fields inherited from class java.awt.AWTEvent |
ACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, consumed, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK, HIERARCHY_BOUNDS_EVENT_MASK, HIERARCHY_EVENT_MASK, id, INPUT_METHOD_EVENT_MASK, INVOCATION_EVENT_MASK, ITEM_EVENT_MASK, KEY_EVENT_MASK, MOUSE_EVENT_MASK, MOUSE_MOTION_EVENT_MASK, PAINT_EVENT_MASK, RESERVED_ID_MAX, TEXT_EVENT_MASK, WINDOW_EVENT_MASK |
| Fields inherited from class java.util.EventObject |
source |
|
Constructor Summary |
ComplexColumnEvent(java.lang.Object source,
int id,
int columnIndex,
int columnState)
Constructs an ComplexColumnEvent object with the specified source object. |
|
Method Summary |
int |
getColumnIndex()
Gets the data in the following variable:
The column index. |
int |
getColumnState()
Gets the data in the following variable:
The current state of the column header. |
java.lang.String |
paramString()
The internal string state of the object. |
void |
setColumnIndex(int data)
Sets the data in the following variable:
The column index. |
void |
setColumnState(int data)
Sets the data in the following variable:
The current state of the column header. |
java.lang.String |
toString()
The internal string state of the object. |
| Methods inherited from class java.awt.AWTEvent |
consume, finalize, getID, isConsumed |
| Methods inherited from class java.util.EventObject |
getSource |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COLUMN_FIRST
public static final int COLUMN_FIRST
- Marks the first integer id for the range of column event ids.
COLUMN_LAST
public static final int COLUMN_LAST
- Marks the last integer id for the range of column event ids.
COLUMN_PRESSED
public static final int COLUMN_PRESSED
- The column header was pressed event
index
protected int index
- The column index.
columnState
protected int columnState
- The current state of the column header. This matches the value in
the arrow on the column.
- See Also:
ComplexList.ArrowNone,
ComplexList.ArrowUp,
ComplexList.ArrowDown
ComplexColumnEvent
public ComplexColumnEvent(java.lang.Object source,
int id,
int columnIndex,
int columnState)
- Constructs an ComplexColumnEvent object with the specified source object.
- Parameters:
source - the object where the event originatedid - the type of eventcolumnIndex - int index of the column which fired the event.columnState - int the state of the arrow indicator.- See Also:
ComplexList.ArrowNone,
ComplexList.ArrowUp,
ComplexList.ArrowDown
getColumnIndex
public int getColumnIndex()
- Gets the data in the following variable:
The column index.
- Returns:
- int containing the required information.
getColumnState
public int getColumnState()
- Gets the data in the following variable:
The current state of the column header. This matches the value in
the arrow on the column.
- Returns:
- int containing the required information.
- See Also:
ComplexList.ArrowNone,
ComplexList.ArrowUp,
ComplexList.ArrowDown
setColumnIndex
public void setColumnIndex(int data)
- Sets the data in the following variable:
The column index.
- Parameters:
data - int containing the data to set the variable to.
setColumnState
public void setColumnState(int data)
- Sets the data in the following variable:
The current state of the column header. This matches the value in
the arrow on the column.
- Parameters:
data - int containing the data to set the variable to.- See Also:
ComplexList.ArrowNone,
ComplexList.ArrowUp,
ComplexList.ArrowDown
paramString
public java.lang.String paramString()
- The internal string state of the object.
- Overrides:
paramString in class java.awt.AWTEvent
- Returns:
- String internal state.
toString
public java.lang.String toString()
- The internal string state of the object.
- Overrides:
toString in class java.awt.AWTEvent
- Returns:
- String internal state.
Copyright © 2002 Clearfield Research Ltd. All Rights Reserved.