/** * The number of columns of titles and items in this form's layout grid. A title and corresponding item each have their own * column, so to display two form elements per row (each having a title and item), you would set this property to 4. * * * @return int * @see com.smartgwt.client.docs.FormLayout FormLayout overview and related methods */ public int getNumCols() { return getAttributeAsInt("numCols"); }
/** * A default width for hovers shown for items * * * @return Integer * @see com.smartgwt.client.widgets.form.fields.FormItem#getHoverWidth * @see <a href="http://www.smartclient.com/smartgwt/showcase/#form_details_hovers" target="examples">Hovers Example</a> */ public Integer getItemHoverWidth() { return getAttributeAsInt("itemHoverWidth"); }
/** * Minimum width of a form column. * * * @return int * @see com.smartgwt.client.docs.FormLayout FormLayout overview and related methods */ public int getMinColWidth() { return getAttributeAsInt("minColWidth"); }
/** * Width of border for the table that form is drawn in. This is primarily used for debugging form layout. * * * @return int * @see com.smartgwt.client.docs.FormLayout FormLayout overview and related methods */ public int getCellBorder() { return getAttributeAsInt("cellBorder"); }
/** * The amount of empty space, in pixels, surrounding each form item within its cell in the layout grid. * * * @return int * @see com.smartgwt.client.docs.FormLayout FormLayout overview and related methods */ public int getCellPadding() { return getAttributeAsInt("cellPadding"); }
/** * If the user rolls over an item, how long a delay before we fire any hover action / show a hover for that item? * * * @return int * @see com.smartgwt.client.widgets.form.fields.FormItem#getHoverDelay */ public int getItemHoverDelay() { return getAttributeAsInt("itemHoverDelay"); }
/** * A default height for hovers shown for items * * * @return Integer * @see com.smartgwt.client.widgets.form.fields.FormItem#getHoverHeight */ public Integer getItemHoverHeight() { return getAttributeAsInt("itemHoverHeight"); }
public int getDataPageSize() { return getAttributeAsInt("dataPageSize"); }
/** * When {@link com.smartgwt.client.widgets.form.DynamicForm#getImplicitSave implicitSave} is true, indicates that form item * values will be automatically saved after a given pause during editing, as well as when each item's "editorExit" handler * is fired and when the entire form is submitted. * * * @return int */ public int getImplicitSaveDelay() { return getAttributeAsInt("implicitSaveDelay"); }
/** * Opacity for hovers shown for items * * * @return Integer * @see com.smartgwt.client.widgets.form.fields.FormItem#getHoverOpacity */ public Integer getItemHoverOpacity() { return getAttributeAsInt("itemHoverOpacity"); }
/** * Vertical text alignment for hovers shown for items * * * @return Integer * @see com.smartgwt.client.widgets.form.fields.FormItem#getHoverVAlign */ public Integer getItemHoverVAlign() { return getAttributeAsInt("itemHoverVAlign"); }
/** * When creating form items for fields with text type data, if the specified length of the field exceeds this threshold we * will create form item of type <code>this.longTextEditorType</code> (a TextAreaItem by default), rather than a simple * text item. Overridden by explicitly specifying <code>editorType</code> for the field. * * * @return int * @see com.smartgwt.client.docs.Appearance Appearance overview and related methods */ public int getLongTextEditorThreshold() { return getAttributeAsInt("longTextEditorThreshold"); }