/** * This property allows the developer to specify an icon to display when this item has no value. It is configured in the * same way as any other valueIcon (see {@link com.smartgwt.client.widgets.form.fields.FormItem#getValueIcons valueIcons}) * * * @return String */ public String getEmptyValueIcon() { return getAttributeAsString("emptyValueIcon"); }
/** * URL of the image to show as an error icon, if we're showing icons when validation errors occur. * * * @return String * @see com.smartgwt.client.widgets.form.fields.FormItem#getShowErrorIcon */ public String getErrorIconSrc() { return getAttributeAsString("errorIconSrc"); }
/** * Default prompt (and tooltip-text) for icons. * * * @return String */ public String getIconPrompt() { return getAttributeAsString("iconPrompt"); }
/** * If {@link com.smartgwt.client.widgets.form.fields.FormItem#getShowPickerIcon showPickerIcon} is true, this attribute * specifies the {@link com.smartgwt.client.widgets.form.fields.FormItemIcon#getName name} applied to the picker icon * * * @return String */ public String getPickerIconName() { return getAttributeAsString("pickerIconName"); }
/** * CSS class for the "hint" string. * * * @return String * @see com.smartgwt.client.widgets.form.fields.FormItem#getHint * @see com.smartgwt.client.docs.Appearance Appearance overview and related methods */ public String getHintStyle() { return getAttributeAsString("hintStyle"); }
/** * Explicit CSS Style for any hover shown for this item. * * * @return String * @see com.smartgwt.client.widgets.form.DynamicForm#getItemHoverStyle */ public String getHoverStyle() { return getAttributeAsString("hoverStyle"); }
/** * Base CSS class name for a form item's text box element when getting printable HTML for the form. If unset {@link * com.smartgwt.client.widgets.form.fields.FormItem#getTextBoxStyle textBoxStyle} will be used instead. Note that focused * styling will never be displayed while printing, though error and disabled styling will. * * * @return String * @see com.smartgwt.client.docs.Printing Printing overview and related methods */ public String getPrintTextBoxStyle() { return getAttributeAsString("printTextBoxStyle"); }
/** * Base CSS stylename for a form item's title when generating print HTML for the item. If unset {@link * com.smartgwt.client.widgets.form.fields.FormItem#getTitleStyle titleStyle} will be used instead. * * * @return String * @see com.smartgwt.client.docs.Printing Printing overview and related methods */ public String getPrintTitleStyle() { return getAttributeAsString("printTitleStyle"); }
/** * Base CSS class name for a form item's text box element. <P> NOTE: See the {@link CompoundFormItem_skinning} discussion * for special skinning considerations. * * * @return String * @see com.smartgwt.client.widgets.form.fields.FormItem#getCellStyle * @see com.smartgwt.client.docs.Appearance Appearance overview and related methods */ public String getTextBoxStyle() { return getAttributeAsString("textBoxStyle"); }
/** * Base CSS class name for a form item's title. * * * @return String * @see com.smartgwt.client.widgets.form.fields.FormItem#getCellStyle */ public String getTitleStyle() { return getAttributeAsString("titleStyle"); }
/** * AccessKey - a keyboard shortcut to trigger a form item's default behavior.<br> Note: Alt+ (or in Moz Firefox 2.0 * and above, Shift+Alt+) the specified key will trigger the form item's default behavior. * * * @return String * @see com.smartgwt.client.docs.Focus Focus overview and related methods */ public String getAccessKey() { return getAttributeAsString("accessKey"); }
/** * Prefix to apply to the beginning of any {@link com.smartgwt.client.widgets.form.fields.FormItem#getValueIcons * valueIcons} when determining the URL for the image. Will not be applied if the <code>valueIcon</code> URL is absolute. * * * @return String */ public String getImageURLPrefix() { return getAttributeAsString("imageURLPrefix"); }
/** * If this item has a specified <code>optionDataSource</code>, this attribute may be set to specify an explicit {@link * com.smartgwt.client.data.DSRequest#getOperationId operationId} when performing a fetch against the option dataSource to * pick up display value mapping. * * * @return String */ public String getOptionOperationId() { return getAttributeAsString("optionOperationId"); }
/** * User visible title for this form item. * * * @return Return the title of this formItem * @see com.smartgwt.client.docs.Basics Basics overview and related methods */ public String getTitle() { return getAttributeAsString("title"); }
/** * For fields of type <code>"date"</code>, if this is an editable field such as a {@link * com.smartgwt.client.widgets.form.fields.TextItem}, this property allows you to specify the {@link * com.smartgwt.client.widgets.form.fields.DateItem#getInputFormat inputFormat} applied to the item. * * * @return String * @see com.smartgwt.client.widgets.form.fields.FormItem#getDisplayFormat */ public String getInputFormat() { return getAttributeAsString("inputFormat"); }
/** * If {@link com.smartgwt.client.widgets.form.fields.FormItem#getShowPickerIcon showPickerIcon} is true for this item, this * property governs the src of the picker icon image to be displayed. * * * @return String */ public String getPickerIconSrc() { return getAttributeAsString("pickerIconSrc"); }
/** * This text is shown as a tooltip prompt when the cursor hovers over this item. * * * @return String * @see com.smartgwt.client.docs.Basics Basics overview and related methods */ public String getPrompt() { return getAttributeAsString("prompt"); }
/** * The required message for required field errors. * * * @return String * @see com.smartgwt.client.docs.Validation Validation overview and related methods */ public String getRequiredMessage() { return getAttributeAsString("requiredMessage"); }
/** * Name for this form field. <br><br> The FormItem's name determines the name of the property it edits within the form. * * * @return String */ public String getName() { return getAttributeAsString("name"); }
/** * dataPath for this item. Allows the user to edit details nested data structures in a flat set of form fields * * * @return Return the dataPath for the this formItem. */ public String getDataPath() { return getAttributeAsString("dataPath"); }