Interface InstantEditorLabelProvider
-
- All Superinterfaces:
org.springframework.core.Ordered
- All Known Implementing Classes:
AbstractInstantEditorLabelProvider,BaseInstantEditorLabelProvider,CollectionsInstantEditorLabelProvider,FixedInstantEditorLabelsRenderer.FixedLabelProvider,LocalizedInstantEditorLabelProvider
public interface InstantEditorLabelProvider extends org.springframework.core.OrderedInterface for label providers used byInstantEditorRendererto convert underlying editor's value to string representation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanHandle(java.lang.String editorType)Method used to determine if label provider is able to convert the value of underlying editor.java.lang.StringgetLabel(java.lang.String editorType, java.lang.Object value)Method converting passed value to its string representation
-
-
-
Method Detail
-
canHandle
boolean canHandle(java.lang.String editorType)
Method used to determine if label provider is able to convert the value of underlying editor. When deciding which label provider should be used, the first returningtruefrom this method is choosen.- Parameters:
editorType- type of underlying editor as returned byEditor.getType()- Returns:
- if this label provider is able to convert underlying editor's value
-
getLabel
java.lang.String getLabel(java.lang.String editorType, java.lang.Object value)Method converting passed value to its string representation- Parameters:
editorType- type of underlying editor as returned byEditor.getType()value- underlying editor's value to convert- Returns:
- string representation of
value
-
-