com.sencha.gxt.data.shared
Interface LabelProvider<T>
- Type Parameters:
T - the type of the object for which a label will be created
- All Known Implementing Classes:
- StringLabelProvider
public interface LabelProvider<T>
LabelProvider's are responsible for returning a label for a given object.
- See Also:
PropertyAccess
|
Method Summary |
java.lang.String |
getLabel(T item)
Returns a label for the given object. |
getLabel
java.lang.String getLabel(T item)
- Returns a label for the given object. The return value is treated as plain
text, and will be escaped before it is drawn.
- Parameters:
item - the object to get a label from
- Returns:
- a string value for the label, to be rendered as plain text.
Copyright © 2012. All Rights Reserved.