|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

public interface Descriptor
XXX A descriptor does not describe. It has descriptions. Perhaps 'UserPresentable'?
| Method Summary | |
|---|---|
String |
getDescription()
Returns the description of this object for the default locale. |
String |
getDescription(Locale locale)
Returns the description of this object. |
String |
getGUIName()
Returns the GUI name for this object. |
String |
getGUIName(Locale locale)
Returns the GUI name for this object in a specified preferred language. |
LocalizedString |
getLocalizedDescription()
Returns the set of (localized) descriptions of this object. |
LocalizedString |
getLocalizedGUIName()
Returns the set of (localized) gui names of this object. |
String |
getName()
Returns the name or 'key' of this object, or null if not applicable. |
void |
setDescription(String description)
Sets the description of this object for the default locale. |
void |
setDescription(String description,
Locale locale)
Sets the description of this object. |
void |
setGUIName(String g)
Sets the GUI name of this object for the default locale. |
void |
setGUIName(String g,
Locale locale)
Sets the GUI name of this object. |
| Method Detail |
|---|
String getName()
null if not applicable.
String getGUIName()
String getGUIName(Locale locale)
locale - the locale that determines the language for the GUI name
LocalizedString getLocalizedGUIName()
void setGUIName(String g,
Locale locale)
locale - The locale for which this is valid, or null for the default locale.g - the description as a Stringvoid setGUIName(String g)
g - the description as a StringLocalizedString getLocalizedDescription()
String getDescription(Locale locale)
locale - The locale for which this must be returned, or null for a default locale.
If no fitting description for the given locale is available, getName() can be returned.
String getDescription()
void setDescription(String description,
Locale locale)
description - the description as a Stringlocale - The locale for which this is valid, or null for a default locale.void setDescription(String description)
description - the description as a String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||