Class HTMLTableElementImpl
java.lang.Object
org.loboevolution.js.AbstractScriptableDelegate
org.loboevolution.html.dom.nodeimpl.event.EventTargetImpl
org.loboevolution.html.dom.nodeimpl.NodeImpl
org.loboevolution.html.dom.nodeimpl.ElementImpl
org.loboevolution.html.dom.domimpl.HTMLElementImpl
org.loboevolution.html.dom.domimpl.HTMLTableElementImpl
- All Implemented Interfaces:
Cloneable
,EventTarget
,GlobalEventHandlers
,HTMLElement
,HTMLTableElement
,ModelNode
,Element
,InnerHTML
,Node
,NonDocumentTypeChildNode
,ParentNode
,CSSPropertiesContext
,ScriptableDelegate
HTMLTableElementImpl class.
-
Field Summary
Fields inherited from class org.loboevolution.html.dom.nodeimpl.NodeImpl
document, nodeList, notificationsSuspended, parentNode, uiNode
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
-
Constructor Summary
ConstructorDescriptionConstructor for HTMLTableElementImpl.HTMLTableElementImpl
(String name) Constructor for HTMLTableElementImpl. -
Method Summary
Modifier and TypeMethodDescriptionCreates an empty caption element in the table.protected RenderState
createRenderState
(RenderState prevRenderState) createRenderState.Creates an empty tBody element in the table.Creates an empty tFoot element in the table.Returns the tHead element object if successful, or null otherwise.void
Deletes the caption element and its contents from the table.void
deleteRow
(int index) Removes the specified row (tr) from the element and from the rows collection.void
Deletes the tBody element and its contents from the table.void
Deletes the tFoot element and its contents from the table.void
Deletes the tHead element and its contents from the table.getAlign()
Sets or retrieves a value that indicates the table alignment.getBgColor.Sets or retrieves the width of the border to draw around the object.Retrieves the caption object of a table.Sets or retrieves the amount of space between the border of the cell and the content of the cell.Sets or retrieves the amount of space between cells in a table.getFrame()
Sets or retrieves the way the border frame around the table is displayed.getRows()
Sets or retrieves the number of horizontal rows contained in the object.getRules()
Sets or retrieves which dividing lines (inner borders) are displayed.Sets or retrieves a description and/or structure of the object.Retrieves a collection of all tBody objects in the table.gettFoot()
Retrieves the tFoot object of the table.gettHead()
Retrieves the tHead object of the table.getWidth()
Sets or retrieves the width of the object.insertRow.insertRow
(int index) Creates a new row (tr) in the table, and adds the row to the rows collection.void
setAlign.void
setBgColor
(String bgColor) setBgColor.void
setBorder.void
setCaption
(HTMLTableCaptionElement caption) setCaption.void
setCellPadding
(String cellPadding) setCellPadding.void
setCellSpacing
(String cellSpacing) setCellSpacing.void
setFrame.void
setRules.void
setSummary
(String summary) setSummary.void
settFoot
(HTMLTableSectionElement tFoot) settFoot.void
settHead
(HTMLTableSectionElement tHead) settHead.void
setWidth.toString()
Methods inherited from class org.loboevolution.html.dom.domimpl.HTMLElementImpl
assignAttributeField, click, findStyleDeclarations, forgetLocalStyle, forgetStyle, getAccessKey, getAccessKeyLabel, getAncestorForJavaClass, getAttributeAsBoolean, getAttributeAsInt, getAutocapitalize, getCharset, getComputedStyle, getComputedStyle, getContentEditable, getCurrentStyle, getDocumentBaseURI, getFormInputs, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getOnabort, getOnanimationcancel, getOnanimationend, getOnanimationiteration, getOnanimationstart, getOnauxclick, getOnblur, getOncancel, getOncanplay, getOncanplaythrough, getOnchange, getOnclick, getOnclose, getOncontextmenu, getOncuechange, getOndblclick, getOndrag, getOndragend, getOndragenter, getOndragexit, getOndragleave, getOndragover, getOndragstart, getOndrop, getOndurationchange, getOnemptied, getOnended, getOnerror, getOnfocus, getOnfocusin, getOnfocusout, getOnfullscreenchange, getOngotpointercapture, getOninput, getOninvalid, getOnkeydown, getOnkeypress, getOnkeyup, getOnload, getOnloadeddata, getOnloadedmetadata, getOnloadend, getOnloadstart, getOnlostpointercapture, getOnmousedown, getOnmouseenter, getOnmouseleave, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnpause, getOnplay, getOnplaying, getOnpointercancel, getOnpointerdown, getOnpointerenter, getOnpointerleave, getOnpointermove, getOnpointerout, getOnpointerover, getOnpointerup, getOnprogress, getOnratechange, getOnreset, getOnresize, getOnscroll, getOnsecuritypolicyviolation, getOnseeked, getOnseeking, getOnselect, getOnselectionchange, getOnselectstart, getOnstalled, getOnsubmit, getOnsuspend, getOntimeupdate, getOntoggle, getOntouchcancel, getOntouchend, getOntouchmove, getOntouchstart, getOntransitioncancel, getOntransitionend, getOntransitionrun, getOntransitionstart, getOnvolumechange, getOnwaiting, getOnwheel, getParent, getParentStyle, getStyle, informInvalid, informInvalidAttibute, isDraggable, isHidden, isSpellcheck, isTranslate, setAccessKey, setAutocapitalize, setCharset, setContentEditable, setDraggable, setHidden, setMouseOver, setOnabort, setOnanimationcancel, setOnanimationend, setOnanimationiteration, setOnanimationstart, setOnauxclick, setOnblur, setOncancel, setOncanplay, setOncanplaythrough, setOnchange, setOnclick, setOnclose, setOncontextmenu, setOncuechange, setOndblclick, setOndrag, setOndragend, setOndragenter, setOndragexit, setOndragleave, setOndragover, setOndragstart, setOndrop, setOndurationchange, setOnemptied, setOnended, setOnerror, setOnfocus, setOnfocusin, setOnfocusout, setOngotpointercapture, setOninput, setOninvalid, setOnkeydown, setOnkeypress, setOnkeyup, setOnload, setOnloadeddata, setOnloadedmetadata, setOnloadend, setOnloadstart, setOnlostpointercapture, setOnmousedown, setOnmouseenter, setOnmouseleave, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnoffline, setOnpause, setOnplay, setOnplaying, setOnpointercancel, setOnpointerdown, setOnpointerenter, setOnpointerleave, setOnpointermove, setOnpointerout, setOnpointerover, setOnpointerup, setOnprogress, setOnratechange, setOnreset, setOnresize, setOnscroll, setOnsecuritypolicyviolation, setOnseeked, setOnseeking, setOnselect, setOnselectionchange, setOnselectstart, setOnstalled, setOnsubmit, setOnsuspend, setOntimeupdate, setOntoggle, setOntouchcancel, setOntouchend, setOntouchmove, setOntouchstart, setOntransitioncancel, setOntransitionend, setOntransitionrun, setOntransitionstart, setOnvolumechange, setOnwaiting, setOnwheel, setSpellcheck, setStyle, setTranslate, warn, warn
Methods inherited from class org.loboevolution.html.dom.nodeimpl.ElementImpl
appendOuterHTMLImpl, calculateHeight, calculateWidth, closest, getAttribute, getAttributeNames, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getBoundingClientRect, getChildElementCount, getClassList, getClassName, getClientHeight, getClientLeft, getClientRects, getClientTop, getClientWidth, getDir, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getId, getInnerHTML, getInnerText, getLang, getLastElementChild, getLocalName, getNodeName, getNodeType, getNodeValue, getOuterHTML, getRawInnerText, getSchemaTypeInfo, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getSlot, getTagName, getTitle, hasAttribute, hasAttributeNS, hasAttributes, hasPointerCapture, htmlEncodeChildText, insertAdjacentElement, insertAdjacentHTML, isEqualNode, matches, querySelector, querySelectorAll, releasePointerCapture, removeAttribute, removeAttributeNode, removeAttributeNS, requestPointerLock, scroll, scrollBy, scrollIntoView, scrollIntoView, scrollTo, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setDir, setId, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setInnerHTML, setInnerText, setLang, setNodeValue, setOuterHTML, setPointerCapture, setScrollLeft, setScrollTop, setSlot, setTitle, toggleAttribute, toggleAttribute
Methods inherited from class org.loboevolution.html.dom.nodeimpl.NodeImpl
appendChild, appendInnerHTMLImpl, appendInnerTextImpl, clone, cloneNode, cloneNode, compareDocumentPosition, contains, findUINode, forgetRenderState, getATTRIBUTE_NODE, getBaseURI, getCDATA_SECTION_NODE, getChildIndex, getChildNodes, getChildren, getCOMMENT_NODE, getDescendents, getDOCUMENT_FRAGMENT_NODE, getDOCUMENT_NODE, getDOCUMENT_POSITION_CONTAINED_BY, getDOCUMENT_POSITION_CONTAINS, getDOCUMENT_POSITION_DISCONNECTED, getDOCUMENT_POSITION_FOLLOWING, getDOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, getDOCUMENT_POSITION_PRECEDING, getDOCUMENT_TYPE_NODE, getDocumentItem, getDocumentNode, getDocumentURL, getELEMENT_NODE, getENTITY_NODE, getENTITY_REFERENCE_NODE, getFeature, getFirstChild, getFirstChildByFilter, getFullURL, getHtmlRendererConfig, getHtmlRendererContext, getLastChild, getNamespaceURI, getNextElementSibling, getNextSibling, getNodeList, getNONE, getNOTATION_NODE, getOwnerDocument, getParentElement, getParentModelNode, getParentNode, getParentRenderState, getPrefix, getPreviousElementSibling, getPreviousSibling, getPROCESSING_INSTRUCTION_NODE, getRenderState, getRootNode, getTEXT_NODE, getTextContent, getUINode, getUserAgentContext, getUserData, hasChildNodes, informLayoutInvalid, informLookInvalid, informNodeLoaded, informPositionInvalid, informSizeInvalid, informStructureInvalid, insertAfter, insertAt, insertBefore, isDefaultNamespace, isEqualOrDescendentOf, isIsConnected, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, prepend, prependChild, removeChild, removeChildAt, removeChildrenImpl, removeTableChildren, replaceAdjacentTextNodes, replaceChild, setDocumentItem, setOwnerDocument, setOwnerDocument, setParentImpl, setPrefix, setTextContent, setUINode, setUserData, visit, visitImpl
Methods inherited from class org.loboevolution.html.dom.nodeimpl.event.EventTargetImpl
addEventListener, addEventListener, dispatchEvent, dispatchEvent, getFunction, removeEventListener, removeEventListener
Methods inherited from class org.loboevolution.js.AbstractScriptableDelegate
getScriptable, setScriptable
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.loboevolution.html.style.CSSPropertiesContext
informLayoutInvalid, informLookInvalid, informPositionInvalid, informSizeInvalid
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.events.GlobalEventHandlers
addAbortEventListener, addAbortEventListener, addAnimationCancelEventListener, addAnimationCancelEventListener, addAnimationEndEventListener, addAnimationEndEventListener, addAnimationIterationEventListener, addAnimationIterationEventListener, addAnimationStartEventListener, addAnimationStartEventListener, addAuxClickEventListener, addAuxClickEventListener, addBlurEventListener, addBlurEventListener, addCancelEventListener, addCancelEventListener, addCanPlayEventListener, addCanPlayEventListener, addCanPlayThroughEventListener, addCanPlayThroughEventListener, addChangeEventListener, addChangeEventListener, addClickEventListener, addClickEventListener, addCloseEventListener, addCloseEventListener, addContextMenuEventListener, addContextMenuEventListener, addCueChangeEventListener, addCueChangeEventListener, addDblClickEventListener, addDblClickEventListener, addDragEndEventListener, addDragEndEventListener, addDragEnterEventListener, addDragEnterEventListener, addDragEventListener, addDragEventListener, addDragExitEventListener, addDragExitEventListener, addDragLeaveEventListener, addDragLeaveEventListener, addDragOverEventListener, addDragOverEventListener, addDragStartEventListener, addDragStartEventListener, addDropEventListener, addDropEventListener, addDurationChangeEventListener, addDurationChangeEventListener, addEmptiedEventListener, addEmptiedEventListener, addEndedEventListener, addEndedEventListener, addErrorEventListener, addErrorEventListener, addFocusEventListener, addFocusEventListener, addFocusInEventListener, addFocusInEventListener, addFocusOutEventListener, addFocusOutEventListener, addGotPointerCaptureEventListener, addGotPointerCaptureEventListener, addInputEventListener, addInputEventListener, addInvalidEventListener, addInvalidEventListener, addKeyDownEventListener, addKeyDownEventListener, addKeyPressEventListener, addKeyPressEventListener, addKeyUpEventListener, addKeyUpEventListener, addLoadedDataEventListener, addLoadedDataEventListener, addLoadedMetaDataEventListener, addLoadedMetaDataEventListener, addLoadEndEventListener, addLoadEndEventListener, addLoadEventListener, addLoadEventListener, addLoadStartEventListener, addLoadStartEventListener, addLostPointerCaptureEventListener, addLostPointerCaptureEventListener, addMouseDownEventListener, addMouseDownEventListener, addMouseEnterEventListener, addMouseEnterEventListener, addMouseLeaveEventListener, addMouseLeaveEventListener, addMouseMoveEventListener, addMouseMoveEventListener, addMouseOutEventListener, addMouseOutEventListener, addMouseOverEventListener, addMouseOverEventListener, addMouseUpEventListener, addMouseUpEventListener, addPauseEventListener, addPauseEventListener, addPlayEventListener, addPlayEventListener, addPlayingEventListener, addPlayingEventListener, addPointerCancelEventListener, addPointerCancelEventListener, addPointerDownEventListener, addPointerDownEventListener, addPointerEnterEventListener, addPointerEnterEventListener, addPointerLeaveEventListener, addPointerLeaveEventListener, addPointerMoveEventListener, addPointerMoveEventListener, addPointerOutEventListener, addPointerOutEventListener, addPointerOverEventListener, addPointerOverEventListener, addPointerUpEventListener, addPointerUpEventListener, addProgressEventListener, addProgressEventListener, addRateChangeEventListener, addRateChangeEventListener, addResetEventListener, addResetEventListener, addResizeEventListener, addResizeEventListener, addScrollEventListener, addScrollEventListener, addSecurityPolicyViolationEventListener, addSecurityPolicyViolationEventListener, addSeekedEventListener, addSeekedEventListener, addSeekingEventListener, addSeekingEventListener, addSelectEventListener, addSelectEventListener, addSelectionChangeEventListener, addSelectionChangeEventListener, addSelectStartEventListener, addSelectStartEventListener, addStalledEventListener, addStalledEventListener, addSubmitEventListener, addSubmitEventListener, addSuspendEventListener, addSuspendEventListener, addTimeUpdateEventListener, addTimeUpdateEventListener, addToggleEventListener, addToggleEventListener, addTouchCancelEventListener, addTouchCancelEventListener, addTouchEndEventListener, addTouchEndEventListener, addTouchMoveEventListener, addTouchMoveEventListener, addTouchStartEventListener, addTouchStartEventListener, addTransitionCancelEventListener, addTransitionCancelEventListener, addTransitionEndEventListener, addTransitionEndEventListener, addTransitionRunEventListener, addTransitionRunEventListener, addTransitionStartEventListener, addTransitionStartEventListener, addVolumeChangeEventListener, addVolumeChangeEventListener, addWaitingEventListener, addWaitingEventListener, addWheelEventListener, addWheelEventListener, removeAbortEventListener, removeAbortEventListener, removeAnimationCancelEventListener, removeAnimationCancelEventListener, removeAnimationEndEventListener, removeAnimationEndEventListener, removeAnimationIterationEventListener, removeAnimationIterationEventListener, removeAnimationStartEventListener, removeAnimationStartEventListener, removeAuxClickEventListener, removeAuxClickEventListener, removeBlurEventListener, removeBlurEventListener, removeCancelEventListener, removeCancelEventListener, removeCanPlayEventListener, removeCanPlayEventListener, removeCanPlayThroughEventListener, removeCanPlayThroughEventListener, removeChangeEventListener, removeChangeEventListener, removeClickEventListener, removeClickEventListener, removeCloseEventListener, removeCloseEventListener, removeContextMenuEventListener, removeContextMenuEventListener, removeCueChangeEventListener, removeCueChangeEventListener, removeDblClickEventListener, removeDblClickEventListener, removeDragEndEventListener, removeDragEndEventListener, removeDragEnterEventListener, removeDragEnterEventListener, removeDragEventListener, removeDragEventListener, removeDragExitEventListener, removeDragExitEventListener, removeDragLeaveEventListener, removeDragLeaveEventListener, removeDragOverEventListener, removeDragOverEventListener, removeDragStartEventListener, removeDragStartEventListener, removeDropEventListener, removeDropEventListener, removeDurationChangeEventListener, removeDurationChangeEventListener, removeEmptiedEventListener, removeEmptiedEventListener, removeEndedEventListener, removeEndedEventListener, removeErrorEventListener, removeErrorEventListener, removeFocusEventListener, removeFocusEventListener, removeFocusInEventListener, removeFocusInEventListener, removeFocusOutEventListener, removeFocusOutEventListener, removeGotPointerCaptureEventListener, removeGotPointerCaptureEventListener, removeInputEventListener, removeInputEventListener, removeInvalidEventListener, removeInvalidEventListener, removeKeyDownEventListener, removeKeyDownEventListener, removeKeyPressEventListener, removeKeyPressEventListener, removeKeyUpEventListener, removeKeyUpEventListener, removeLoadedDataEventListener, removeLoadedDataEventListener, removeLoadedMetaDataEventListener, removeLoadedMetaDataEventListener, removeLoadEndEventListener, removeLoadEndEventListener, removeLoadEventListener, removeLoadEventListener, removeLoadStartEventListener, removeLoadStartEventListener, removeLostPointerCaptureEventListener, removeLostPointerCaptureEventListener, removeMouseDownEventListener, removeMouseDownEventListener, removeMouseEnterEventListener, removeMouseEnterEventListener, removeMouseLeaveEventListener, removeMouseLeaveEventListener, removeMouseMoveEventListener, removeMouseMoveEventListener, removeMouseOutEventListener, removeMouseOutEventListener, removeMouseOverEventListener, removeMouseOverEventListener, removeMouseUpEventListener, removeMouseUpEventListener, removePauseEventListener, removePauseEventListener, removePlayEventListener, removePlayEventListener, removePlayingEventListener, removePlayingEventListener, removePointerCancelEventListener, removePointerCancelEventListener, removePointerDownEventListener, removePointerDownEventListener, removePointerEnterEventListener, removePointerEnterEventListener, removePointerLeaveEventListener, removePointerLeaveEventListener, removePointerMoveEventListener, removePointerMoveEventListener, removePointerOutEventListener, removePointerOutEventListener, removePointerOverEventListener, removePointerOverEventListener, removePointerUpEventListener, removePointerUpEventListener, removeProgressEventListener, removeProgressEventListener, removeRateChangeEventListener, removeRateChangeEventListener, removeResetEventListener, removeResetEventListener, removeResizeEventListener, removeResizeEventListener, removeScrollEventListener, removeScrollEventListener, removeSecurityPolicyViolationEventListener, removeSecurityPolicyViolationEventListener, removeSeekedEventListener, removeSeekedEventListener, removeSeekingEventListener, removeSeekingEventListener, removeSelectEventListener, removeSelectEventListener, removeSelectionChangeEventListener, removeSelectionChangeEventListener, removeSelectStartEventListener, removeSelectStartEventListener, removeStalledEventListener, removeStalledEventListener, removeSubmitEventListener, removeSubmitEventListener, removeSuspendEventListener, removeSuspendEventListener, removeTimeUpdateEventListener, removeTimeUpdateEventListener, removeToggleEventListener, removeToggleEventListener, removeTouchCancelEventListener, removeTouchCancelEventListener, removeTouchEndEventListener, removeTouchEndEventListener, removeTouchMoveEventListener, removeTouchMoveEventListener, removeTouchStartEventListener, removeTouchStartEventListener, removeTransitionCancelEventListener, removeTransitionCancelEventListener, removeTransitionEndEventListener, removeTransitionEndEventListener, removeTransitionRunEventListener, removeTransitionRunEventListener, removeTransitionStartEventListener, removeTransitionStartEventListener, removeVolumeChangeEventListener, removeVolumeChangeEventListener, removeWaitingEventListener, removeWaitingEventListener, removeWheelEventListener, removeWheelEventListener
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
-
Constructor Details
-
HTMLTableElementImpl
public HTMLTableElementImpl()Constructor for HTMLTableElementImpl.
-
HTMLTableElementImpl
Constructor for HTMLTableElementImpl.
- Parameters:
name
- aString
object.
-
-
Method Details
-
createCaption
Creates an empty caption element in the table.- Specified by:
createCaption
in interfaceHTMLTableElement
- Returns:
- a
HTMLElement
object.
-
createRenderState
createRenderState.
- Overrides:
createRenderState
in classHTMLElementImpl
- Parameters:
prevRenderState
- aRenderState
object.- Returns:
- a
RenderState
object.
-
createTFoot
Creates an empty tFoot element in the table.- Specified by:
createTFoot
in interfaceHTMLTableElement
- Returns:
- a
HTMLElement
object.
-
createTHead
Returns the tHead element object if successful, or null otherwise.- Specified by:
createTHead
in interfaceHTMLTableElement
- Returns:
- a
HTMLElement
object.
-
createTBody
Creates an empty tBody element in the table.- Specified by:
createTBody
in interfaceHTMLTableElement
- Returns:
- a
HTMLElement
object.
-
deleteCaption
public void deleteCaption()Deletes the caption element and its contents from the table.- Specified by:
deleteCaption
in interfaceHTMLTableElement
-
deleteRow
public void deleteRow(int index) Removes the specified row (tr) from the element and from the rows collection.- Specified by:
deleteRow
in interfaceHTMLTableElement
- Parameters:
index
- Number that specifies the zero-based position in the rows collection of the row to remove.
-
deleteTFoot
public void deleteTFoot()Deletes the tFoot element and its contents from the table.- Specified by:
deleteTFoot
in interfaceHTMLTableElement
-
deleteTHead
public void deleteTHead()Deletes the tHead element and its contents from the table.- Specified by:
deleteTHead
in interfaceHTMLTableElement
-
deleteTBody
public void deleteTBody()Deletes the tBody element and its contents from the table.- Specified by:
deleteTBody
in interfaceHTMLTableElement
-
getAlign
Sets or retrieves a value that indicates the table alignment.- Specified by:
getAlign
in interfaceHTMLTableElement
- Returns:
- a
String
object.
-
getBgColor
getBgColor.
- Specified by:
getBgColor
in interfaceHTMLTableElement
- Returns:
- a
String
object.
-
getBorder
Sets or retrieves the width of the border to draw around the object.- Specified by:
getBorder
in interfaceHTMLTableElement
- Returns:
- a
String
object.
-
getCellPadding
Sets or retrieves the amount of space between the border of the cell and the content of the cell.- Specified by:
getCellPadding
in interfaceHTMLTableElement
- Returns:
- a
String
object.
-
getCellSpacing
Sets or retrieves the amount of space between cells in a table.- Specified by:
getCellSpacing
in interfaceHTMLTableElement
- Returns:
- a
String
object.
-
getFrame
Sets or retrieves the way the border frame around the table is displayed.- Specified by:
getFrame
in interfaceHTMLTableElement
- Returns:
- a
String
object.
-
getRows
Sets or retrieves the number of horizontal rows contained in the object.- Specified by:
getRows
in interfaceHTMLTableElement
- Returns:
- a
HTMLCollection
object.
-
getRules
Sets or retrieves which dividing lines (inner borders) are displayed.- Specified by:
getRules
in interfaceHTMLTableElement
- Returns:
- a
String
object.
-
getSummary
Sets or retrieves a description and/or structure of the object.- Specified by:
getSummary
in interfaceHTMLTableElement
- Returns:
- a
String
object.
-
getCaption
Retrieves the caption object of a table.- Specified by:
getCaption
in interfaceHTMLTableElement
- Returns:
- a
HTMLTableCaptionElement
object.
-
gettBodies
Retrieves a collection of all tBody objects in the table. Objects in this collection are in source order.- Specified by:
gettBodies
in interfaceHTMLTableElement
- Returns:
- a
HTMLCollection
object.
-
gettFoot
Retrieves the tFoot object of the table.- Specified by:
gettFoot
in interfaceHTMLTableElement
- Returns:
- a
HTMLTableSectionElement
object.
-
gettHead
Retrieves the tHead object of the table.- Specified by:
gettHead
in interfaceHTMLTableElement
- Returns:
- a
HTMLTableSectionElement
object.
-
getWidth
Sets or retrieves the width of the object.- Specified by:
getWidth
in interfaceHTMLTableElement
- Returns:
- a
String
object.
-
insertRow
Creates a new row (tr) in the table, and adds the row to the rows collection. Inserts a row at the index given. If index is -1, the row is appended as the last row.- Specified by:
insertRow
in interfaceHTMLTableElement
- Parameters:
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.- Returns:
- a
HTMLTableRowElement
object. - Throws:
Exception
- if any.
-
insertRow
insertRow.
- Specified by:
insertRow
in interfaceHTMLTableElement
- Returns:
- a
HTMLTableRowElement
object.
-
setAlign
setAlign.
- Specified by:
setAlign
in interfaceHTMLTableElement
- Parameters:
align
- aString
object.
-
setBgColor
setBgColor.
- Specified by:
setBgColor
in interfaceHTMLTableElement
- Parameters:
bgColor
- aString
object.
-
setBorder
setBorder.
- Specified by:
setBorder
in interfaceHTMLTableElement
- Parameters:
border
- aString
object.
-
setCaption
setCaption.
- Specified by:
setCaption
in interfaceHTMLTableElement
- Parameters:
caption
- aHTMLTableCaptionElement
object.
-
setCellPadding
setCellPadding.
- Specified by:
setCellPadding
in interfaceHTMLTableElement
- Parameters:
cellPadding
- aString
object.
-
setCellSpacing
setCellSpacing.
- Specified by:
setCellSpacing
in interfaceHTMLTableElement
- Parameters:
cellSpacing
- aString
object.
-
setFrame
setFrame.
- Specified by:
setFrame
in interfaceHTMLTableElement
- Parameters:
frame
- aString
object.
-
setRules
setRules.
- Specified by:
setRules
in interfaceHTMLTableElement
- Parameters:
rules
- aString
object.
-
setSummary
setSummary.
- Specified by:
setSummary
in interfaceHTMLTableElement
- Parameters:
summary
- aString
object.
-
settFoot
settFoot.
- Specified by:
settFoot
in interfaceHTMLTableElement
- Parameters:
tFoot
- aHTMLTableSectionElement
object.- Throws:
DOMException
-
settHead
settHead.
- Specified by:
settHead
in interfaceHTMLTableElement
- Parameters:
tHead
- aHTMLTableSectionElement
object.- Throws:
DOMException
-
setWidth
setWidth.
- Specified by:
setWidth
in interfaceHTMLTableElement
- Parameters:
width
- aString
object.
-
toString
- Overrides:
toString
in classHTMLElementImpl
-