com.arsdigita.formbuilder.ui
Class ComponentTraverse
java.lang.Object
com.arsdigita.bebop.util.Traversal
com.arsdigita.formbuilder.ui.ComponentTraverse
- public class ComponentTraverse
- extends Traversal
This class is used to walk through the form and print out
information that is necessary to print out the information required
to allow Bebop to process the form even when the FormBuilderXMLRenderer
is printing out the form. Specifically, this is used to print
out default values and error messages.
Method Summary |
void |
act(Component c)
Defines the action to be performed on each node. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FORMBUILDER_FORM_DEFAULTS
public static final String FORMBUILDER_FORM_DEFAULTS
- See Also:
- Constant Field Values
FORMBUILDER_FORM_DEFAULT_VALUE
public static final String FORMBUILDER_FORM_DEFAULT_VALUE
- See Also:
- Constant Field Values
FORMBUILDER_FORM_ERROR
public static final String FORMBUILDER_FORM_ERROR
- See Also:
- Constant Field Values
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
PARAMETER_NAME
public static final String PARAMETER_NAME
- See Also:
- Constant Field Values
ComponentTraverse
public ComponentTraverse(PageState state,
FormData data,
Element parent)
act
public void act(Component c)
- Description copied from class:
Traversal
- Defines the action to be performed on each node. Users of this
class should override this method with behavior for their
particular domain.
- Specified by:
act
in class Traversal
- Parameters:
c
- the component on which to perform this action.
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC