com.jniwrapper.win32.ie.dom
Interface Table

All Superinterfaces:
org.w3c.dom.Element, org.w3c.dom.events.EventTarget, org.w3c.dom.html.HTMLElement, HTMLNode, org.w3c.dom.Node
All Known Implementing Classes:
TableImpl

public interface Table
extends HTMLElement

This interface represents HTML table element.


Field Summary
 
Fields inherited from interface org.w3c.dom.Node
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
 
Method Summary
 TableRow createRow()
          Creates row in the table as last row.
 TableRow createRow(int index)
          Creates row in the table.
 void deleteRow()
          Deletes the last table row.
 void deleteRow(int index)
          Deletes the table row.
 java.lang.String getCellPadding()
          Returns the table cell padding.
 java.lang.String getCellSpacing()
          Returns the table cell spacing.
 java.util.List getRows()
          Returns table rows.
 void setCellPadding(java.lang.String padding)
          Sets the table cell padding.
 void setCellSpacing(java.lang.String spacing)
          Returns the table cell spacing.
 
Methods inherited from interface com.jniwrapper.win32.ie.dom.HTMLElement
click, fireEvent, fireEvent, focus, getAbsoluteLocation, getBackground, getBorder, getClassName, getDir, getElementClass, getElementPeer, getElementSize, getHeight, getHTML, getId, getLang, getLocation, getOffsetParent, getStyle, getText, getTitle, getWidth, mouseOver, setAttribute, setBackground, setBorder, setBorder, setClassName, setDir, setHTML, setId, setLang, setStyle, setText, setTitle
 
Methods inherited from interface com.jniwrapper.win32.ie.dom.HTMLNode
getNodePeer, getObjectID
 
Methods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
 
Methods inherited from interface org.w3c.dom.events.EventTarget
addEventListener, dispatchEvent, removeEventListener
 

Method Detail

createRow

TableRow createRow()
Creates row in the table as last row.

Returns:
created row element

createRow

TableRow createRow(int index)
Creates row in the table.

Parameters:
index - position of the created row. The index is zero-based
Returns:
created row element

deleteRow

void deleteRow(int index)
Deletes the table row.

Parameters:
index - index of the deleted table row. The index is zero-based

deleteRow

void deleteRow()
Deletes the last table row.


getRows

java.util.List getRows()
Returns table rows.

Returns:
java.util.List of TableRow objects.

getCellPadding

java.lang.String getCellPadding()
Returns the table cell padding.

Returns:
cell padding

getCellSpacing

java.lang.String getCellSpacing()
Returns the table cell spacing.

Returns:
cell spacing

setCellPadding

void setCellPadding(java.lang.String padding)
Sets the table cell padding.

Parameters:
padding - cell padding

setCellSpacing

void setCellSpacing(java.lang.String spacing)
Returns the table cell spacing.

Parameters:
spacing - cell spacing