Method Summary |
|
public void | addFormListener(FormListener listener) Add a Form listener. |
native protected JavaScriptObject | create(JavaScriptObject config) |
protected JavaScriptObject | getConfigPrototype() |
native public Form | getForm() Provides access to the Form which this Panel contains. |
public String | getXType() |
public void | setBaseParams(UrlParam[] params) Parameters to pass with all requests. |
public void | setButtonAlign(Position buttonAlign) Valid values are "left," "center" and "right" (defaults to "center"). |
public void | setErrorReader(Reader errorReader) A
com.gwtext.client.data.Reader (e.g. |
public void | setFileUpload(boolean fileUpload) Set true if this form is a file upload. |
public void | setHideLabels(boolean hideLabels) Set to true to hide all field labels. |
public void | setItemCls(String itemCls) A CSS class to apply to the x-form-item of fields. |
public void | setLabelAlign(Position labelAlign) Valid values are "left," "top" and "right" (defaults to "left"). |
public void | setLabelWidth(int labelWidth) The width of labels. |
public void | setLayout(ContainerLayout layout) |
public void | setMethod(Connection.Method method) The request method to use (GET or POST) for form actions if one isn't supplied in the action options. |
public void | setMinButtonWidth(int minButtonWidth) Minimum width of all buttons in pixels (defaults to 75). |
public void | setMonitorPoll(int monitorPoll) The milliseconds to poll valid state, ignored if monitorValid is not true (defaults to 200). |
public void | setMonitorValid(boolean monitorValid) If true the form monitors its valid state client-side and fires a looping event with that state. |
public void | setReader(Reader reader) A
Reader (e.g. |
public void | setTimeout(int timeout) Timeout for form actions in seconds (default is 30 seconds). |
public void | setTrackResetOnLoad(boolean trackResetOnLoad) If set to true, form.reset() resets to the last loaded or setValues() data instead of when the form was first created. |
public void | setUrl(String url) The URL to use for form actions if one isn't supplied in the action options. |
public void | setWaitMsgTarget(String waitMsgTarget) By default wait messages are displayed with
com.gwtext.client.widgets.MessageBox.wait(long) . |
public void | setWaitMsgTarget(boolean waitMsgTarget) By default wait messages are displayed with
com.gwtext.client.widgets.MessageBox.wait(long) . |
native public void | startMonitoring() Starts monitoring of the valid state of this form. |
native public void | stopMonitoring() Stops monitoring of the valid state of this form. |