@DOMObjectAttribute @DOMNameAttribute(name="HTMLTableRowElement") public class HTMLTableRowElement extends HTMLElement
Node.Flags
OnAbort, OnAbortDelegate, OnBlur, OnBlurDelegate, OnCancel, OnCancelDelegate, OnCanplay, OnCanplayDelegate, OnCanPlayThrough, OnCanPlayThroughDelegate, OnChange, OnChangeDelegate, OnClick, OnClickDelegate, OnCueChange, OnCueChangeDelegate, OnDblClick, OnDblClickDelegate, OnDurationChange, OnDurationChangeDelegate, OnEmptied, OnEmptiedDelegate, OnEnded, OnEndedDelegate, OnError, OnErrorDelegate, OnFocus, OnFocusDelegate, OnInput, OnInputDelegate, OnInvalid, OnInvalidDelegate, OnKeyDown, OnKeyDownDelegate, OnKeyPress, OnKeyPressDelegate, OnKeyUp, OnKeyUpDelegate, OnLoad, OnLoadDelegate, OnLoadedData, OnLoadedDataDelegate, OnLoadedMetadata, OnLoadedMetadataDelegate, OnLoadStart, OnLoadStartDelegate, OnMouseDown, OnMouseDownDelegate, OnMouseEnter, OnMouseEnterDelegate, OnMouseLeave, OnMouseLeaveDelegate, OnMouseMove, OnMouseMoveDelegate, OnMouseOut, OnMouseOutDelegate, OnMouseOver, OnMouseOverDelegate, OnMouseUp, OnMouseUpDelegate, OnMouseWheel, OnMouseWheelDelegate, OnPause, OnPauseDelegate, OnPlay, OnPlayDelegate, OnPlaying, OnPlayingDelegate, OnProgress, OnProgressDelegate, OnRateChange, OnRateChangeDelegate, OnReset, OnResetDelegate, OnResize, OnResizeDelegate, OnScroll, OnScrollDelegate, OnSeeked, OnSeekedDelegate, OnSeeking, OnSeekingDelegate, OnSelect, OnSelectDelegate, OnShow, OnShowDelegate, OnStalled, OnStalledDelegate, OnSubmit, OnSubmitDelegate, OnSuspend, OnSuspendDelegate, OnTimeUpdate, OnTimeUpdateDelegate, OnToggle, OnToggleDelegate, OnVolumeChange, OnVolumeChangeDelegate, OnWaiting, OnWaitingDelegate
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, flags, nodeDocument, NOTATION_NODE, parent, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
EventMap
PropertyChanged, PropertyChangedDelegate
Constructor and Description |
---|
HTMLTableRowElement(com.aspose.html.dom.DOMName name,
Document doc)
Initializes a new instance of the
HTMLTableRowElement class. |
Modifier and Type | Method and Description |
---|---|
void |
deleteCell(int index)
Delete a cell from the current row.
|
java.lang.String |
getAlign()
Horizontal alignment of data within cells of this row.
|
java.lang.String |
getBgColor()
Background color for rows.
|
HTMLCollection |
getCells()
The collection of cells in this row.
|
java.lang.String |
getCh()
Alignment character for cells in a column.
|
java.lang.String |
getChOff()
Offset of alignment character.
|
int |
getRowIndex()
This is in logical order and not in document order.
|
int |
getSectionRowIndex()
The index of this row, relative to the current section (
THEAD , TFOOT , or TBODY ),
starting from 0. |
java.lang.String |
getVAlign()
Vertical alignment of data within cells of this row.
|
HTMLElement |
insertCell(int index)
Insert an empty
TD cell into this row. |
void |
setAlign(java.lang.String value)
Horizontal alignment of data within cells of this row.
|
void |
setBgColor(java.lang.String value)
Background color for rows.
|
void |
setCh(java.lang.String value)
Alignment character for cells in a column.
|
void |
setChOff(java.lang.String value)
Offset of alignment character.
|
void |
setVAlign(java.lang.String value)
Vertical alignment of data within cells of this row.
|
getAttributeOrDefault, getAttributeOrDefault, getAttributeOrDefault, getAttributeOrDefault, getAttributeOrDefault, getAttributeOrDefault, getAttributeOrDefault, getAttributeOrDefault, getAttributeOrDefault, getAttributeOrDefault, getAttributeOrDefault, getChildOfType, getClassName_Rename_Namesake, getDir, getId_Rename_Namesake, getLang, getParentOfType, getRowIndexInScopeOfCollection, getStyle, getTitle, setAttribute, setAttribute, setAttribute, setClassName_Rename_Namesake, setDir, setId_Rename_Namesake, setLang, setTitle, toggleAttribute
attachShadow, dispose, equals, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getChildElementCount, getChildren, getClassName, getComputedStyle, getComputedStyle, getData, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getId, getInnerHTML, getLastElementChild, getLocalName, getNamespaceURI, getNextElementSibling, getNodeName, getNodeType, getOuterHTML, getPrefix, getPreviousElementSibling, getSchemaTypeInfo, getShadowRoot, getStyleContainer, getTag, getTagName, getTextContent, hasAttribute, hasAttributeNS, hasAttributes, querySelector, querySelectorAll, remove, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setData, setId, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setInnerHTML, setOuterHTML, setTextContent
adoptNode, appendChild, cloneNode, deepClone, finalize, getBaseURI, getChildNodes, getChildNodesInternal, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getRegisteredObservers, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceAll, replaceChild, setLocalName, setNamespaceURI, setNodeValue, setParentNode, setPrefix, toString
addEventListener, addEventListener, addEventListener, addEventListener, dispatchEvent, dispose, removeEventListener, removeEventListener, removeEventListener
fireNotifyPropertyChanged, getCurrentValues, getRuntimesBinding, setCurrentValues, setField, setRuntimesBinding
public HTMLTableRowElement(com.aspose.html.dom.DOMName name, Document doc)
Initializes a new instance of the HTMLTableRowElement
class.
name
- The DOM name.doc
- The document.@DOMNameAttribute(name="rowIndex") public int getRowIndex()
This is in logical order and not in document order. The
rowIndex
does take into account sections (
THEAD
, TFOOT
, or TBODY
) within
the table, placing THEAD
rows first in the index,
followed by TBODY
rows, followed by TFOOT
rows.
@DOMNameAttribute(name="sectionRowIndex") public int getSectionRowIndex()
The index of this row, relative to the current section (
THEAD
, TFOOT
, or TBODY
),
starting from 0.
@DOMNameAttribute(name="cells") public HTMLCollection getCells()
The collection of cells in this row.
@DOMNameAttribute(name="align") public java.lang.String getAlign()
Horizontal alignment of data within cells of this row. See the align attribute definition in HTML 4.01.
@DOMNameAttribute(name="align") public void setAlign(java.lang.String value)
Horizontal alignment of data within cells of this row. See the align attribute definition in HTML 4.01.
@DOMNameAttribute(name="bgColor") public java.lang.String getBgColor()
Background color for rows. See the bgcolor attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
@DOMNameAttribute(name="bgColor") public void setBgColor(java.lang.String value)
Background color for rows. See the bgcolor attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
@DOMNameAttribute(name="ch") public java.lang.String getCh()
Alignment character for cells in a column. See the char attribute definition in HTML 4.01.
@DOMNameAttribute(name="ch") public void setCh(java.lang.String value)
Alignment character for cells in a column. See the char attribute definition in HTML 4.01.
@DOMNameAttribute(name="chOff") public java.lang.String getChOff()
Offset of alignment character. See the charoff attribute definition in HTML 4.01.
@DOMNameAttribute(name="chOff") public void setChOff(java.lang.String value)
Offset of alignment character. See the charoff attribute definition in HTML 4.01.
@DOMNameAttribute(name="vAlign") public java.lang.String getVAlign()
Vertical alignment of data within cells of this row. See the valign attribute definition in HTML 4.01.
@DOMNameAttribute(name="vAlign") public void setVAlign(java.lang.String value)
Vertical alignment of data within cells of this row. See the valign attribute definition in HTML 4.01.
@DOMNameAttribute(name="insertCell") public HTMLElement insertCell(int index)
Insert an empty TD
cell into this row. If
index
is -1 or equal to the number of cells, the new
cell is appended.
index
- The place to insert the cell, starting from 0.DOMException
- INDEX_SIZE_ERR: Raised if the specified index
is greater
than the number of cells or if the index is a negative number other
than -1.@DOMNameAttribute(name="deleteCell") public void deleteCell(int index)
Delete a cell from the current row.
index
- The index of the cell to delete, starting from 0. If the
index is -1 the last cell in the row is deleted.DOMException
- INDEX_SIZE_ERR: Raised if the specified index
is greater
than or equal to the number of cells or if the index is a negative
number other than -1.