:: com :: sun :: star :: awt ::
|
| constants group FocusChangeReason |
- Description
- A combination of these values can be used to specify the reason
for a focus change.
|
| Constants |
| TAB |
Focus changed because TAB was pressed.
|
| CURSOR |
Focus changed because KeyLeft/Right/Up/Down was pressed.
|
| MNEMONIC |
Focus changed because mnemonic key was pressed.
|
| FORWARD |
Changed Focus to the next control.
|
| BACKWARD |
Changed Focus to the previous control.
|
| AROUND |
Changed Focus forward from last to first or backward from first to
last.
|
| UNIQUEMNEMONIC |
Focus changed because mnemonic key was pressed and this mnemonic is
unique.
|
| Constants' Details |
TAB
const long TAB = 1;
- Description
- Focus changed because TAB was pressed.
|
|
CURSOR
const long CURSOR = 2;
- Description
- Focus changed because KeyLeft/Right/Up/Down was pressed.
|
|
MNEMONIC
const long MNEMONIC = 4;
- Description
- Focus changed because mnemonic key was pressed.
|
|
FORWARD
const long FORWARD = 16;
- Description
- Changed Focus to the next control.
|
|
BACKWARD
const long BACKWARD = 32;
- Description
- Changed Focus to the previous control.
|
|
AROUND
const long AROUND = 64;
- Description
- Changed Focus forward from last to first or backward from first to
last.
|
|
UNIQUEMNEMONIC
const long UNIQUEMNEMONIC = 256;
- Description
- Focus changed because mnemonic key was pressed and this mnemonic is
unique.
|
|
Top of Page
Copyright © 1995, 2010, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.