Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
java.util |
Contains the collections framework, legacy collection classes, event model,
date and time facilities, internationalization, and miscellaneous utility
classes (a string tokenizer, a random-number generator, and a bit array).
|
javax.management.openmbean |
Provides the open data types and Open MBean descriptor classes.
|
javax.swing |
Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms.
|
Modifier and Type | Method and Description |
---|---|
static AWTKeyStroke |
AWTKeyStroke.getAWTKeyStroke(Character keyChar,
int modifiers)
Returns a shared instance of an
AWTKeyStroke
that represents a KEY_TYPED event for the
specified Character object and a set of modifiers. |
Modifier and Type | Field and Description |
---|---|
static Class<Character> |
Character.TYPE
The
Class instance representing the primitive type
char . |
Modifier and Type | Method and Description |
---|---|
static Character |
Character.valueOf(char c)
Returns a Character instance representing the specified
char value.
|
Modifier and Type | Method and Description |
---|---|
int |
Character.compareTo(Character anotherCharacter)
Compares two
Character objects numerically. |
Modifier and Type | Method and Description |
---|---|
Set<Character> |
Locale.getExtensionKeys()
Returns the set of extension keys associated with this locale, or the
empty set if it has no extensions.
|
Modifier and Type | Field and Description |
---|---|
static SimpleType<Character> |
SimpleType.CHARACTER
The
SimpleType instance describing values whose
Java class name is java.lang.Character . |
Modifier and Type | Method and Description |
---|---|
static KeyStroke |
KeyStroke.getKeyStroke(Character keyChar,
int modifiers)
Returns a shared instance of a
KeyStroke
that represents a KEY_TYPED event for the
specified Character object and a
set of modifiers. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2019, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.