public class HTMLTableRowElement extends HTMLTableComponent
HTMLTableRowElement
.HTMLElement.ProxyDomNode
BEHAVIOR_ID_CLIENT_CAPS, BEHAVIOR_ID_DOWNLOAD, BEHAVIOR_ID_HOMEPAGE
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, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
Constructor and Description |
---|
HTMLTableRowElement()
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
void |
deleteCell(Object index)
Deletes the cell at the specified index in the element's cells collection.
|
String |
getBgColor()
Returns the value of the
bgColor attribute. |
String |
getBorderColor()
Gets the
borderColor attribute. |
String |
getBorderColorDark()
Gets the
borderColor attribute. |
String |
getBorderColorLight()
Gets the
borderColor attribute. |
Object |
getCells()
Returns the cells in the row.
|
int |
getRowIndex()
Returns the index of the row within the parent table.
|
int |
getSectionRowIndex()
Returns the index of the row within the enclosing thead, tbody or tfoot.
|
Object |
insertCell(Object index)
Inserts a new cell at the specified index in the element's cells collection.
|
void |
setBgColor(String bgColor)
Sets the value of the
bgColor attribute. |
void |
setBorderColor(String borderColor)
Sets the
borderColor attribute. |
void |
setBorderColorDark(String borderColor)
Sets the
borderColor attribute. |
void |
setBorderColorLight(String borderColor)
Sets the
borderColor attribute. |
void |
setInnerText(String value)
Overwritten to throw an exception because this is readonly.
|
void |
setOuterHTML(Object value)
Overwritten to throw an exception.
|
getAlign, getCh, getChOff, getVAlign, setAlign, setCh, setChOff, setVAlign
addBehavior, addComponentRequest, blur, clearAttributes, clearComponentRequest, click, compareVersions, createTextRange, doComponentRequest, focus, getAccessKey, getAlign, getAttributeNode, getAttributeNodeNS, getAvailHeight, getAvailWidth, getBoundingClientRect, getBufferDepth, getChildren, getClassList, getClassName_js, getClientHeight, getClientLeft, getClientRects, getClientTop, getClientWidth, getColorDepth, getComponentVersion, getConnectionType, getContentEditable, getCookieEnabled, getCpuClass, getDataset, getDefaultStyleDisplay, getDir, getDisabled, getDomNodeOrDie, getDomNodeOrNull, getElementsByClassName, getHeight, getId, getInnerHTML, getInnerText, getIsContentEditable, getJavaEnabled, getLang, getLanguage, getLocalName, getNodeName, getOffsetHeight, getOffsetLeft, getOffsetParent_js, getOffsetTop, getOffsetWidth, getOnchange, getOnsubmit, getOuterHTML, getParentElement, getParentHTMLElement, getPlatform, getPosX, getPosY, getPrefix, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getSpellcheck, getSystemLanguage, getTabIndex, getTitle, getUniqueID, getUserLanguage, getVAlign, getWidth, getWidthOrHeight, getWithFallback, hasAttribute, insertAdjacentElement, insertAdjacentHTML, insertAdjacentText, isAncestorOfEventTarget, isComponentInstalled, isEndTagForbidden, isHomePage, isLowerCaseInOuterHtml, mergeAttributes, navigateHomePage, parseHtmlSnippet, readAttributes, releaseCapture, removeAttributeNode, removeBehavior, removeNode, scrollIntoView, setAccessKey, setActive, setAlign, setAttribute, setCapture, setClassName_js, setColorAttribute, setContentEditable, setDir, setDisabled, setDomNode, setHomePage, setId, setInnerHTML, setInnerTextImpl, setLang, setLanguage, setOnchange, setOnsubmit, setScrollLeft, setScrollTop, setSpellcheck, setTabIndex, setTagUrn, setTextContent, setTitle, setVAlign, setWidthOrHeight, startDownload, toString
createAttributesObject, createEventHandler, get, getAttribute, getAttributeNS, getAttributes, getBaseURI, getChildElementCount, getCurrentStyle, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getLastElementChild, getNextElementSibling, getPreviousElementSibling, getRuntimeStyle, getStyle, getTagName, hasAttributeNS, querySelector, querySelectorAll, removeAttribute, removeAttributeNS, setAttributeNode, setAttributeNS, setDefaults
fireEvent, getOnblur, getOnclick, getOncontextmenu, getOndblclick, getOnerror, getOnfocus, getOnfocusin, getOnfocusout, getOninput, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnpropertychange, getOnresize, setOnblur, setOnclick, setOncontextmenu, setOndblclick, setOnerror, setOnfocus, setOnfocusin, setOnfocusout, setOninput, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnpropertychange, setOnresize
appendChild, asJavaScriptException, cloneNode, compareDocumentPosition, contains, detachEvent, getChildNodes, getFirstChild, getJavaScriptNode, getLastChild, getNamespaceURI, getNextSibling, getNodeType, getNodeValue, getOwnerDocument, getParent, getParentNode, getPreviousSibling, getTextContent, hasChildNodes, insertBefore, insertBeforeImpl, isSameNode, normalize, removeChild, replaceChild, setNodeValue
addEventListener, clearEventListenersContainer, dispatchEvent, executeEventLocally, fireEvent, getEventHandler, getEventHandlerProp, getEventListenersContainer, hasEventHandlers, removeEventListener, setEventHandler, setEventHandlerProp
clone, equivalentValues, getBrowserVersion, getDefaultValue, getPrototype, getScriptableFor, getStartingScope, getWindow, getWindow, getWithPreemption, hasInstance, initParentScope, isReadOnlySettable, makeScriptableFor, setCaseSensitive, setDomNode, setHtmlElement
defineFunctionProperties, defineProperty, getClassName, setClassName, setParentScope
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setPrototype, size
public int getRowIndex()
public int getSectionRowIndex()
public Object getCells()
public String getBgColor()
bgColor
attribute.bgColor
attributepublic void setBgColor(String bgColor)
bgColor
attribute.bgColor
- the value of the bgColor
attributepublic Object insertCell(Object index)
index
- 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 collectionpublic void deleteCell(Object index)
index
- specifies the cell to delete.public void setOuterHTML(Object value)
setOuterHTML
in class HTMLElement
value
- the new value for replacing this nodepublic void setInnerText(String value)
setInnerText
in class HTMLElement
value
- the new value for the contents of this nodepublic String getBorderColor()
borderColor
attribute.public void setBorderColor(String borderColor)
borderColor
attribute.borderColor
- the new attributepublic String getBorderColorDark()
borderColor
attribute.public void setBorderColorDark(String borderColor)
borderColor
attribute.borderColor
- the new attributepublic String getBorderColorLight()
borderColor
attribute.public void setBorderColorLight(String borderColor)
borderColor
attribute.borderColor
- the new attributeCopyright © 2002–2017 Gargoyle Software Inc.. All rights reserved.