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