Class TableRow
- java.lang.Object
-
- org.pepstock.charba.client.dom.BaseEventTarget
-
- org.pepstock.charba.client.dom.BaseNode
-
- org.pepstock.charba.client.dom.BaseElement
-
- org.pepstock.charba.client.dom.BaseHtmlElement
-
- org.pepstock.charba.client.dom.elements.TableRow
-
@JsType(isNative=true, name="HTMLTableRowElement", namespace="<global>") public final class TableRow extends BaseHtmlElement
Provides special properties and methods for manipulating the layout and presentation of rows in an HTML table.- Author:
- Andrea "Stock" Stocchero
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.pepstock.charba.client.dom.BaseEventTarget
BaseEventTarget.EventListenerCallback
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAlign()
Returns the alignment of the element's contents with respect to the surrounding context.int
getRowIndex()
Returns a value which gives the logical position of the row within the entire table.
If the row is not part of a table, returns -1.String
getVAlign()
Returns the value indicating how the content of the cell must be vertically aligned.void
setAlign(String align)
Sets the alignment of the element's contents with respect to the surrounding context.void
setVAlign(String vAlign)
Sets the value indicating how the content of the cell must be vertically aligned.-
Methods inherited from class org.pepstock.charba.client.dom.BaseHtmlElement
getAbsoluteLeft, getAbsoluteTop, getInnerText, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getParentHtmlElement, getScrollingElement, getStyle, getTabIndex, removeFromParent, setInnerText, setTabIndex
-
Methods inherited from class org.pepstock.charba.client.dom.BaseElement
getAttributes, getChildElementCount, getClientHeight, getClientLeft, getClientTop, getClientWidth, getElementsByTagName, getFirstElementChild, getId, getInnerHTML, getLastElementChild, getNextElementSibling, getOuterHTML, getPreviousElementSibling, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getTagName, hasAttributes, remove, setId, setInnerHTML
-
Methods inherited from class org.pepstock.charba.client.dom.BaseNode
appendChild, cloneNode, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getTextContent, hasChildNodes, insertBefore, removeAllChildren, removeChild, setNodeValue, setTextContent
-
Methods inherited from class org.pepstock.charba.client.dom.BaseEventTarget
addEventListener, removeEventListener
-
-
-
-
Field Detail
-
TAG
@JsOverlay public static final String TAG
The tag for this element.- See Also:
- Constant Field Values
-
-
Method Detail
-
getAlign
@JsProperty public String getAlign()
Returns the alignment of the element's contents with respect to the surrounding context.- Returns:
- the alignment of the element's contents with respect to the surrounding context
-
setAlign
@JsProperty public void setAlign(String align)
Sets the alignment of the element's contents with respect to the surrounding context.- Parameters:
align
- the alignment of the element's contents with respect to the surrounding context
-
getRowIndex
@JsProperty public int getRowIndex()
Returns a value which gives the logical position of the row within the entire table.
If the row is not part of a table, returns -1.- Returns:
- a value which gives the logical position of the row within the entire table
-
getVAlign
@JsProperty public String getVAlign()
Returns the value indicating how the content of the cell must be vertically aligned.- Returns:
- the value indicating how the content of the cell must be vertically aligned
-
setVAlign
@JsProperty public void setVAlign(String vAlign)
Sets the value indicating how the content of the cell must be vertically aligned.- Parameters:
vAlign
- the value indicating how the content of the cell must be vertically aligned
-
-