Top Constructors Methods
com.sun.webkit.dom

public Class HTMLTableElementImpl

extends HTMLElementImpl
implements HTMLTableElement
Class Inheritance
All Implemented Interfaces
org.w3c.dom.html.HTMLTableElement, org.w3c.dom.html.HTMLElement, org.w3c.dom.Element, org.w3c.dom.Node
Imports
org.w3c.dom.DOMException, org.w3c.dom.html.HTMLCollection, .HTMLElement, .HTMLTableCaptionElement, .HTMLTableElement, .HTMLTableSectionElement

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public HTMLElement
createCaption()

Implements org.w3c.dom.html.HTMLTableElement.createCaption.

Create a new table caption object or return an existing one.

pack-priv static native long
createCaptionImpl(long peer)

public HTMLElement
pack-priv static native long
createTBodyImpl(long peer)

public HTMLElement
createTFoot()

Implements org.w3c.dom.html.HTMLTableElement.createTFoot.

Create a table footer row or return an existing one.

pack-priv static native long
createTFootImpl(long peer)

public HTMLElement
createTHead()

Implements org.w3c.dom.html.HTMLTableElement.createTHead.

Create a table header row or return an existing one.

pack-priv static native long
createTHeadImpl(long peer)

public void
deleteCaption()

Implements org.w3c.dom.html.HTMLTableElement.deleteCaption.

Delete the table caption, if one exists.

pack-priv static native void
deleteCaptionImpl(long peer)

public void
deleteRow(int
The index of the row to be deleted. This index starts from 0 and is relative to all the rows contained inside the table, regardless of section parentage.
index
)

Implements org.w3c.dom.html.HTMLTableElement.deleteRow.

Delete a table row.

pack-priv static native void
deleteRowImpl(long peer, int index)

public void
deleteTFoot()

Implements org.w3c.dom.html.HTMLTableElement.deleteTFoot.

Delete the footer from the table, if one exists.

pack-priv static native void
deleteTFootImpl(long peer)

public void
deleteTHead()

Implements org.w3c.dom.html.HTMLTableElement.deleteTHead.

Delete the header from the table, if one exists.

pack-priv static native void
deleteTHeadImpl(long peer)

public String
getAlign()

Implements org.w3c.dom.html.HTMLTableElement.getAlign.

Specifies the table's position with respect to the rest of the document.

pack-priv static native String
getAlignImpl(long peer)

public String
getBgColor()

Implements org.w3c.dom.html.HTMLTableElement.getBgColor.

Cell background color.

pack-priv static native String
getBgColorImpl(long peer)

public String
getBorder()

Implements org.w3c.dom.html.HTMLTableElement.getBorder.

The width of the border around the table.

pack-priv static native String
getBorderImpl(long peer)

public HTMLTableCaptionElement
getCaption()

Implements org.w3c.dom.html.HTMLTableElement.getCaption.

Returns the table's CAPTION , or void if none exists.

pack-priv static native long
getCaptionImpl(long peer)

public String
getCellPadding()

Implements org.w3c.dom.html.HTMLTableElement.getCellPadding.

Specifies the horizontal and vertical space between cell content and cell borders.

pack-priv static native String
getCellPaddingImpl(long peer)

public String
getCellSpacing()

Implements org.w3c.dom.html.HTMLTableElement.getCellSpacing.

Specifies the horizontal and vertical separation between cells.

pack-priv static native String
getCellSpacingImpl(long peer)

public String
getFrame()

Implements org.w3c.dom.html.HTMLTableElement.getFrame.

Specifies which external table borders to render.

pack-priv static native String
getFrameImpl(long peer)

pack-priv static HTMLTableElement
public HTMLCollection
getRows()

Implements org.w3c.dom.html.HTMLTableElement.getRows.

Returns a collection of all the rows in the table, including all in THEAD , TFOOT , all TBODY elements.

pack-priv static native long
getRowsImpl(long peer)

public String
getRules()

Implements org.w3c.dom.html.HTMLTableElement.getRules.

Specifies which internal table borders to render.

pack-priv static native String
getRulesImpl(long peer)

public String
getSummary()

Implements org.w3c.dom.html.HTMLTableElement.getSummary.

Description about the purpose or structure of a table.

pack-priv static native String
getSummaryImpl(long peer)

public HTMLCollection
getTBodies()

Implements org.w3c.dom.html.HTMLTableElement.getTBodies.

Returns a collection of the defined table bodies.

pack-priv static native long
getTBodiesImpl(long peer)

public HTMLTableSectionElement
getTFoot()

Implements org.w3c.dom.html.HTMLTableElement.getTFoot.

Returns the table's TFOOT , or null if none exists.

pack-priv static native long
getTFootImpl(long peer)

public HTMLTableSectionElement
getTHead()

Implements org.w3c.dom.html.HTMLTableElement.getTHead.

Returns the table's THEAD , or null if none exists.

pack-priv static native long
getTHeadImpl(long peer)

public String
getWidth()

Implements org.w3c.dom.html.HTMLTableElement.getWidth.

Specifies the desired table width.

pack-priv static native String
getWidthImpl(long peer)

public HTMLElement
insertRow(int
The row number where to insert a new row. This index starts from 0 and is relative to all the rows contained inside the table, regardless of section parentage.
index
)

Implements org.w3c.dom.html.HTMLTableElement.insertRow.

Insert a new empty row in the table.

pack-priv static native long
insertRowImpl(long peer, int index)

public void
pack-priv static native void
setAlignImpl(long peer, String value)

public void
pack-priv static native void
setBgColorImpl(long peer, String value)

public void
pack-priv static native void
setBorderImpl(long peer, String value)

public void
pack-priv static native void
setCaptionImpl(long peer, long value)

public void
pack-priv static native void
setCellPaddingImpl(long peer, String value)

public void
pack-priv static native void
setCellSpacingImpl(long peer, String value)

public void
pack-priv static native void
setFrameImpl(long peer, String value)

public void
pack-priv static native void
setRulesImpl(long peer, String value)

public void
pack-priv static native void
setSummaryImpl(long peer, String value)

public void
pack-priv static native void
setTFootImpl(long peer, long value)

public void
pack-priv static native void
setTHeadImpl(long peer, long value)

public void
pack-priv static native void
setWidthImpl(long peer, String value)

Inherited from com.sun.webkit.dom.HTMLElementImpl:
clickclickImplgetAccessKeygetAccessKeyImplgetChildrengetChildrenImplgetContentEditablegetContentEditableImplgetDirgetDirImplgetDraggablegetDraggableImplgetHiddengetHiddenImplgetIdgetIdImplgetInnerTextgetInnerTextImplgetIsContentEditablegetIsContentEditableImplgetLanggetLangImplgetOuterTextgetOuterTextImplgetSpellcheckgetSpellcheckImplgetTabIndexgetTabIndexImplgetTitlegetTitleDisplayStringgetTitleDisplayStringImplgetTitleImplgetTranslategetTranslateImplgetWebkitdropzonegetWebkitdropzoneImplinsertAdjacentElementinsertAdjacentElementImplinsertAdjacentHTMLinsertAdjacentHTMLImplinsertAdjacentTextinsertAdjacentTextImplsetAccessKeysetAccessKeyImplsetContentEditablesetContentEditableImplsetDirsetDirImplsetDraggablesetDraggableImplsetHiddensetHiddenImplsetIdsetIdImplsetInnerTextsetInnerTextImplsetLangsetLangImplsetOuterTextsetOuterTextImplsetSpellchecksetSpellcheckImplsetTabIndexsetTabIndexImplsetTitlesetTitleImplsetTranslatesetTranslateImplsetWebkitdropzonesetWebkitdropzoneImpl

Constructor Detail

HTMLTableElementImplback to summary
pack-priv HTMLTableElementImpl(long peer)

Method Detail

createCaptionback to summary
public HTMLElement createCaption()

Implements org.w3c.dom.html.HTMLTableElement.createCaption.

Doc from org.w3c.dom.html.HTMLTableElement.createCaption.

Create a new table caption object or return an existing one.

Returns:HTMLElement

A CAPTION element.

createCaptionImplback to summary
pack-priv static native long createCaptionImpl(long peer)
createTBodyback to summary
public HTMLElement createTBody()
createTBodyImplback to summary
pack-priv static native long createTBodyImpl(long peer)
createTFootback to summary
public HTMLElement createTFoot()

Implements org.w3c.dom.html.HTMLTableElement.createTFoot.

Doc from org.w3c.dom.html.HTMLTableElement.createTFoot.

Create a table footer row or return an existing one.

Returns:HTMLElement

A footer element (TFOOT ).

createTFootImplback to summary
pack-priv static native long createTFootImpl(long peer)
createTHeadback to summary
public HTMLElement createTHead()

Implements org.w3c.dom.html.HTMLTableElement.createTHead.

Doc from org.w3c.dom.html.HTMLTableElement.createTHead.

Create a table header row or return an existing one.

Returns:HTMLElement

A new table header element (THEAD ).

createTHeadImplback to summary
pack-priv static native long createTHeadImpl(long peer)
deleteCaptionback to summary
public void deleteCaption()

Implements org.w3c.dom.html.HTMLTableElement.deleteCaption.

Doc from org.w3c.dom.html.HTMLTableElement.deleteCaption.

Delete the table caption, if one exists.

deleteCaptionImplback to summary
pack-priv static native void deleteCaptionImpl(long peer)
deleteRowback to summary
public void deleteRow(int index) throws DOMException

Implements org.w3c.dom.html.HTMLTableElement.deleteRow.

Doc from org.w3c.dom.html.HTMLTableElement.deleteRow.

Delete a table row.

Parameters
index:int

The index of the row to be deleted. This index starts from 0 and is relative to all the rows contained inside the table, regardless of section parentage.

Exceptions
DOMException:
INDEX_SIZE_ERR: Raised if the specified index is greater than or equal to the number of rows or if the index is negative.
deleteRowImplback to summary
pack-priv static native void deleteRowImpl(long peer, int index)
deleteTFootback to summary
public void deleteTFoot()

Implements org.w3c.dom.html.HTMLTableElement.deleteTFoot.

Doc from org.w3c.dom.html.HTMLTableElement.deleteTFoot.

Delete the footer from the table, if one exists.

deleteTFootImplback to summary
pack-priv static native void deleteTFootImpl(long peer)
deleteTHeadback to summary
public void deleteTHead()

Implements org.w3c.dom.html.HTMLTableElement.deleteTHead.

Doc from org.w3c.dom.html.HTMLTableElement.deleteTHead.

Delete the header from the table, if one exists.

deleteTHeadImplback to summary
pack-priv static native void deleteTHeadImpl(long peer)
getAlignback to summary
public String getAlign()

Implements org.w3c.dom.html.HTMLTableElement.getAlign.

Doc from org.w3c.dom.html.HTMLTableElement.getAlign.

Specifies the table's position with respect to the rest of the document. See the align attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

getAlignImplback to summary
pack-priv static native String getAlignImpl(long peer)
getBgColorback to summary
public String getBgColor()

Implements org.w3c.dom.html.HTMLTableElement.getBgColor.

Doc from org.w3c.dom.html.HTMLTableElement.getBgColor.

Cell background color. See the bgcolor attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

getBgColorImplback to summary
pack-priv static native String getBgColorImpl(long peer)
getBorderback to summary
public String getBorder()

Implements org.w3c.dom.html.HTMLTableElement.getBorder.

Doc from org.w3c.dom.html.HTMLTableElement.getBorder.

The width of the border around the table. See the border attribute definition in HTML 4.0.

getBorderImplback to summary
pack-priv static native String getBorderImpl(long peer)
getCaptionback to summary
public HTMLTableCaptionElement getCaption()

Implements org.w3c.dom.html.HTMLTableElement.getCaption.

Doc from org.w3c.dom.html.HTMLTableElement.getCaption.

Returns the table's CAPTION , or void if none exists.

getCaptionImplback to summary
pack-priv static native long getCaptionImpl(long peer)
getCellPaddingback to summary
public String getCellPadding()

Implements org.w3c.dom.html.HTMLTableElement.getCellPadding.

Doc from org.w3c.dom.html.HTMLTableElement.getCellPadding.

Specifies the horizontal and vertical space between cell content and cell borders. See the cellpadding attribute definition in HTML 4.0.

getCellPaddingImplback to summary
pack-priv static native String getCellPaddingImpl(long peer)
getCellSpacingback to summary
public String getCellSpacing()

Implements org.w3c.dom.html.HTMLTableElement.getCellSpacing.

Doc from org.w3c.dom.html.HTMLTableElement.getCellSpacing.

Specifies the horizontal and vertical separation between cells. See the cellspacing attribute definition in HTML 4.0.

getCellSpacingImplback to summary
pack-priv static native String getCellSpacingImpl(long peer)
getFrameback to summary
public String getFrame()

Implements org.w3c.dom.html.HTMLTableElement.getFrame.

Doc from org.w3c.dom.html.HTMLTableElement.getFrame.

Specifies which external table borders to render. See the frame attribute definition in HTML 4.0.

getFrameImplback to summary
pack-priv static native String getFrameImpl(long peer)
getImplback to summary
pack-priv static HTMLTableElement getImpl(long peer)

Hides com.sun.webkit.dom.HTMLElementImpl.getImpl.

getRowsback to summary
public HTMLCollection getRows()

Implements org.w3c.dom.html.HTMLTableElement.getRows.

Doc from org.w3c.dom.html.HTMLTableElement.getRows.

Returns a collection of all the rows in the table, including all in THEAD , TFOOT , all TBODY elements.

getRowsImplback to summary
pack-priv static native long getRowsImpl(long peer)
getRulesback to summary
public String getRules()

Implements org.w3c.dom.html.HTMLTableElement.getRules.

Doc from org.w3c.dom.html.HTMLTableElement.getRules.

Specifies which internal table borders to render. See the rules attribute definition in HTML 4.0.

getRulesImplback to summary
pack-priv static native String getRulesImpl(long peer)
getSummaryback to summary
public String getSummary()

Implements org.w3c.dom.html.HTMLTableElement.getSummary.

Doc from org.w3c.dom.html.HTMLTableElement.getSummary.

Description about the purpose or structure of a table. See the summary attribute definition in HTML 4.0.

getSummaryImplback to summary
pack-priv static native String getSummaryImpl(long peer)
getTBodiesback to summary
public HTMLCollection getTBodies()

Implements org.w3c.dom.html.HTMLTableElement.getTBodies.

Doc from org.w3c.dom.html.HTMLTableElement.getTBodies.

Returns a collection of the defined table bodies.

getTBodiesImplback to summary
pack-priv static native long getTBodiesImpl(long peer)
getTFootback to summary
public HTMLTableSectionElement getTFoot()

Implements org.w3c.dom.html.HTMLTableElement.getTFoot.

Doc from org.w3c.dom.html.HTMLTableElement.getTFoot.

Returns the table's TFOOT , or null if none exists.

getTFootImplback to summary
pack-priv static native long getTFootImpl(long peer)
getTHeadback to summary
public HTMLTableSectionElement getTHead()

Implements org.w3c.dom.html.HTMLTableElement.getTHead.

Doc from org.w3c.dom.html.HTMLTableElement.getTHead.

Returns the table's THEAD , or null if none exists.

getTHeadImplback to summary
pack-priv static native long getTHeadImpl(long peer)
getWidthback to summary
public String getWidth()

Implements org.w3c.dom.html.HTMLTableElement.getWidth.

Doc from org.w3c.dom.html.HTMLTableElement.getWidth.

Specifies the desired table width. See the width attribute definition in HTML 4.0.

getWidthImplback to summary
pack-priv static native String getWidthImpl(long peer)
insertRowback to summary
public HTMLElement insertRow(int index) throws DOMException

Implements org.w3c.dom.html.HTMLTableElement.insertRow.

Doc from org.w3c.dom.html.HTMLTableElement.insertRow.

Insert a new empty row in the table. The new row is inserted immediately before and in the same section as the current index th row in the table. If index is equal to the number of rows, the new row is appended. In addition, when the table is empty the row is inserted into a TBODY which is created and inserted into the table. Note. A table row cannot be empty according to HTML 4.0 Recommendation.

Parameters
index:int

The row number where to insert a new row. This index starts from 0 and is relative to all the rows contained inside the table, regardless of section parentage.

Returns:HTMLElement

The newly created row.

Exceptions
DOMException:
INDEX_SIZE_ERR: Raised if the specified index is greater than the number of rows or if the index is negative.
insertRowImplback to summary
pack-priv static native long insertRowImpl(long peer, int index)
setAlignback to summary
public void setAlign(String value)

Implements org.w3c.dom.html.HTMLTableElement.setAlign.

setAlignImplback to summary
pack-priv static native void setAlignImpl(long peer, String value)
setBgColorback to summary
public void setBgColor(String value)

Implements org.w3c.dom.html.HTMLTableElement.setBgColor.

setBgColorImplback to summary
pack-priv static native void setBgColorImpl(long peer, String value)
setBorderback to summary
public void setBorder(String value)

Implements org.w3c.dom.html.HTMLTableElement.setBorder.

setBorderImplback to summary
pack-priv static native void setBorderImpl(long peer, String value)
setCaptionback to summary
public void setCaption(HTMLTableCaptionElement value) throws DOMException

Implements org.w3c.dom.html.HTMLTableElement.setCaption.

setCaptionImplback to summary
pack-priv static native void setCaptionImpl(long peer, long value)
setCellPaddingback to summary
public void setCellPadding(String value)

Implements org.w3c.dom.html.HTMLTableElement.setCellPadding.

setCellPaddingImplback to summary
pack-priv static native void setCellPaddingImpl(long peer, String value)
setCellSpacingback to summary
public void setCellSpacing(String value)

Implements org.w3c.dom.html.HTMLTableElement.setCellSpacing.

setCellSpacingImplback to summary
pack-priv static native void setCellSpacingImpl(long peer, String value)
setFrameback to summary
public void setFrame(String value)

Implements org.w3c.dom.html.HTMLTableElement.setFrame.

setFrameImplback to summary
pack-priv static native void setFrameImpl(long peer, String value)
setRulesback to summary
public void setRules(String value)

Implements org.w3c.dom.html.HTMLTableElement.setRules.

setRulesImplback to summary
pack-priv static native void setRulesImpl(long peer, String value)
setSummaryback to summary
public void setSummary(String value)

Implements org.w3c.dom.html.HTMLTableElement.setSummary.

setSummaryImplback to summary
pack-priv static native void setSummaryImpl(long peer, String value)
setTFootback to summary
public void setTFoot(HTMLTableSectionElement value) throws DOMException

Implements org.w3c.dom.html.HTMLTableElement.setTFoot.

setTFootImplback to summary
pack-priv static native void setTFootImpl(long peer, long value)
setTHeadback to summary
public void setTHead(HTMLTableSectionElement value) throws DOMException

Implements org.w3c.dom.html.HTMLTableElement.setTHead.

setTHeadImplback to summary
pack-priv static native void setTHeadImpl(long peer, long value)
setWidthback to summary
public void setWidth(String value)

Implements org.w3c.dom.html.HTMLTableElement.setWidth.

setWidthImplback to summary
pack-priv static native void setWidthImpl(long peer, String value)