public class FormPanelHelper extends Object
| Constructor and Description |
|---|
FormPanelHelper() |
| Modifier and Type | Method and Description |
|---|---|
static List<FieldLabel> |
getFieldLabels(HasWidgets container) |
static List<IsField<?>> |
getFields(HasWidgets container) |
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.
|
public static List<FieldLabel> getFieldLabels(HasWidgets container)
public static List<IsField<?>> getFields(HasWidgets container)
public static boolean isValid(HasWidgets container)
public static void reset(HasWidgets container)
public static boolean isValid(HasWidgets container, boolean preventMark)
preventMark - true for silent validation (no invalid event and field
is not marked invalid)Copyright © 2012. All Rights Reserved.