| 
JavaTM 2 Platform Std. Ed. v1.3.1  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--javax.accessibility.AccessibleBundle
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.
AccessibleRole, 
AccessibleState| Field Summary | |
protected  String | 
key
The locale independent name of the state.  | 
| Constructor Summary | |
AccessibleBundle()
 | 
|
| Method Summary | |
 String | 
toDisplayString()
Gets localized string describing the key using the default locale.  | 
 String | 
toDisplayString(Locale locale)
Obtains the key as a localized string.  | 
protected  String | 
toDisplayString(String resourceBundleName,
                Locale locale)
Obtains the key as a localized string.  | 
 String | 
toString()
Gets localized string describing the key using the default locale.  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
protected String key
toDisplayString(java.lang.String, java.util.Locale)| Constructor Detail | 
public AccessibleBundle()
| Method Detail | 
protected String toDisplayString(String resourceBundleName,
                                 Locale locale)
resourceBundleName - the name of the resource bundle to use for 
 lookuplocale - the locale for which to obtain a localized stringpublic String toDisplayString(Locale locale)
locale - the locale for which to obtain a localized stringpublic String toDisplayString()
public String toString()
toString in class ObjecttoDisplayString(java.lang.String, java.util.Locale)
  | 
JavaTM 2 Platform Std. Ed. v1.3.1  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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.