com.smartgwt.client.widgets.form.fields
Class PickerIcon
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.widgets.form.fields.FormItemIcon
com.smartgwt.client.widgets.form.fields.PickerIcon
- All Implemented Interfaces:
- HasHandlers, HasFormItemClickHandlers
public class PickerIcon
- extends FormItemIcon
Convenience class for setting pickers for form fields. This is a specialized subclass of FormItemIcon
that sets up the correct picker dimensions and spacing.
A set of standard pickers are provided as a part of the library.
- See Also:
FormItem.setIcons(FormItemIcon...)
Fields inherited from class com.smartgwt.client.core.JsObject |
jsObj |
Methods inherited from class com.smartgwt.client.widgets.form.fields.FormItemIcon |
addFormItemClickHandler, equals, getDisableOnReadOnly, getHeight, getName, getNeverDisable, getOrCreateRef, getPrompt, getShowFocused, getShowFocusedWithItem, getShowOver, getSrc, getTabIndex, getWidth, hashCode, keyPress, setDisableOnReadOnly, setHeight, setJavaScriptObject, setName, setNeverDisable, setPrompt, setShowFocused, setShowFocusedWithItem, setShowIfCondition, setShowOver, setSrc, setTabIndex, setWidth |
Methods inherited from class com.smartgwt.client.core.DataClass |
doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, getJsObj, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute |
CLEAR
public static PickerIcon.Picker CLEAR
COMBO_BOX
public static PickerIcon.Picker COMBO_BOX
DATE
public static PickerIcon.Picker DATE
REFRESH
public static PickerIcon.Picker REFRESH
SEARCH
public static PickerIcon.Picker SEARCH
PickerIcon
public PickerIcon(PickerIcon.Picker icon)
- Create a new HeaderControl with the specific icon.
- Parameters:
icon
- the icon
PickerIcon
public PickerIcon(PickerIcon.Picker icon,
FormItemClickHandler clickHandler)
- Create a new HeaderControl with the specific icon.
- Parameters:
icon
- the iconclickHandler
- the header control click handler