public class HTMLTableElement extends RowContainer
HTMLTableElement.HTMLElement.ProxyDomNodeBEHAVIOR_ID_CLIENT_CAPS, BEHAVIOR_ID_DOWNLOAD, BEHAVIOR_ID_HOMEPAGEATTRIBUTE_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| Constructor and Description |
|---|
HTMLTableElement()
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
appendChild(Object childObject)
Adds a DOM node to the node.
|
Object |
createCaption()
If this table does not have a caption, this method creates an empty table caption,
adds it to the table and then returns it.
|
Object |
createTBody()
If this table does not have a tbody element, this method creates an empty tbody
element, adds it to the table and then returns it.
|
Object |
createTFoot()
If this table does not have a tfoot element, this method creates an empty tfoot
element, adds it to the table and then returns it.
|
Object |
createTHead()
If this table does not have a thead element, this method creates an empty
thead element, adds it to the table and then returns it.
|
void |
deleteCaption()
Deletes this table's caption.
|
void |
deleteTFoot()
Deletes this table's tfoot element.
|
void |
deleteTHead()
Deletes this table's thead element.
|
String |
getBgColor()
Returns the value of the
bgColor property. |
String |
getBorder()
Gets the
border property. |
String |
getBorderColor()
Gets the
borderColor property. |
String |
getBorderColorDark()
Gets the
borderColor property. |
String |
getBorderColorLight()
Gets the
borderColor property. |
Object |
getCaption()
Returns the table's caption element, or
null if none exists. |
String |
getCellPadding()
Returns the
cellPadding property. |
String |
getCellSpacing()
Returns the
cellSpacing property. |
String |
getInnerText()
Gets the innerText attribute.
|
String |
getRules()
Gets the
rules property. |
String |
getSummary()
Gets the
summary property. |
Object |
getTBodies()
Returns the tbody's in the table.
|
Object |
getTFoot()
Returns the table's tfoot element, or
null if none exists. |
Object |
getTHead()
Returns the table's thead element, or
null if none exists. |
String |
getWidth_js()
Returns the
width property. |
Object |
insertRow(int index)
Handle special case where table is empty.
|
protected boolean |
isContainedRow(HtmlTableRow row)
Indicates if the row belongs to this container.
|
Object |
removeChild(Object childObject)
Removes a DOM node from this node.
|
void |
setBgColor(String bgColor)
Sets the value of the
bgColor property. |
void |
setBorder(String border)
Sets the
border property. |
void |
setBorderColor(String borderColor)
Sets the
borderColor property. |
void |
setBorderColorDark(String borderColor)
Sets the
borderColor property. |
void |
setBorderColorLight(String borderColor)
Sets the
borderColor property. |
void |
setCaption(Object o)
Sets the caption.
|
void |
setCellPadding(String cellPadding)
Sets the
cellPadding property. |
void |
setCellSpacing(String cellSpacing)
Sets the
cellSpacing property. |
void |
setRules(String rules)
Sets the
rules property. |
void |
setSummary(String summary)
Sets the
summary property. |
void |
setTFoot(Object o)
Sets the tFoot.
|
void |
setTHead(Object o)
Sets the
tHead. |
void |
setWidth(String width)
Sets the
width property. |
deleteRow, getAlign, getRows, insertRow, moveRow, setAlignaddBehavior, addComponentRequest, blur, clearAttributes, clearComponentRequest, click, compareVersions, contains, doComponentRequest, focus, getAccessKey, getAlign, getAttributeNode, getAvailHeight, getAvailWidth, getBoundingClientRect, getBufferDepth, getCh, getChildren, getChOff, getClassList, getClassName_js, getColorDepth, getComponentVersion, getContentEditable, getCpuClass, getCurrentStyle, getDataset, getDir, getDomNodeOrDie, getDomNodeOrNull, getElementsByClassName, getForm, getHeight, getId, getInnerHTML, getLang, getLanguage, getLocalName, getName, getNodeName, getOffsetHeight, getOffsetLeft, getOffsetParent_js, getOffsetTop, getOffsetWidth, getOnabort, getOnactivate, getOnauxclick, getOnbeforeactivate, getOnbeforecopy, getOnbeforecut, getOnbeforedeactivate, getOnbeforepaste, getOnblur, getOncancel, getOncanplay, getOncanplaythrough, getOnchange, getOnclick, getOnclose, getOncontextmenu, getOncopy, getOncuechange, getOncut, getOndblclick, getOndeactivate, getOndrag, getOndragend, getOndragenter, getOndragleave, getOndragover, getOndragstart, getOndrop, getOndurationchange, getOnemptied, getOnended, getOnerror, getOnfocus, getOnfocusin, getOnfocusout, getOngotpointercapture, getOnhelp, getOninput, getOninvalid, getOnkeydown, getOnkeypress, getOnkeyup, getOnload, getOnloadeddata, getOnloadedmetadata, getOnloadstart, getOnlostpointercapture, getOnmousedown, getOnmouseenter, getOnmouseleave, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnmousewheel, getOnmozfullscreenchange, getOnmozfullscreenerror, getOnmscontentzoom, getOnmsmanipulationstatechanged, getOnpaste, getOnpause, getOnplay, getOnplaying, getOnpointercancel, getOnpointerdown, getOnpointerenter, getOnpointerleave, getOnpointermove, getOnpointerout, getOnpointerover, getOnpointerup, getOnprogress, getOnratechange, getOnreset, getOnresize, getOnscroll, getOnseeked, getOnseeking, getOnselect, getOnselectstart, getOnshow, getOnstalled, getOnsubmit, getOnsuspend, getOntimeupdate, getOntoggle, getOnvolumechange, getOnwaiting, getOnwheel, getOuterHTML, getParentElement, getParentHTMLElement, getPlatform, getPosX, getPosY, getPrefix, getRuntimeStyle, getStyle, getSystemLanguage, getTabIndex, getTitle, getUniqueID, getUserLanguage, getVAlign, getValue, getWidth, getWidthOrHeight, hasAttribute, insertAdjacentElement, insertAdjacentHTML, insertAdjacentText, isAncestorOfEventTarget, isComponentInstalled, isCookieEnabled, isDisabled, isEndTagForbidden, isHidden, isHomePage, isIsContentEditable, isJavaEnabled, isLowerCaseInOuterHtml, isSpellcheck, mergeAttributes, navigateHomePage, readAttributes, releaseCapture, removeBehavior, removeNode, scrollIntoView, setAccessKey, setActive, setAlign, setAttribute, setCapture, setCh, setChOff, setClassName_js, setColorAttribute, setContentEditable, setDir, setDisabled, setDomNode, setHidden, setHomePage, setId, setInnerHTML, setInnerText, setInnerTextImpl, setLang, setLanguage, setName, setOnabort, setOnactivate, setOnauxclick, setOnbeforeactivate, setOnbeforecopy, setOnbeforecut, setOnbeforedeactivate, setOnbeforepaste, setOnblur, setOncancel, setOncanplay, setOncanplaythrough, setOnchange, setOnclick, setOnclose, setOncontextmenu, setOncopy, setOncuechange, setOncut, setOndblclick, setOndeactivate, setOndrag, setOndragend, setOndragenter, setOndragleave, setOndragover, setOndragstart, setOndrop, setOndurationchange, setOnemptied, setOnended, setOnerror, setOnfocus, setOnfocusin, setOnfocusout, setOngotpointercapture, setOnhelp, setOninput, setOninvalid, setOnkeydown, setOnkeypress, setOnkeyup, setOnload, setOnloadeddata, setOnloadedmetadata, setOnloadstart, setOnlostpointercapture, setOnmousedown, setOnmouseenter, setOnmouseleave, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnmousewheel, setOnmozfullscreenchange, setOnmozfullscreenerror, setOnmscontentzoom, setOnmsmanipulationstatechanged, setOnpaste, setOnpause, setOnplay, setOnplaying, setOnpointercancel, setOnpointerdown, setOnpointerenter, setOnpointerleave, setOnpointermove, setOnpointerout, setOnpointerover, setOnpointerup, setOnprogress, setOnratechange, setOnreset, setOnresize, setOnscroll, setOnseeked, setOnseeking, setOnselect, setOnselectstart, setOnshow, setOnstalled, setOnsubmit, setOnsuspend, setOntimeupdate, setOntoggle, setOnvolumechange, setOnwaiting, setOnwheel, setOuterHTML, setSpellcheck, setStyle, setTabIndex, setTagUrn, setTextContent, setTitle, setVAlign, setValue, setWidthOrHeight, startDownload, toStringafter, before, createAttributesObject, createEventHandler, createTextRange, get, getAttribute, getAttributeNodeNS, getAttributeNS, getAttributes, getChildElementCount, getClientHeight, getClientLeft, getClientRects, getClientTop, getClientWidth, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getInnerHTML, getLastElementChild, getNamespaceURI, getNextElementSibling, getOnmsgesturechange, getOnmsgesturedoubletap, getOnmsgestureend, getOnmsgesturehold, getOnmsgesturestart, getOnmsgesturetap, getOnmsgotpointercapture, getOnmsinertiastart, getOnmslostpointercapture, getOnmspointercancel, getOnmspointerdown, getOnmspointerenter, getOnmspointerleave, getOnmspointermove, getOnmspointerout, getOnmspointerover, getOnmspointerup, getOnsearch, getOnwebkitfullscreenchange, getOnwebkitfullscreenerror, getPreviousElementSibling, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getTagName, hasAttributeNS, hasAttributes, isDisplayNone, matches, mozMatchesSelector, msMatchesSelector, printChildren, querySelector, querySelectorAll, remove, removeAttribute, removeAttributeNode, removeAttributeNS, replaceWith, scrollIntoViewIfNeeded, setAttributeNode, setAttributeNS, setDefaults, setOnmsgesturechange, setOnmsgesturedoubletap, setOnmsgestureend, setOnmsgesturehold, setOnmsgesturestart, setOnmsgesturetap, setOnmsgotpointercapture, setOnmsinertiastart, setOnmslostpointercapture, setOnmspointercancel, setOnmspointerdown, setOnmspointerenter, setOnmspointerleave, setOnmspointermove, setOnmspointerout, setOnmspointerover, setOnmspointerup, setOnsearch, setOnwebkitfullscreenchange, setOnwebkitfullscreenerror, setScrollLeft, setScrollTop, webkitMatchesSelectorasJavaScriptException, cloneNode, compareDocumentPosition, getBaseURI, getChildNodes, getFirstChild, getJavaScriptNode, getLastChild, getNextSibling, getNodeType, getNodeValue, getOwnerDocument, getParent, getParentNode, getPreviousSibling, getTextContent, hasChildNodes, insertBefore, insertBeforeImpl, isSameNode, normalize, replaceChild, setNodeValueaddEventListener, clearEventListenersContainer, dispatchEvent, executeEventLocally, fireEvent, getEventHandler, getEventListenersContainer, hasEventHandlers, isEventHandlerOnWindow, removeEventListener, setEventHandlerclone, equivalentValues, getBrowserVersion, getDefaultValue, getPrototype, getScriptableFor, getStartingScope, getWindow, getWindow, getWithPreemption, has, hasInstance, initParentScope, makeScriptableFor, setCaseSensitive, setDomNode, setHtmlElementdefineFunctionProperties, defineProperty, getClassName, put, setClassName, setParentScopeapplyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isReadOnlySettable, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setPrototype, sizepublic Object getCaption()
null if none exists. If more than one
caption is declared in the table, this method returns the first one.public void setCaption(Object o)
o - the captionpublic Object getTFoot()
null if none exists. If more than one
tfoot is declared in the table, this method returns the first one.public void setTFoot(Object o)
o - the tFootpublic Object getTHead()
null if none exists. If more than one
thead is declared in the table, this method returns the first one.public void setTHead(Object o)
tHead.o - the tHeadpublic Object getTBodies()
public Object createCaption()
public Object createTFoot()
public Object createTBody()
public Object createTHead()
public void deleteCaption()
public void deleteTFoot()
public void deleteTHead()
protected boolean isContainedRow(HtmlTableRow row)
isContainedRow in class RowContainerrow - the row to testtrue if it belongs to this containerpublic Object insertRow(int index)
insertRow in class RowContainerindex - the index where the row should be inserted (0 <= index <= nbRows)public String getWidth_js()
width property.width propertypublic void setWidth(String width)
width property.width - the width propertypublic String getCellSpacing()
cellSpacing property.cellSpacing propertypublic void setCellSpacing(String cellSpacing)
cellSpacing property.cellSpacing - the cellSpacing propertypublic String getCellPadding()
cellPadding property.cellPadding propertypublic void setCellPadding(String cellPadding)
cellPadding property.cellPadding - the cellPadding propertypublic String getBorder()
border property.border propertypublic void setBorder(String border)
border property.border - the border propertypublic String getBgColor()
bgColor property.bgColor propertypublic void setBgColor(String bgColor)
bgColor property.bgColor - the value of the bgColor propertypublic String getBorderColor()
borderColor property.public void setBorderColor(String borderColor)
borderColor property.borderColor - the new propertypublic String getBorderColorDark()
borderColor property.public void setBorderColorDark(String borderColor)
borderColor property.borderColor - the new propertypublic String getBorderColorLight()
borderColor property.public void setBorderColorLight(String borderColor)
borderColor property.borderColor - the new propertypublic String getInnerText()
getInnerText in class HTMLElementpublic Object appendChild(Object childObject)
appendChild in class NodechildObject - the node to add to this nodepublic Object removeChild(Object childObject)
removeChild in class NodechildObject - the node to remove from this nodepublic String getSummary()
summary property.public void setSummary(String summary)
summary property.summary - the new propertypublic String getRules()
rules property.public void setRules(String rules)
rules property.rules - the new propertyCopyright © 2002–2020 Gargoyle Software Inc.. All rights reserved.