All Implemented Interfaces:
Component, InputComponent, LabeledComponent, HtmlField, DataComponent

@Deprecated public class HtmlFieldImpl extends AbstractDataComponent<HtmlField> implements HtmlField
Deprecated.
  • Constructor Details

    • HtmlFieldImpl

      public HtmlFieldImpl(Component parent)
      Deprecated.
  • Method Details

    • newInstanceForCopy

      protected HtmlFieldImpl 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<HtmlField>
      Parameters:
      parent - the parent to set
      Returns:
      the new instance
    • setConfigType

      public void setConfigType(String configType)
      Deprecated.
      Specified by:
      setConfigType in interface HtmlField
    • getConfigType

      public String getConfigType()
      Deprecated.
      Specified by:
      getConfigType in interface HtmlField
    • setTemplate

      public void setTemplate(String template)
      Deprecated.
      Specified by:
      setTemplate in interface HtmlField
    • getTemplate

      public String getTemplate()
      Deprecated.
      Specified by:
      getTemplate in interface HtmlField
    • getHeight

      public int getHeight()
      Deprecated.
      Specified by:
      getHeight in interface HtmlField
    • setHeight

      public void setHeight(int height)
      Deprecated.
      Specified by:
      setHeight in interface HtmlField
    • getDefaultDataType

      public String getDefaultDataType()
      Deprecated.
      Description copied from interface: DataComponent
      Returns the default data type to use for this data component.

      For example a text-field uses the "string" while the email-field uses the virtual type "email".

      Specified by:
      getDefaultDataType in interface DataComponent
      Overrides:
      getDefaultDataType in class AbstractDataComponent<HtmlField>
      Returns:
      The name of the nice2 data type.
    • wrap

      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
    • mapAllAttributesTo

      protected void mapAllAttributesTo(Component comp)
      Deprecated.
      Description copied from class: AbstractComponent
      Copies the attributes of this component into the passed component.

      This is used to copy the attributes collected by the xml reading process from "general" field tags into datatype-specific customized fields (mapped by FieldComponentConverter). And also for copying instances, kind of like cloning.

      Override this in your subclasses. Also, subclasses are required to let their anchestors do their work using super.copyOtherFields(cpy).

      Overrides:
      mapAllAttributesTo in class AbstractDataComponent<HtmlField>
      Parameters:
      comp - The new field into which everything needs to be copied.