Class EnumValueLabelProvider<T extends >
-
- org.apache.tapestry5.internal.services.EnumValueLabelProvider<T>
-
- All Implemented Interfaces:
ValueLabelProvider<T>
public class > extends implements ValueLabelProvider<T>
Provides a label from enum.- Since:
- 5.4
-
-
Constructor Summary
Constructors Constructor Description EnumValueLabelProvider(Messages messages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description getLabel(T value)
Gets label from the value.
-
-
-
Constructor Detail
-
EnumValueLabelProvider
public EnumValueLabelProvider(Messages messages)
-
-
Method Detail
-
getLabel
public getLabel(T value)
Description copied from interface:ValueLabelProvider
Gets label from the value. The label is used as user-presentable label for a value.- Specified by:
>
- Parameters:
value
- the value to be label provided from- Returns:
-
-