public final class ModifierKey extends Key
Instances of ModifierKey represent the four keys on the
keyboard recognized by convention as 'modifier keys', those keys typically
pressed in combination with themselves and/or a
NaturalKey.
ModifierKey objects are immutable. Clients are not permitted
to extend this class.
NaturalKey| Modifier and Type | Field and Description |
|---|---|
static ModifierKey |
ALT
Deprecated.
The single static instance of
ModifierKey which represents
the 'Alt' key. |
static ModifierKey |
COMMAND
Deprecated.
The single static instance of
ModifierKey which represents
the 'Command' key. |
static ModifierKey |
CTRL
Deprecated.
The single static instance of
ModifierKey which represents
the 'Ctrl' key. |
static ModifierKey |
SHIFT
Deprecated.
The single static instance of
ModifierKey which represents
the 'Shift' key. |
public static final ModifierKey ALT
ModifierKey which represents
the 'Alt' key.public static final ModifierKey COMMAND
ModifierKey which represents
the 'Command' key.public static final ModifierKey CTRL
ModifierKey which represents
the 'Ctrl' key.public static final ModifierKey SHIFT
ModifierKey which represents
the 'Shift' key.Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.