|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | CONST | FIELD | CONSTR | METHOD | DETAIL: CONST | FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--satin.common.Enum
|
+--satin.uishell.ModifierKey
public class ModifierKey
extends EnumIdentifies one of several modifier (shift) keys on the keyboard. The UI Shell is MacIntosh-oriented; there is no Alt key.
| Constant Summary | |
static final ModifierKey |
APPLE
The apple key (an alias for COMMAND). |
static final ModifierKey |
COMMAND
The command (apple) key. |
static final ModifierKey |
CONTROL
The control key. |
static final ModifierKey |
OPTION
The option key. |
static final ModifierKey |
SHIFT
The shift key. |
| Field Summary | |
final int |
value
The integer value used in MacIntosh system calls. |
| Fields inherited from class satin.common.Enum |
name |
| Constructor Summary | |
protected |
ModifierKey(java.lang.String name,
int value)
The constructor. |
| Method Summary | |
static int |
getValues(ModifierKey[] shiftKeys)
Combines the values of zero or more ShiftKeys constants using bit-wise "OR". |
static java.lang.String |
toString(ModifierKey[] shiftKeys)
Converts an array of ShiftKeys to a string. |
| Methods inherited from class satin.common.Enum |
toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constant Detail |
public static final ModifierKey SHIFT
public static final ModifierKey CONTROL
public static final ModifierKey OPTION
public static final ModifierKey COMMAND
public static final ModifierKey APPLE
COMMAND).| Field Detail |
public final int value
| Constructor Detail |
protected ModifierKey(java.lang.String name,
int value)
namevalue| Method Detail |
public static int getValues(ModifierKey[] shiftKeys)
public static java.lang.String toString(ModifierKey[] shiftKeys)
| Revision History |
7/26/01 - code review.
4/6/01 Ed Stauff - changes per review.
3/28/01 Ed Stauff - initial review by Satin team.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | CONST | FIELD | CONSTR | METHOD | DETAIL: CONST | FIELD | CONSTR | METHOD | ||||||||
ModifierKey.java (PRIVATE SOURCES)