|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.field.JCFormUtil
This class contains a collection of methods that look through all the
children of a given Container
(usually a Form
) and
return different sets of information based on the JClass Field components
found in a Container
.
Constructor Summary | |
JCFormUtil()
|
Method Summary | |
static void |
clearFieldComponents(Container form)
Sets all the JCFieldComponent children of the specified
Container to null. |
static Set |
getFieldComponents(Container form)
Recursively gets all the JCFieldComponent children of
the specified container. |
static Set |
getInvalidRequiredFieldComponents(Container form)
Returns the JCFieldComponent children that are "required" but
invalid, for the specified form. |
static Set |
getRequiredFieldComponents(Container form)
Returns the JCFieldComponent children of the form that are
considered required (isRequired() == true). |
static boolean |
isFieldComponentContainerComplete(Container form)
Returns true if all the "required" JCFieldComponent
children of the container (isRequired() == true) are valid
(getState() == VALID). |
static void |
resetFieldComponents(Container form)
Resets all the JCFieldComponent children of the specified
Container to their default values. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JCFormUtil()
Method Detail |
public static Set getFieldComponents(Container form)
JCFieldComponent
children of
the specified container. All JClass Field components are instances
of JCFieldComponent
.
form
-
public static boolean isFieldComponentContainerComplete(Container form)
true
if all the "required" JCFieldComponent
children of the container (isRequired() == true) are valid
(getState() == VALID).
form
-
public static Set getRequiredFieldComponents(Container form)
JCFieldComponent
children of the form that are
considered required (isRequired() == true).
form
-
public static Set getInvalidRequiredFieldComponents(Container form)
JCFieldComponent
children that are "required" but
invalid, for the specified form. Determines which fields are considered
required (isRequired() == true), and of those, which are not valid
(getState() != VALID).
form
-
public static void clearFieldComponents(Container form)
JCFieldComponent
children of the specified
Container to null.
form
- public static void resetFieldComponents(Container form)
JCFieldComponent
children of the specified
Container to their default values.
form
-
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |