Class TableColElement


@TagName({"col","colgroup"}) public class TableColElement extends Element
Regroups the COL and COLGROUP elements.
See Also:
  • Field Details

  • Constructor Details

    • TableColElement

      protected TableColElement()
  • Method Details

    • as

      public static TableColElement as(Element elem)
      Assert that the given Element is compatible with this class and automatically typecast it.
    • is

      public static boolean is(JavaScriptObject o)
      Determines whether the given JavaScriptObject can be cast to this class. A null object will cause this method to return false.
    • is

      public static boolean is(Node node)
      Determine whether the given Node can be cast to this class. A null node will cause this method to return false.
    • is

      public static boolean is(Element elem)
      Determine whether the given Element can be cast to this class. A null node will cause this method to return false.
    • getAlign

      public final String getAlign()
      Horizontal alignment of cell data in column.
      See Also:
    • getCh

      public final String getCh()
      Alignment character for cells in a column.
      See Also:
    • getChOff

      public final String getChOff()
      Offset of alignment character.
      See Also:
    • getSpan

      public final int getSpan()
      Indicates the number of columns in a group or affected by a grouping.
      See Also:
    • getVAlign

      public final String getVAlign()
      Vertical alignment of cell data in column.
      See Also:
    • getWidth

      public final String getWidth()
      Default column width.
      See Also:
    • setAlign

      public final void setAlign(String align)
      Horizontal alignment of cell data in column.
      See Also:
    • setCh

      public final void setCh(String ch)
      Alignment character for cells in a column.
      See Also:
    • setChOff

      public final void setChOff(String chOff)
      Offset of alignment character.
      See Also:
    • setSpan

      public final void setSpan(int span)
      Indicates the number of columns in a group or affected by a grouping.
      See Also:
    • setVAlign

      public final void setVAlign(String vAlign)
      Vertical alignment of cell data in column.
      See Also:
    • setWidth

      public final void setWidth(String width)
      Default column width.
      See Also: