|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Dictionary<HelperType extends DictionaryHelper>
A dictionary contains the localized value corresponding to a given key. This class provides methods to directly access the correct types of data.
Method Summary | |
---|---|
Color |
getColor()
Gets the color associated with the dictionary entry |
Date |
getDate()
Gets the date associated with the dictionary entry |
Locale |
getDefaultLocale()
Gets the default locale of the dictionary. |
String |
getDefaultString()
Gets the localized string associated with the dictionary entry for the default locale. |
Class<?> |
getEntryClass()
Gets the class associated with the entry type. |
EntryType |
getEntryType()
Gets the dictionary entry type. |
Font |
getFont()
Gets the font associated with the dictionary entry |
HelperType |
getHelper()
Gets the helper of the dictionary. |
Icon |
getIcon()
Gets the icon associated with the dictionary entry |
Image |
getImage()
Gets the image associated with the dictionary entry |
String |
getKey()
Gets the key of the dictionary entry. |
KeyStroke |
getKeyStroke()
Gets the key stroke associated with the dictionary entry |
int |
getMnemonic()
Gets the integer mnemonic associated with the dictionary entry |
String |
getResourceBundleBaseName()
Gets the resource bundle base name for other languages. |
String |
getString()
Gets the localized string associated with the dictionary entry. |
String |
getString(Object... objects)
Gets the localized string associated with the dictionary entry and replaces the arguments in the string using the printf syntax. |
boolean |
isEntryOfType(EntryType typeToCheck)
Checks if the dictionary entry if of the same type than the provided entry type. |
Method Detail |
---|
String getKey()
String getDefaultString()
String getString()
String getString(Object... objects)
Image getImage()
Icon getIcon()
Color getColor()
KeyStroke getKeyStroke()
int getMnemonic()
Date getDate()
Font getFont()
boolean isEntryOfType(EntryType typeToCheck)
typeToCheck
- the entry type to compare with
EntryType getEntryType()
Class<?> getEntryClass()
HelperType getHelper()
Locale getDefaultLocale()
String getResourceBundleBaseName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |