com.smartgwt.client.widgets.form
Interface ValueIconMapper
public interface ValueIconMapper
FormItem Value Icon mapper that allows the developer to specify the image source for an icon to be displayed for the current form item value.
Takes precedence over FormItem.setValueIcons(java.util.Map)
.
- See Also:
FormItem.setValueIconMapper(ValueIconMapper)
Method Summary |
java.lang.String |
getValueIcon(java.lang.Object value)
Method that allows the developer to specify the image source for an icon to be displayed for the current form item value. |
getValueIcon
java.lang.String getValueIcon(java.lang.Object value)
- Method that allows the developer to specify the image source for an icon to be displayed for the current form item value. Takes precedence over
FormItem.setValueIcons(java.util.Map)
- Parameters:
value
- the value of the item for which an item should be returned
- Returns:
- the icon