Class TextAreaHandler<T extends TextArea>

All Implemented Interfaces:
ValidatorReceivable

public class TextAreaHandler<T extends TextArea> extends AbstractDataComponentHandler<T>
  • Field Details

    • height

      protected int height
    • heightGrowMin

      protected int heightGrowMin
    • heightGrowMax

      protected int heightGrowMax
  • Constructor Details

  • Method Details

    • getImplClass

      protected Class<? extends T> getImplClass()
      Description copied from class: AbstractComponentHandler
      A concrete class which implments T (not the handler). Expects a public-constructor which takes the parent Compononent.
      Specified by:
      getImplClass in class AbstractComponentHandler<T extends TextArea>
      Returns:
      the class
    • getInterface

      protected Class<T> getInterface()
      Description copied from class: AbstractComponentHandler
      Return the Interface which represents this component (not the handler). This interface is normally T
      Specified by:
      getInterface in class AbstractComponentHandler<T extends TextArea>
      Returns:
      interface-class
    • afterDataSet

      protected void afterDataSet()
      Description copied from class: AbstractDataComponentHandler
      Will be called at the or towards the end of afterFinish().

      This is abstract so that every implementer is forced to know about its existence.

      For an example see afterDataSet(); it assigns additional, component-specific data read from xml to the component: field.setRowHeight(rowHeight);

      Specified by:
      afterDataSet in class AbstractDataComponentHandler<T extends TextArea>
    • setHeight

      @Attribute("height") public void setHeight(int height)
    • setHeightGrowMin

      @Attribute("height-grow-min") public void setHeightGrowMin(int heightGrowMin)
    • setHeightGrowMax

      @Attribute("height-grow-max") public void setHeightGrowMax(int heightGrowMax)