Module org.htmlunit

Class HTMLTableSectionElement

java.lang.Object
org.htmlunit.corejs.javascript.SlotMapOwner<org.htmlunit.corejs.javascript.Scriptable>
All Implemented Interfaces:
Serializable, Cloneable, org.htmlunit.corejs.javascript.ConstProperties<org.htmlunit.corejs.javascript.Scriptable>, org.htmlunit.corejs.javascript.debug.DebuggableObject, org.htmlunit.corejs.javascript.PropHolder<org.htmlunit.corejs.javascript.Scriptable>, org.htmlunit.corejs.javascript.Scriptable, org.htmlunit.corejs.javascript.SymbolScriptable

public class HTMLTableSectionElement extends HTMLElement
A JavaScript object representing "HTMLTableSectionElement", it is used by HtmlTableBody, HtmlTableHeader, and HtmlTableFooter.
Author:
Daniel Gredler, Ahmed Ashour, Ronald Brill
See Also:
  • Constructor Details

    • HTMLTableSectionElement

      public HTMLTableSectionElement()
  • Method Details

    • jsConstructor

      public void jsConstructor()
      JavaScript constructor.
      Overrides:
      jsConstructor in class HTMLElement
    • getVAlign

      public String getVAlign()
      Returns the value of the vAlign property.
      Returns:
      the value of the vAlign property
    • setVAlign

      public void setVAlign(Object vAlign)
      Sets the value of the vAlign property.
      Parameters:
      vAlign - the value of the vAlign property
    • getCh

      public String getCh()
      Returns the value of the ch property.
      Overrides:
      getCh in class HTMLElement
      Returns:
      the value of the ch property
    • setCh

      public void setCh(String ch)
      Sets the value of the ch property.
      Overrides:
      setCh in class HTMLElement
      Parameters:
      ch - the value of the ch property
    • getChOff

      public String getChOff()
      Returns the value of the chOff property.
      Overrides:
      getChOff in class HTMLElement
      Returns:
      the value of the chOff property
    • setChOff

      public void setChOff(String chOff)
      Sets the value of the chOff property.
      Overrides:
      setChOff in class HTMLElement
      Parameters:
      chOff - the value of the chOff property
    • getRows

      public HTMLCollection getRows()
      Returns the rows in the element.
      Returns:
      the rows in the element
    • isContainedRow

      protected boolean isContainedRow(HtmlTableRow row)
      Indicates if the row belongs to this container.
      Parameters:
      row - the row to test
      Returns:
      true if it belongs to this container
    • deleteRow

      public void deleteRow(int rowIndex)
      Deletes the row at the specified index.
      Parameters:
      rowIndex - the zero-based index of the row to delete
      See Also:
    • insertRow

      public HtmlUnitScriptable insertRow(Object index)
      Inserts a new row at the specified index in the element's row collection. If the index is -1 or there is no index specified, then the row is appended at the end of the element's row collection.
      Parameters:
      index - specifies where to insert the row in the row's collection. The default value is -1, which appends the new row to the end of the rows collection
      Returns:
      the newly-created row
      See Also:
    • insertRow

      public HtmlUnitScriptable insertRow(int index)
      Inserts a new row at the given position.
      Parameters:
      index - the index where the row should be inserted (0 <= index <= nbRows)
      Returns:
      the inserted row
    • getAlign

      public String getAlign()
      Returns the value of the align property.
      Returns:
      the value of the align property
    • setAlign

      public void setAlign(String align)
      Sets the value of the align property.
      Parameters:
      align - the value of the align property