Class EnumLabel<T extends Enum<T>>

Type Parameters:
T - enum type
All Implemented Interfaces:
Serializable, IEventSink, IEventSource, IFeedbackContributor, IConverterLocator, IGenericComponent<T,EnumLabel<T>>, IMetadataContext<Serializable,Component>, IHeaderContributor, IRequestableComponent, IHierarchical<Component>, IClusterable

public class EnumLabel<T extends Enum<T>> extends WebComponent implements IGenericComponent<T,EnumLabel<T>>
A Label component that is used to render an enum value. The value rendered will be the result of a i18n resource lookup of the following form: <value.getClass().getSimpleName()>.<value.name()>, this format can be changed by overriding resourceKey(Enum)
Author:
igor.vaynberg
See Also: