Base class used to maintain a strongly typed enumeration. This is
the superclass of AccessibleState and AccessibleRole.
The toDisplayString method allows you to obtain the localized string
for a locale independent key from a predefined ResourceBundle for the
keys defined in this class. This localized string is intended to be
readable by humans.
Obtains the key as a localized string.
If a localized string cannot be found for the key, the
locale independent key stored in the role will be returned.
This method is intended to be used only by subclasses so that they
can specify their own resource bundles which contain localized
strings for their keys.
Parameters:
resourceBundleName - the name of the resource bundle to use for
lookup
locale - the locale for which to obtain a localized string
Obtains the key as a localized string.
If a localized string cannot be found for the key, the
locale independent key stored in the role will be returned.
Parameters:
locale - the locale for which to obtain a localized string
Submit a bug or feature For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, California, 94303, U.S.A. All Rights Reserved.