@JsType(isNative=true, name="HTMLTableElement", namespace="<global>") public final class Table extends BaseHtmlElement
BaseEventTarget.EventListenerCallback| Modifier and Type | Field and Description |
|---|---|
static String |
TAG
The tag for this element.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAlign()
Returns the alignment of the element's contents with respect to the surrounding context.
|
String |
getBorder()
Returns the width in pixels of the border of the table.
|
String |
getCellPadding()
Returns the width in pixels of the horizontal and vertical sapce between cell content and cell borders.
|
String |
getCellSpacing()
Returns the width in pixels of the horizontal and vertical separation between cells.
|
String |
getWidth()
Returns the length in pixels or in percentage of the desired width fo the entire table.
|
void |
setAlign(String align)
Sets the alignment of the element's contents with respect to the surrounding context.
|
void |
setBorder(String border)
Sets the width in pixels of the border of the table.
|
void |
setCellPadding(String cellPadding)
Sets the width in pixels of the horizontal and vertical sapce between cell content and cell borders.
|
void |
setCellSpacing(String cellSpacing)
Sets the width in pixels of the horizontal and vertical separation between cells.
|
void |
setWidth(String width)
Sets the length in pixels or in percentage of the desired width fo the entire table.
|
getAbsoluteLeft, getAbsoluteTop, getInnerText, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getParentHtmlElement, getStyle, getTabIndex, removeFromParent, setInnerText, setTabIndexgetAttributes, getChildElementCount, getClientHeight, getClientLeft, getClientTop, getClientWidth, getElementsByTagName, getFirstElementChild, getId, getInnerHTML, getLastElementChild, getNextElementSibling, getPreviousElementSibling, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getTagName, hasAttributes, remove, setId, setInnerHTMLappendChild, cloneNode, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getTextContent, hasChildNodes, insertBefore, removeAllChildren, removeChild, setNodeValue, setTextContentaddEventListener, removeEventListener@JsOverlay public static final String TAG
@JsProperty public String getAlign()
@JsProperty public void setAlign(String align)
align - the alignment of the element's contents with respect to the surrounding context@JsProperty public String getBorder()
@JsProperty public void setBorder(String border)
border - the width in pixels of the border of the table@JsProperty public String getCellPadding()
@JsProperty public void setCellPadding(String cellPadding)
cellPadding - the width in pixels of the horizontal and vertical sapce between cell content and cell borders@JsProperty public String getCellSpacing()
@JsProperty public void setCellSpacing(String cellSpacing)
cellSpacing - the width in pixels of the horizontal and vertical separation between cells@JsProperty public String getWidth()
@JsProperty public void setWidth(String width)
width - the length in pixels or in percentage of the desired width fo the entire table