com.arsdigita.formbuilder.ui
Class ComponentTraverse

java.lang.Object
  extended bycom.arsdigita.bebop.util.Traversal
      extended bycom.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.


Field Summary
static String FORMBUILDER_FORM_DEFAULT_VALUE
           
static String FORMBUILDER_FORM_DEFAULTS
           
static String FORMBUILDER_FORM_ERROR
           
static String PARAMETER_NAME
           
static String TYPE
           
 
Fields inherited from class com.arsdigita.bebop.util.Traversal
PERFORM_ACTION, SKIP_COMPONENT, SKIP_SUBTREE, versionId
 
Constructor Summary
ComponentTraverse(PageState state, FormData data, Element parent)
           
 
Method Summary
 void act(Component c)
          Defines the action to be performed on each node.
 
Methods inherited from class com.arsdigita.bebop.util.Traversal
preorder, test
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

ComponentTraverse

public ComponentTraverse(PageState state,
                         FormData data,
                         Element parent)
Method Detail

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 21 2004:2337 UTC