public class HTMLTableElement extends HTMLElement
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier and Type | Field and Description |
---|---|
Objs.Property<String> |
align
Sets or retrieves a value that indicates the table alignment.
|
Objs.Property<Object> |
bgColor |
Objs.Property<String> |
border
Sets or retrieves the width of the border to draw around the object.
|
Objs.Property<Object> |
borderColor
Sets or retrieves the border color of the object.
|
Objs.Property<HTMLTableCaptionElement> |
caption
Retrieves the caption object of a table.
|
Objs.Property<String> |
cellPadding
Sets or retrieves the amount of space between the border of the cell and the content of the cell.
|
Objs.Property<String> |
cellSpacing
Sets or retrieves the amount of space between cells in a table.
|
Objs.Property<Number> |
cols
Sets or retrieves the number of columns in the table.
|
Objs.Property<String> |
frame
Sets or retrieves the way the border frame around the table is displayed.
|
Objs.Property<Object> |
height
Sets or retrieves the height of the object.
|
Objs.Property<HTMLCollection> |
rows
Sets or retrieves the number of horizontal rows contained in the object.
|
Objs.Property<String> |
rules
Sets or retrieves which dividing lines (inner borders) are displayed.
|
Objs.Property<String> |
summary
Sets or retrieves a description and/or structure of the object.
|
Objs.Property<HTMLCollection> |
tBodies
Retrieves a collection of all tBody objects in the table.
|
Objs.Property<HTMLTableSectionElement> |
tFoot
Retrieves the tFoot object of the table.
|
Objs.Property<HTMLTableSectionElement> |
tHead
Retrieves the tHead object of the table.
|
Objs.Property<String> |
width
Sets or retrieves the width of the object.
|
accessKey, contentEditable, dataset, dir, draggable, hidden, hideFocus, children, innerHTML, innerText, isContentEditable, lang, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, onabort, onactivate, onbeforeactivate, onbeforecopy, onbeforecut, onbeforedeactivate, onbeforepaste, onblur, oncanplay, oncanplaythrough, onclick, oncontextmenu, oncopy, oncuechange, oncut, ondblclick, ondeactivate, ondrag, ondragend, ondragenter, ondragleave, ondragover, ondragstart, ondrop, ondurationchange, onemptied, onended, onerror, onfocus, onchange, oninput, onkeydown, onkeypress, onkeyup, onload, onloadeddata, onloadedmetadata, onloadstart, onmousedown, onmouseenter, onmouseleave, onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel, onmscontentzoom, onmsmanipulationstatechanged, onpaste, onpause, onplay, onplaying, onprogress, onratechange, onreset, onscroll, onseeked, onseeking, onselect, onselectstart, onstalled, onsubmit, onsuspend, ontimeupdate, onvolumechange, onwaiting, outerHTML, outerText, spellcheck, style, tabIndex, title
classList, className, clientHeight, clientLeft, clientTop, clientWidth, id, msContentZoomFactor, msRegionOverflow, onariarequest, oncommand, ongotpointercapture, onlostpointercapture, onmsgesturedoubletap, onmsgestureend, onmsgesturehold, onmsgesturechange, onmsgesturestart, onmsgesturetap, onmsgotpointercapture, onmsinertiastart, onmslostpointercapture, onmspointercancel, onmspointerdown, onmspointerenter, onmspointerleave, onmspointermove, onmspointerout, onmspointerover, onmspointerup, ontouchcancel, ontouchend, ontouchmove, ontouchstart, onwebkitfullscreenerror, onwebkitfullscreenchange, scrollHeight, scrollLeft, scrollTop, scrollWidth, tagName
ATTRIBUTE_NODE, attributes, baseURI, 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, firstChild, childNodes, lastChild, localName, namespaceURI, nextSibling, nodeName, nodeType, nodeValue, NOTATION_NODE, ownerDocument, parentElement, parentNode, prefix, previousSibling, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, textContent
Modifier | Constructor and Description |
---|---|
protected |
HTMLTableElement(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
static HTMLTableElement |
$as(Object obj) |
String |
align() |
String |
border() |
HTMLTableCaptionElement |
caption() |
String |
cellPadding() |
String |
cellSpacing() |
Number |
cols() |
HTMLElement |
createCaption()
Creates an empty caption element in the table.
|
HTMLElement |
createTBody()
Creates an empty tBody element in the table.
|
HTMLElement |
createTFoot()
Creates an empty tFoot element in the table.
|
HTMLElement |
createTHead()
Returns the tHead element object if successful, or null otherwise.
|
void |
deleteCaption()
Deletes the caption element and its contents from the table.
|
void |
deleteRow()
Removes the specified row (tr) from the element and from the rows collection.
|
void |
deleteRow(double index)
Removes the specified row (tr) from the element and from the rows collection.
|
void |
deleteTFoot()
Deletes the tFoot element and its contents from the table.
|
void |
deleteTHead()
Deletes the tHead element and its contents from the table.
|
String |
frame() |
HTMLElement |
insertRow()
Creates a new row (tr) in the table, and adds the row to the rows collection.
|
HTMLElement |
insertRow(double index)
Creates a new row (tr) in the table, and adds the row to the rows collection.
|
HTMLCollection |
rows() |
String |
rules() |
String |
summary() |
HTMLCollection |
tBodies() |
HTMLTableSectionElement |
tFoot() |
HTMLTableSectionElement |
tHead() |
String |
width() |
accessKey, addEventListener, addEventListener, addEventListener, addEventListener, addEventListener, addEventListener, blur, click, contains, contentEditable, dataset, dir, dragDrop, draggable, focus, hidden, hideFocus, children, innerHTML, innerText, insertAdjacentElement, insertAdjacentHTML, insertAdjacentText, isContentEditable, lang, msGetInputContext, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, onabort, onactivate, onbeforeactivate, onbeforecopy, onbeforecut, onbeforedeactivate, onbeforepaste, onblur, oncanplay, oncanplaythrough, onclick, oncontextmenu, oncopy, oncuechange, oncut, ondblclick, ondeactivate, ondrag, ondragend, ondragenter, ondragleave, ondragover, ondragstart, ondrop, ondurationchange, onemptied, onended, onerror, onfocus, onchange, oninput, onkeydown, onkeypress, onkeyup, onload, onloadeddata, onloadedmetadata, onloadstart, onmousedown, onmouseenter, onmouseleave, onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel, onmscontentzoom, onmsmanipulationstatechanged, onpaste, onpause, onplay, onplaying, onprogress, onratechange, onreset, onscroll, onseeked, onseeking, onselect, onselectstart, onstalled, onsubmit, onsuspend, ontimeupdate, onvolumechange, onwaiting, outerHTML, outerText, scrollIntoView, scrollIntoView, setActive, spellcheck, style, tabIndex, title
classList, className, clientHeight, clientLeft, clientTop, clientWidth, getAttribute, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBoundingClientRect, getClientRects, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, hasAttribute, hasAttributeNS, id, msContentZoomFactor, msGetRegionContent, msGetUntransformedBounds, msMatchesSelector, msRegionOverflow, msReleasePointerCapture, msSetPointerCapture, msZoomTo, onariarequest, oncommand, ongotpointercapture, onlostpointercapture, onmsgesturedoubletap, onmsgestureend, onmsgesturehold, onmsgesturechange, onmsgesturestart, onmsgesturetap, onmsgotpointercapture, onmsinertiastart, onmslostpointercapture, onmspointercancel, onmspointerdown, onmspointerenter, onmspointerleave, onmspointermove, onmspointerout, onmspointerover, onmspointerup, ontouchcancel, ontouchend, ontouchmove, ontouchstart, onwebkitfullscreenerror, onwebkitfullscreenchange, releasePointerCapture, removeAttribute, removeAttribute, removeAttributeNode, removeAttributeNS, requestFullscreen, requestPointerLock, scrollHeight, scrollLeft, scrollTop, scrollWidth, setAttribute, setAttribute, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setPointerCapture, tagName, webkitMatchesSelector, webkitRequestFullscreen, webkitRequestFullScreen
appendChild, ATTRIBUTE_NODE, attributes, baseURI, CDATA_SECTION_NODE, cloneNode, cloneNode, COMMENT_NODE, compareDocumentPosition, 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, firstChild, hasAttributes, hasChildNodes, childNodes, insertBefore, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, lastChild, localName, lookupNamespaceURI, lookupPrefix, namespaceURI, nextSibling, nodeName, nodeType, nodeValue, normalize, NOTATION_NODE, ownerDocument, parentElement, parentNode, prefix, previousSibling, PROCESSING_INSTRUCTION_NODE, removeChild, replaceChild, TEXT_NODE, textContent
dispatchEvent, removeEventListener, removeEventListener, removeEventListener, removeEventListener
$as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOf
public Objs.Property<String> align
public Objs.Property<Object> bgColor
public Objs.Property<String> border
public Objs.Property<Object> borderColor
public Objs.Property<HTMLTableCaptionElement> caption
public Objs.Property<String> cellPadding
public Objs.Property<String> cellSpacing
public Objs.Property<Number> cols
public Objs.Property<String> frame
public Objs.Property<Object> height
public Objs.Property<HTMLCollection> rows
public Objs.Property<String> rules
public Objs.Property<String> summary
public Objs.Property<HTMLCollection> tBodies
public Objs.Property<HTMLTableSectionElement> tFoot
public Objs.Property<HTMLTableSectionElement> tHead
public Objs.Property<String> width
protected HTMLTableElement(Objs.Constructor<?> c, Object js)
public static HTMLTableElement $as(Object obj)
public String align()
public String border()
public HTMLTableCaptionElement caption()
public String cellPadding()
public String cellSpacing()
public Number cols()
public String frame()
public HTMLCollection rows()
public String rules()
public String summary()
public HTMLCollection tBodies()
public HTMLTableSectionElement tFoot()
public HTMLTableSectionElement tHead()
public String width()
public HTMLElement createCaption()
public HTMLElement createTBody()
public HTMLElement createTFoot()
public HTMLElement createTHead()
public void deleteCaption()
public void deleteRow(double index)
index
- Number that specifies the zero-based position in the rows collection of the row to remove.public void deleteRow()
index
- Number that specifies the zero-based position in the rows collection of the row to remove.public void deleteTFoot()
public void deleteTHead()
public HTMLElement insertRow(double index)
index
- Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.public HTMLElement insertRow()
index
- Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.Copyright © 2018. All rights reserved.