Class FieldImpl

All Implemented Interfaces:
Component, LabeledComponent, Field, DataComponent

@Deprecated public final class FieldImpl extends AbstractDataComponent<Field> implements Field
Deprecated.
Internal-Component, which represents an untyped component. It has to be converted to an explicit component during the configuration-read-time. This conversion is based on the underlying-data. This component should never 'leak' out to the FormModel
  • Constructor Details

    • FieldImpl

      public FieldImpl(Component parent)
      Deprecated.
  • Method Details

    • mapAllAttributesTo

      public <T extends LabeledComponent & DataComponent> void mapAllAttributesTo(T comp)
      Deprecated.
      Description copied from interface: Field
      Copy all defaults to the target-component
      Specified by:
      mapAllAttributesTo in interface Field
      Parameters:
      comp - component
    • newInstanceForCopy

      protected Field newInstanceForCopy(Component parent)
      Deprecated.
      Description copied from class: AbstractComponent
      Will be called when a copy is requested Component.createCopy()! Create a new instanc of this component, copy the properties and return it. You don't have to copy the properties which are inherited from the abstract implmentation. Only copy the properties from the concrete implementation.

      The parent has to be the parent given in the argument parent

      Specified by:
      newInstanceForCopy in class AbstractComponent<Field>
      Parameters:
      parent - the parent to set
      Returns:
      the new instance
    • wrap

      public Component wrap(ComponentWrapperHandler handler)
      Deprecated.
      Description copied from interface: Component
      Wraps the component with the given interceptor handler.

      Feel free to add an unwrap() method when needed.

      Specified by:
      wrap in interface Component