|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.widget.core.client.form.FormPanelHelper
public class FormPanelHelper
Utility methods for form panels.
| Constructor Summary | |
|---|---|
FormPanelHelper()
|
|
| Method Summary | |
|---|---|
static java.util.List<FieldLabel> |
getFieldLabels(HasWidgets container)
Returns all of the container's child field labels. |
static java.util.List<IsField<?>> |
getFields(HasWidgets container)
Returns all of the container's child fields. |
static boolean |
isValid(HasWidgets container)
Returns true if the form is invalid. |
static boolean |
isValid(HasWidgets container,
boolean preventMark)
Returns the form's valid state by querying all child fields. |
static void |
reset(HasWidgets container)
Resets all field values. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FormPanelHelper()
| Method Detail |
|---|
public static java.util.List<FieldLabel> getFieldLabels(HasWidgets container)
container - the container
public static java.util.List<IsField<?>> getFields(HasWidgets container)
container - the container
public static boolean isValid(HasWidgets container)
public static boolean isValid(HasWidgets container,
boolean preventMark)
preventMark - true for silent validation (no invalid event and field
is not marked invalid)
public static void reset(HasWidgets container)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||