- すべてのスーパー・インタフェース:
Element
,HTMLElement
,Node
public interface HTMLTableSectionElement extends HTMLElement
THEAD
、TFOOT
、およびTBODY
の各要素。
「Document Object Model (DOM) Level 2 Specification」も参照してください。
- 導入されたバージョン:
- 1.4、DOMレベル2
-
フィールドのサマリー
インタフェースorg.w3c.dom.Nodeで宣言されているフィールド
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
-
メソッドのサマリー
インタフェースorg.w3c.dom.Elementで宣言されたメソッド
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
インタフェースorg.w3c.dom.html.HTMLElementで宣言されたメソッド
getClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle
インタフェースorg.w3c.dom.Nodeで宣言されたメソッド
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
-
メソッドの詳細
-
getAlign
String getAlign()セル内でのデータの水平位置。 詳細は、HTMLTheadElementのalign
属性を参照してください。 -
setAlign
void setAlign(String align) -
getCh
String getCh()列内のセル用の、桁揃え文字。 HTML 4.0のchar属性の定義を参照してください。 -
setCh
void setCh(String ch) -
getChOff
String getChOff()桁揃え文字のオフセット。 HTML 4.0のcharoff属性の定義を参照してください。 -
setChOff
void setChOff(String chOff) -
getVAlign
String getVAlign()セル内でのデータの垂直位置。 詳細は、HTMLTheadElementのvalign
属性を参照してください。 -
setVAlign
void setVAlign(String vAlign) -
getRows
HTMLCollection getRows()このテーブル・セクション内の行のコレクション。 -
insertRow
セクションに行を挿入します。 このセクションの現在のindex
行目の直前に、新しい行が挿入されます。index
がこのセクションの行数と等しい場合は、新しい行が追加されます。- パラメータ:
index
- 新しい行を挿入する行番号。 インデックスは0から始まり、このセクション内に含まれる行に対する値であり、テーブル内のすべての行に対する値ではない。- 戻り値:
- 新規作成された行。
- 例外:
DOMException
- INDEX_SIZE_ERR: 指定したインデックスが行数よりも大きいか、インデックスが負の値のときに発生する。
-
deleteRow
void deleteRow(int index) throws DOMException セクションから行を削除します。- パラメータ:
index
- 削除される行のインデックス。 インデックスは0から始まり、このセクション内に含まれる行に対する値であり、テーブル内のすべての行に対する値ではない。- 例外:
DOMException
- INDEX_SIZE_ERR: 指定したインデックスが行数以上か、インデックスが負の値のときに発生する。
-