/** * If specified, this property will govern the height of the cell in which this form item is rendered. Will not apply when * the containing DynamicForm sets <code>itemLayout:"absolute"</code>. * * * @return Integer */ public Integer getCellHeight() { return getAttributeAsInt("cellHeight"); }
/** * Height of the error icon, if we're showing icons when validation errors occur. * * * @return int * @see com.smartgwt.client.widgets.form.fields.FormItem#getShowErrorIcon */ public int getErrorIconWidth() { return getAttributeAsInt("errorIconWidth"); }
/** * If {@link com.smartgwt.client.widgets.form.fields.FormItem#getValueIcons valueIcons} is specified, use this property to * specify a height for the value icon written out. * * * @return Integer * @see com.smartgwt.client.widgets.form.fields.FormItem#getValueIconWidth * @see com.smartgwt.client.widgets.form.fields.FormItem#getValueIconSize */ public Integer getValueIconHeight() { return getAttributeAsInt("valueIconHeight"); }
/** * Default width for form item icons * * * @return Takes an icon definition object, and returns the width for that icon in px. */ public int getIconWidth() { return getAttributeAsInt("iconWidth"); }
/** * Left coordinate of this item in pixels. Applies only when the containing DynamicForm sets * <code>itemLayout:"absolute"</code>. * * * @return Returns the left coordinate of this form item in pixels. Note that this method is only reliable after the item has been * drawn. */ public int getLeft() { return getAttributeAsInt("left"); }
/** * Top coordinate of this item in pixels. Applies only when the containing DynamicForm sets * <code>itemLayout:"absolute"</code>. * * * @return Returns the top coordinate of the form item in pixels. Note that this method is only reliable after the item has been * drawn out. */ public int getTop() { return getAttributeAsInt("top"); }
/** * Option to specify a height for any hover shown for this item. * * * @return Integer * @see com.smartgwt.client.widgets.form.DynamicForm#getItemHoverHeight */ public Integer getHoverHeight() { return getAttributeAsInt("hoverHeight"); }
/** * Option to specify a width for any hover shown for this item. * * * @return Integer * @see com.smartgwt.client.widgets.form.DynamicForm#getItemHoverWidth */ public Integer getHoverWidth() { return getAttributeAsInt("hoverWidth"); }
/** * If {@link com.smartgwt.client.widgets.form.fields.FormItem#getShowPickerIcon showPickerIcon} is true for this item, this * property governs the size of the picker icon. If unset picker icon will be sized as a square to fit in the available * height for the icon. * * * @return Integer */ public Integer getPickerIconWidth() { return getAttributeAsInt("pickerIconWidth"); }
/** * Height of the FormItem. Can be either a number indicating a fixed height in pixels, a percentage indicating a * percentage of the overall form's height, or "*" indicating take whatever remaining space is available. <P> See the * {@link com.smartgwt.client.docs.FormLayout} overview for details. * * * @return int * @see com.smartgwt.client.docs.FormLayout FormLayout overview and related methods * @see <a href="http://www.smartclient.com/smartgwt/showcase/#layout_form_filling" target="examples">Filling Example</a> */ public int getHeight() { return getAttributeAsInt("height"); }
/** * TabIndex for the form item within the page. Takes precedence over any local tab index specified as {@link * com.smartgwt.client.widgets.form.fields.FormItem#getTabIndex item.tabIndex}. <P> Use of this API is <b>extremely</b> * advanced and essentially implies taking over management of tab index assignment for all components on the page. * * * @return Integer * @see com.smartgwt.client.docs.Focus Focus overview and related methods */ public Integer getGlobalTabIndex() { return getAttributeAsInt("globalTabIndex"); }
/** * If specified, this is the number of milliseconds to wait between the user rolling over this form item, and triggering * any hover action for it.<br> If not specified <code>this.form.itemHoverDelay</code> will be used instead. * * * @return Integer */ public Integer getHoverDelay() { return getAttributeAsInt("hoverDelay"); }
/** * Opacity for any hover shown for this item * * * @return Integer * @see com.smartgwt.client.widgets.form.DynamicForm#getItemHoverOpacity */ public Integer getHoverOpacity() { return getAttributeAsInt("hoverOpacity"); }
/** * Number of rows that this item spans * * * @return int * @see com.smartgwt.client.docs.FormLayout FormLayout overview and related methods */ public int getRowSpan() { return getAttributeAsInt("rowSpan"); }
/** * Number of columns that this item's title spans. <P> This setting only applies for items that are showing a title and * whose {@link com.smartgwt.client.types.TitleOrientation} is either "left" or "right". * * * @return int * @see com.smartgwt.client.docs.FormLayout FormLayout overview and related methods */ public int getTitleColSpan() { return getAttributeAsInt("titleColSpan"); }
/** * If we're showing a value icon, this attribute governs the amount of space between the icon and the label of the form * item * * * @return int * @see com.smartgwt.client.widgets.form.fields.FormItem#getValueIcons */ public int getValueIconRightPadding() { return getAttributeAsInt("valueIconRightPadding"); }
/** * Height of the error icon, if we're showing icons when validation errors occur. * * * @return int * @see com.smartgwt.client.widgets.form.fields.FormItem#getShowErrorIcon */ public int getErrorIconHeight() { return getAttributeAsInt("errorIconHeight"); }
/** * If {@link com.smartgwt.client.widgets.form.fields.FormItem#getShowPickerIcon showPickerIcon} is true for this item, this * property governs the size of the picker icon. If unset picker icon will be sized as a square to fit in the available * height for the icon. * * * @return Integer */ public Integer getPickerIconHeight() { return getAttributeAsInt("pickerIconHeight"); }
/** * If we're showing a value icon, this attribute governs the amount of space between the icon and the left edge of the * form item cell * * * @return int * @see com.smartgwt.client.widgets.form.fields.FormItem#getValueIcons */ public int getValueIconLeftPadding() { return getAttributeAsInt("valueIconLeftPadding"); }
/** * If {@link com.smartgwt.client.widgets.form.fields.FormItem#getValueIcons valueIcons} is specified, use this property to * specify a width for the value icon written out. * * * @return Integer * @see com.smartgwt.client.widgets.form.fields.FormItem#getValueIconHeight * @see com.smartgwt.client.widgets.form.fields.FormItem#getValueIconSize */ public Integer getValueIconWidth() { return getAttributeAsInt("valueIconWidth"); }