Package org.loboevolution.html.dom
Interface HTMLTableRowElement
- All Superinterfaces:
Element,EventTarget,HTMLElement,InnerHTML,ModelNode,Node,NonDocumentTypeChildNode,ParentNode
- All Known Implementing Classes:
HTMLTableRowElementImpl
Provides special properties and methods (beyond the HTMLElement interface it also has available to it by inheritance)
for manipulating the layout and presentation of rows in an HTML table.
-
Field Summary
Fields inherited from interface org.loboevolution.html.node.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, NONE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteCell(int index) Removes the specified cell from the table row, as well as from the cells collection.getAlign()Deprecated.Deprecated.getCells()Retrieves a collection of all cells in the table row.getCh()Deprecated.getChOff()Deprecated.intRetrieves the position of the object in the rows collection for the table.intRetrieves the position of the object in the collection.Deprecated.insertCell.insertCell(Object index) Creates a new cell in the table row, and adds the cell to the cells collection.voidsetAlign.voidsetBgColor(String bgColor) setBgColor.voidsetCh.voidsetChOff.voidsetvAlign.Methods inherited from interface org.loboevolution.html.node.Element
closest, getAttribute, getAttributeNames, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBoundingClientRect, getClassList, getClassName, getClientHeight, getClientLeft, getClientRects, getClientTop, getClientWidth, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getId, getInnerHTML, getLocalName, getNamespaceURI, getOuterHTML, getPrefix, getSchemaTypeInfo, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getSlot, getTagName, hasAttribute, hasAttributeNS, hasPointerCapture, insertAdjacentElement, insertAdjacentHTML, matches, releasePointerCapture, removeAttribute, removeAttributeNode, removeAttributeNS, requestPointerLock, scroll, scrollBy, scrollIntoView, scrollIntoView, scrollTo, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setId, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOuterHTML, setPointerCapture, setScrollLeft, setScrollTop, setSlot, toggleAttribute, toggleAttributeMethods inherited from interface org.loboevolution.events.EventTarget
addEventListener, addEventListener, dispatchEvent, dispatchEvent, removeEventListener, removeEventListenerMethods inherited from interface org.loboevolution.html.dom.HTMLElement
click, getAccessKey, getAccessKeyLabel, getAutocapitalize, getContentEditable, getCurrentStyle, getDir, getInnerText, getLang, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getStyle, getTitle, isDraggable, isHidden, isSpellcheck, isTranslate, setAccessKey, setAutocapitalize, setContentEditable, setDir, setDraggable, setHidden, setInnerText, setLang, setSpellcheck, setTitle, setTranslateMethods inherited from interface org.loboevolution.html.node.InnerHTML
setInnerHTMLMethods inherited from interface org.loboevolution.html.node.ModelNode
getDocumentItem, getFullURL, getParentModelNode, getRenderState, isEqualOrDescendentOf, setDocumentItem, warnMethods inherited from interface org.loboevolution.html.node.Node
appendChild, appendChildrenToCollectionImpl, cloneNode, cloneNode, compareDocumentPosition, contains, extractDescendentsArrayImpl, findUINode, forgetRenderState, getAttributes, getBaseURI, getChildNodes, getDocumentNode, getFeature, getFirstChild, getLastChild, getNextSibling, getNextTo, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getPreviousTo, getRootNode, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isIsConnected, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, prepend, prependChild, removeChild, replaceChild, setNamespaceURI, setNodeValue, setOwnerDocument, setOwnerDocument, setParentImpl, setPrefix, setTextContent, setUserData, visitMethods inherited from interface org.loboevolution.html.node.NonDocumentTypeChildNode
getNextElementSibling, getPreviousElementSiblingMethods inherited from interface org.loboevolution.html.node.ParentNode
getChildElementCount, getChildren, getFirstElementChild, getLastElementChild, querySelector, querySelectorAll
-
Method Details
-
getAlign
Deprecated.Sets or retrieves how the object is aligned with adjacent text.- Returns:
- a
Stringobject.
-
setAlign
setAlign.
- Parameters:
align- aStringobject.
-
getBgColor
Deprecated.getBgColor.
- Returns:
- a
Stringobject.
-
setBgColor
setBgColor.
- Parameters:
bgColor- aStringobject.
-
getCells
HTMLCollection getCells()Retrieves a collection of all cells in the table row.- Returns:
- a
HTMLCollectionobject.
-
getCh
Deprecated.getCh.
- Returns:
- a
Stringobject.
-
setCh
setCh.
- Parameters:
ch- aStringobject.
-
getChOff
Deprecated.getChOff.
- Returns:
- a
Stringobject.
-
setChOff
setChOff.
- Parameters:
chOff- aStringobject.
-
getRowIndex
int getRowIndex()Retrieves the position of the object in the rows collection for the table.- Returns:
- a
Integerobject.
-
getSectionRowIndex
int getSectionRowIndex()Retrieves the position of the object in the collection.- Returns:
- a
Integerobject.
-
getvAlign
Deprecated.getvAlign.
- Returns:
- a
Stringobject.
-
setvAlign
setvAlign.
- Parameters:
vAlign- aStringobject.
-
deleteCell
void deleteCell(int index) Removes the specified cell from the table row, as well as from the cells collection.- Parameters:
index- Number that specifies the zero-based position of the cell to remove from the table row. If no value is provided, the last cell in the cells collection is deleted.
-
insertCell
Creates a new cell in the table row, and adds the cell to the cells collection.- Parameters:
index- Number that specifies where to insert the cell in the tr. The default value is -1, which appends the new cell to the end of the cells collection.- Returns:
- a
HTMLTableCellElementobject. - Throws:
Exception- if any.
-
insertCell
HTMLTableCellElement insertCell()insertCell.
- Returns:
- a
HTMLTableCellElementobject.
-