Package org.loboevolution.html.dom
Interface HTMLTableRowElement
- All Superinterfaces:
Element
,EventTarget
,HTMLElement
,InnerHTML
,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 TypeMethodDescriptionvoid
deleteCell
(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.int
Retrieves the position of the object in the rows collection for the table.int
Retrieves 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.void
setAlign.void
setBgColor
(String bgColor) setBgColor.void
setCh.void
setChOff.void
setvAlign.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, toggleAttribute
Methods inherited from interface org.loboevolution.events.EventTarget
addEventListener, addEventListener, dispatchEvent, dispatchEvent, removeEventListener, removeEventListener
Methods inherited from interface org.loboevolution.html.dom.HTMLElement
click, getAccessKey, getAccessKeyLabel, getAutocapitalize, getContentEditable, getDir, getInnerText, getLang, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getTitle, isDraggable, isHidden, isSpellcheck, isTranslate, setAccessKey, setAutocapitalize, setContentEditable, setDir, setDraggable, setHidden, setInnerText, setLang, setSpellcheck, setTitle, setTranslate
Methods inherited from interface org.loboevolution.html.node.InnerHTML
setInnerHTML
Methods inherited from interface org.loboevolution.html.node.Node
appendChild, cloneNode, cloneNode, compareDocumentPosition, contains, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getRootNode, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isIsConnected, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, prepend, prependChild, removeChild, replaceChild, setNodeValue, setOwnerDocument, setPrefix, setTextContent, setUserData
Methods inherited from interface org.loboevolution.html.node.NonDocumentTypeChildNode
getNextElementSibling, getPreviousElementSibling
Methods 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
String
object.
-
setAlign
setAlign.
- Parameters:
align
- aString
object.
-
getBgColor
Deprecated.getBgColor.
- Returns:
- a
String
object.
-
setBgColor
setBgColor.
- Parameters:
bgColor
- aString
object.
-
getCells
HTMLCollection getCells()Retrieves a collection of all cells in the table row.- Returns:
- a
HTMLCollection
object.
-
getCh
Deprecated.getCh.
- Returns:
- a
String
object.
-
setCh
setCh.
- Parameters:
ch
- aString
object.
-
getChOff
Deprecated.getChOff.
- Returns:
- a
String
object.
-
setChOff
setChOff.
- Parameters:
chOff
- aString
object.
-
getRowIndex
int getRowIndex()Retrieves the position of the object in the rows collection for the table.- Returns:
- a
Integer
object.
-
getSectionRowIndex
int getSectionRowIndex()Retrieves the position of the object in the collection.- Returns:
- a
Integer
object.
-
getvAlign
Deprecated.getvAlign.
- Returns:
- a
String
object.
-
setvAlign
setvAlign.
- Parameters:
vAlign
- aString
object.
-
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
HTMLTableCellElement
object. - Throws:
Exception
- if any.
-
insertCell
HTMLTableCellElement insertCell()insertCell.
- Returns:
- a
HTMLTableCellElement
object.
-