Class RangeFieldImpl

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

@Deprecated public class RangeFieldImpl extends AbstractDataComponent<RangeField> implements RangeField
Deprecated.
  • Constructor Details

    • RangeFieldImpl

      public RangeFieldImpl(Component parent)
      Deprecated.
  • Method Details

    • newInstanceForCopy

      protected RangeField 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<RangeField>
      Parameters:
      parent - the parent to set
      Returns:
      the new instance
    • setNiceType

      public void setNiceType(String niceType)
      Deprecated.
      Specified by:
      setNiceType in interface RangeField
      Parameters:
      niceType - eg 'date'
    • getNiceType

      public String getNiceType()
      Deprecated.
      Specified by:
      getNiceType in interface RangeField
    • setRangeAlign

      public void setRangeAlign(String rangeAlign)
      Deprecated.
      Description copied from interface: RangeField
      'h' = horizontal 'v' = vertical
      Specified by:
      setRangeAlign in interface RangeField
    • getRangeAlign

      public String getRangeAlign()
      Deprecated.
      Specified by:
      getRangeAlign in interface RangeField
    • 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<RangeField>
      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