Class CompositeFormItem

  • All Implemented Interfaces:
    com.google.gwt.event.logical.shared.HasValueChangeHandlers<ModelNode>, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.TakesValue<ModelNode>, com.google.gwt.user.client.ui.Focusable, com.google.gwt.user.client.ui.HasEnabled, com.google.gwt.user.client.ui.HasName, com.google.gwt.user.client.ui.HasValue<ModelNode>, Attachable, FormItem<ModelNode>, ModelNodeItem
    Direct Known Subclasses:
    FileFormItem

    public abstract class CompositeFormItem
    extends AbstractFormItem<ModelNode>
    implements ModelNodeItem
    A form item composed from a list of other form items. Extend from this class and add the form items which should be part of the composite in the constructor before the composite form item is attached.

    The composite form item uses the following semantics:

    Layout
    The form items are placed into a div element. In the readonly mode they're separated by hr elements.
    Empty
    The composite form item is empty if all form items are empty.
    Modified
    The composite form item is modified as soon as one of the form items is modified.
    Expressions
    The composite form item does not support expressions.
    Validation
    The composite form item is valid if all form items are valid. Adding new validation handlers is not supported.
    Restricted
    The composite form item is restricted if any of the form items is restricted.
    Enabled
    The composite form item is enabled if all form items are enabled.
    Required
    The composite form item is required if any of the form items is required.