All Implemented Interfaces:
TagBase, TdAttributable, ThAttributable, Serializable, Cloneable

public class ColSpan extends AbstractAttribute implements ThAttributable, TdAttributable
 <td colspan="number">
 The colspan attribute defines the number of columns a cell should span.

 
See Also:
  • Constructor Details

    • ColSpan

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

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

    • init

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

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

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