/** * If this item has a specified <code>optionDataSource</code>, and this property may be used
 to specify criteria to pass to the datasource when
 performing the fetch operation on the dataSource to obtain a data-value to display-value
 mapping * * * @return the option criteria * */ public Criteria getOptionCriteria() { JavaScriptObject jsObj = getAttributeAsJavaScriptObject("optionCriteria"); return jsObj == null ? null : new Criteria(jsObj); }
/** * If this item has a specified <code>optionDataSource</code>, and this property is
 not null, this will be passed to the datasource as {@link com.smartgwt.client.rpc.RPCRequest} properties when
 performing the fetch operation on the dataSource to obtain a data-value to display-value
 mapping * * @return RPCRequest Properties * */ public RPCRequest getOptionFilterContext() { JavaScriptObject jsObj = getAttributeAsJavaScriptObject("optionFilterContext"); return jsObj == null ? null : new RPCRequest(jsObj); }
/** * A Read-Only pointer to the Smart GWT canvas that holds this form item. In most cases this will be the {@link * com.smartgwt.client.widgets.form.fields.FormItem#getForm DynamicForm} containing the item but in some cases editable * components handle writing out form items directly. An example of this is {@link com.smartgwt.client.docs.Editing Grid * Editing} - when a listGrid shows per-field editors, the <code>containerWidget</code> for each item will be the listGrid. * <P> Note that even if the <code>containerWidget</code> is not a DynamicForm, a DynamicForm will still exist for the item * (available as {@link com.smartgwt.client.widgets.form.fields.FormItem#getForm form}), allowing access to standard APIs * such as {@link com.smartgwt.client.widgets.form.DynamicForm#getValues DynamicForm.getValues} * * * @return Canvas */ public Canvas getContainerWidget() { return Canvas.getOrCreateRef(getAttributeAsJavaScriptObject("containerWidget")); }