/** * If set, this property determines the height of this icon in px. If unset the form item's <code>iconHeight</code> * property will be used instead. * * @param height height Default value is null * @see com.smartgwt.client.widgets.form.fields.FormItem#setIconHeight */ public void setHeight(Integer height) { setAttribute("height", height); }
/** * Should this icon's image switch to the appropriate "focused" source when the user puts focus on the form item or icon? * <p><b>Note : </b> This is an advanced setting</p> * * @param showFocused showFocused Default value is null * @see com.smartgwt.client.widgets.form.fields.FormItem#setShowFocusedIcons * @see com.smartgwt.client.widgets.form.fields.FormItemIcon#setShowFocusedWithItem */ public void setShowFocused(Boolean showFocused) { setAttribute("showFocused", showFocused); }
/** * If set, this property determines the width of this icon in px. If unset the form item's <code>iconWidth</code> * property will be used instead. * * @param width width Default value is null * @see com.smartgwt.client.widgets.form.fields.FormItem#setIconWidth */ public void setWidth(Integer width) { setAttribute("width", width); }
/** * If <code>icon.neverDisable</code> is true, when this form item is disabled, the icon will remain enabled. Note that * disabling the entire form will disable all items, together with their icons including those marked as neverDisable - * this property only has an effect if the form is enabled and a specific item is disabled within it. * <p><b>Note : </b> This is an advanced setting</p> * * @param neverDisable neverDisable Default value is null */ public void setNeverDisable(Boolean neverDisable) { setAttribute("neverDisable", neverDisable); }
/** * If set, this property will be displayed as a prompt (and tooltip text) for this form item icon. <P> If unset the form * item's <code>iconPrompt</code> property will be used instead. * <p><b>Note : </b> This is an advanced setting</p> * * @param prompt prompt Default value is null * @see com.smartgwt.client.widgets.form.fields.FormItem#setIconPrompt */ public void setPrompt(String prompt) { setAttribute("prompt", prompt); }
/** * Identifier for this form item icon. This identifier (if set) should be unique within this form item and may be used to * get a pointer to the icon object via {@link com.smartgwt.client.widgets.form.fields.FormItem#getIcon FormItem.getIcon}. * * @param name name Default value is null */ public void setName(String name) { setAttribute("name", name); }
/** * Should this icon's image switch to the appropriate "over" source when the user rolls over or focuses on the icon? * <p><b>Note : </b> This is an advanced setting</p> * * @param showOver showOver Default value is null * @see com.smartgwt.client.widgets.form.fields.FormItem#setShowOverIcons */ public void setShowOver(Boolean showOver) { setAttribute("showOver", showOver); }
/** * If set, this property determines this icon's image source. If unset the form item's <code>defaultIconSrc</code> property * will be used instead.<br> As with <code>defaultIconSrc</code> this URL will be modified by adding "_Over" or "_Disabled" * if appropriate to show the icons over or disabled state. * * @param src src Default value is null * @see com.smartgwt.client.widgets.form.fields.FormItem#setDefaultIconSrc * @see <a href="http://www.smartclient.com/smartgwt/showcase/#form_details_icons" target="examples">Icons Example</a> */ public void setSrc(String src) { setAttribute("src", src); }
/** * TabIndex for this formItemIcon. <P> Set to -1 to remove the icon from the tab order, but be cautious doing so: if the * icon triggers important application functionality that cannot otherwise be accessed via the keyboard, it would be a * violation of accessibility standard to remove the icon from the tab order. <P> Any usage other than setting to -1 is * extremely advanced in the same way as using {@link com.smartgwt.client.widgets.form.fields.FormItem#getGlobalTabIndex * globalTabIndex}. * <p><b>Note : </b> This is an advanced setting</p> * * @param tabIndex tabIndex Default value is null */ public void setTabIndex(Integer tabIndex) { setAttribute("tabIndex", tabIndex); }
/** * If this icon will be updated to show focus (see {@link * com.smartgwt.client.widgets.form.fields.FormItemIcon#getShowFocused showFocused}, {@link * com.smartgwt.client.widgets.form.fields.FormItem#getShowFocusedIcons showFocusedIcons}), this property governs whether * the focused state should be shown when the item as a whole receives focus or just if the icon receives focus. If this * property is unset, default behavior is to show focused state when the item receives focus. * <p><b>Note : </b> This is an advanced setting</p> * * @param showFocusedWithItem showFocusedWithItem Default value is null * @see com.smartgwt.client.widgets.form.fields.FormItem#setShowFocusedIcons * @see com.smartgwt.client.widgets.form.fields.FormItemIcon#setShowFocused */ public void setShowFocusedWithItem(Boolean showFocusedWithItem) { setAttribute("showFocusedWithItem", showFocusedWithItem); }