|
Java Platform 1.2 Beta 4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.sun.java.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 java.lang.String |
key
The locale independent name of the state. |
| Constructor Summary | |
AccessibleBundle()
|
|
| Method Summary | |
java.lang.String |
toDisplayString()
Get localized string describing the key using the default locale. |
java.lang.String |
toDisplayString(java.util.Locale locale)
Obtain the key as a localized string. |
protected java.lang.String |
toDisplayString(java.lang.String resourceBundleName,
java.util.Locale locale)
Obtain the key as a localized string. |
java.lang.String |
toString()
Get 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 java.lang.String key
toDisplayString(java.lang.String, java.util.Locale)| Constructor Detail |
public AccessibleBundle()
| Method Detail |
protected java.lang.String toDisplayString(java.lang.String resourceBundleName,
java.util.Locale locale)
resourceBundleName - the name of the resource bundle to use for
lookuplocale - the locale for which to obtain a localized stringpublic java.lang.String toDisplayString(java.util.Locale locale)
locale - the locale for which to obtain a localized stringpublic java.lang.String toDisplayString()
public java.lang.String toString()
toDisplayString(java.lang.String, java.util.Locale)
|
Java Platform 1.2 Beta 4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||