Package wt.fc
Class DynamicEnumType
java.lang.Object
wt.fc.EnumeratedType
wt.fc._DynamicEnumType
wt.fc.DynamicEnumType
- All Implemented Interfaces:
Serializable,Comparable,EnumeratedType,LocalizableMetadata,LocalizableMessage,Message
- Direct Known Subclasses:
_Role,_Variation1,_Variation2,NmCustomRole
@GenAsEnumeratedType(supportedAPI=PUBLIC)
public abstract class DynamicEnumType
extends wt.fc._DynamicEnumType
Supported API: true
Extendable: true
- See Also:
-
Field Summary
Fields inherited from interface wt.meta.EnumeratedType
DEFAULT_VALUE, ORDER, SELECTABLE -
Method Summary
Modifier and TypeMethodDescriptiongetDisplay(Locale locale) Returns the display text for the specified Locale.Methods inherited from class wt.fc.EnumeratedType
equals, getLocalizedMessage, getOrder, getSelectableValueSet, getStringValue, getStringValue, getValueSet, hashCode, isDefaultValue, isDefaultValue, isSelectable, main, toEnumeratedType, toEnumeratedType, toString
-
Method Details
-
getDisplay
Returns the display text for the specified Locale. Follows the ResourceBundle algorithm for locating a resource for the locale.
Supported API: true- Specified by:
getDisplayin interfaceEnumeratedType- Overrides:
getDisplayin classEnumeratedType- Parameters:
locale- the locale for which a display value is requested- Returns:
- The display value for the requested locale.
-