All Implemented Interfaces:
TagBase, TextAreaAttributable, Serializable, Cloneable

public class Cols extends AbstractAttribute implements TextAreaAttributable
 <textarea cols="number">
 Specifies the width of the text area (in average character width). Default value is 20.

 
Since:
2.1.4
See Also:
  • Constructor Details

    • Cols

      public Cols()
      will be initialized with default value as 20.
      Since:
      2.1.4
    • Cols

      public Cols(String value)
      Parameters:
      value - the the number of columns to span
      Since:
      2.1.4
    • Cols

      public Cols(int value)
      Parameters:
      value - the the number of columns to span
      Since:
      2.1.4
  • Method Details

    • init

      protected void init()
      invokes only once per object
      Since:
      2.1.4
    • getValue

      public int getValue()
      Returns:
      the the number of columns spanned
      Since:
      2.1.4
    • setValue

      public void setValue(int index)
      Parameters:
      index - the the number of columns to span
      Since:
      2.1.4