Class PropertyValueLabelProvider
java.lang.Object
org.apache.tapestry5.internal.services.PropertyValueLabelProvider
- All Implemented Interfaces:
ValueLabelProvider<Object>
Provides a label from a property of the passed object.
- Since:
- 5.4
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyValueLabelProvider
(ValueEncoderSource valueEncoderSource, PropertyAccess propertyAccess, String labelProperty) -
Method Summary
-
Constructor Details
-
PropertyValueLabelProvider
public PropertyValueLabelProvider(ValueEncoderSource valueEncoderSource, PropertyAccess propertyAccess, String labelProperty)
-
-
Method Details
-
getLabel
Description copied from interface:ValueLabelProvider
Gets label from the value. The label is used as user-presentable label for a value.- Specified by:
getLabel
in interfaceValueLabelProvider<Object>
- Parameters:
object
- the value to be label provided from- Returns:
-