Class TableCellElement


@TagName({"td","th"}) public class TableCellElement extends Element
The object used to represent the TH and TD elements.
See Also:
  • Field Details

  • Constructor Details

    • TableCellElement

      protected TableCellElement()
  • Method Details

    • as

      public static TableCellElement 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 data in cell.
      See Also:
    • getCellIndex

      public final int getCellIndex()
      The index of this cell in the row, starting from 0. This index is in document tree order and not display order.
    • 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:
    • getColSpan

      public final int getColSpan()
      Number of columns spanned by cell.
      See Also:
    • getHeaders

      public final String getHeaders()
      List of id attribute values for header cells.
      See Also:
    • getRowSpan

      public final int getRowSpan()
      Number of rows spanned by cell.
      See Also:
    • getVAlign

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

      public final void setAlign(String align)
      Horizontal alignment of data in cell.
      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:
    • setColSpan

      public final void setColSpan(int colSpan)
      Number of columns spanned by cell.
      See Also:
    • setHeaders

      public final void setHeaders(String headers)
      List of id attribute values for header cells.
      See Also:
    • setRowSpan

      public final void setRowSpan(int rowSpan)
      Number of rows spanned by cell.
      See Also:
    • setVAlign

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