gnu.xml.dom.html2

Class DomHTMLTableCellElement

Implemented Interfaces:
Cloneable, Comparable<T>, DocumentEvent, Element, EventTarget, HTMLElement, HTMLTableCellElement, Node, NodeList

public class DomHTMLTableCellElement
extends DomHTMLElement
implements HTMLTableCellElement

An HTML 'TH' or 'TD' element node.

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

Constructor Summary

DomHTMLTableCellElement(DomHTMLDocument owner, String namespaceURI, String name)

Method Summary

String
getAbbr()
Abbreviation for header cells.
String
getAlign()
Horizontal alignment of data in cell.
String
getAxis()
Names group of related headers.
String
getBgColor()
Cell background color.
int
getCellIndex()
The index of this cell in the row, starting from 0.
String
getCh()
Alignment character for cells in a column.
String
getChOff()
Offset of alignment character.
int
getColSpan()
Number of columns spanned by cell.
String
getHeaders()
List of id attribute values for header cells.
String
getHeight()
Cell height.
boolean
getNoWrap()
Suppress word wrapping.
int
getRowSpan()
Number of rows spanned by cell.
String
getScope()
Scope covered by header cells.
String
getVAlign()
Vertical alignment of data in cell.
String
getWidth()
Cell width.
void
setAbbr(String abbr)
Abbreviation for header cells.
void
setAlign(String align)
Horizontal alignment of data in cell.
void
setAxis(String axis)
Names group of related headers.
void
setBgColor(String bgColor)
Cell background color.
void
setCh(String ch)
Alignment character for cells in a column.
void
setChOff(String chOff)
Offset of alignment character.
void
setColSpan(int colSpan)
Number of columns spanned by cell.
void
setHeaders(String headers)
List of id attribute values for header cells.
void
setHeight(String height)
Cell height.
void
setNoWrap(boolean noWrap)
Suppress word wrapping.
void
setRowSpan(int rowSpan)
Number of rows spanned by cell.
void
setScope(String scope)
Scope covered by header cells.
void
setVAlign(String vAlign)
Vertical alignment of data in cell.
void
setWidth(String width)
Cell width.

Methods inherited from class gnu.xml.dom.html2.DomHTMLElement

dispatchUIEvent, getBooleanHTMLAttribute, getChildElement, getClassName, getDir, getHTMLAttribute, getId, getIndex, getIntHTMLAttribute, getLang, getParentElement, getTitle, setBooleanHTMLAttribute, setClassName, setDir, setHTMLAttribute, setId, setIntHTMLAttribute, setLang, setTitle

Methods inherited from class gnu.xml.dom.DomElement

clone, getAttribute, getAttributeNS, getAttributeNode, getAttributeNodeNS, getAttributes, getBaseURI, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, hasAttributes, isDefaultNamespace, isEqualNode, lookupNamespaceURI, lookupPrefix, makeReadonly, removeAttribute, removeAttributeNS, removeAttributeNode, setAttribute, setAttributeNS, setAttributeNode, setAttributeNodeNS, setIdAttribute, setIdAttributeNS, setIdAttributeNode

Methods inherited from class gnu.xml.dom.DomNsNode

getLocalName, getNamespaceURI, getNodeName, getPrefix, setPrefix

Methods inherited from class gnu.xml.dom.DomNode

addEventListener, appendChild, clone, cloneNode, compact, compareDocumentPosition, compareTo, createEvent, dispatchEvent, getAttributes, getBaseURI, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFeature, getFirstChild, getLastChild, getLength, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isReadonly, isSameNode, isSupported, item, list, lookupNamespaceURI, lookupPrefix, makeReadonly, nameAndTypeEquals, normalize, removeChild, removeEventListener, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData, toString, trimToSize

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

DomHTMLTableCellElement

protected DomHTMLTableCellElement(DomHTMLDocument owner,
                                  String namespaceURI,
                                  String name)

Method Details

getAbbr

public String getAbbr()
Abbreviation for header cells. See the abbr attribute definition in HTML 4.01.
Specified by:
getAbbr in interface HTMLTableCellElement

getAlign

public String getAlign()
Horizontal alignment of data in cell. See the align attribute definition in HTML 4.01.
Specified by:
getAlign in interface HTMLTableCellElement

getAxis

public String getAxis()
Names group of related headers. See the axis attribute definition in HTML 4.01.
Specified by:
getAxis in interface HTMLTableCellElement

getBgColor

public String getBgColor()
Cell background color. See the bgcolor attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
getBgColor in interface HTMLTableCellElement

getCellIndex

public int getCellIndex()
The index of this cell in the row, starting from 0. This index is in document tree order and not display order.
Specified by:
getCellIndex in interface HTMLTableCellElement

getCh

public String getCh()
Alignment character for cells in a column. See the char attribute definition in HTML 4.01.
Specified by:
getCh in interface HTMLTableCellElement

getChOff

public String getChOff()
Offset of alignment character. See the charoff attribute definition in HTML 4.01.
Specified by:
getChOff in interface HTMLTableCellElement

getColSpan

public int getColSpan()
Number of columns spanned by cell. See the colspan attribute definition in HTML 4.01.
Specified by:
getColSpan in interface HTMLTableCellElement

getHeaders

public String getHeaders()
List of id attribute values for header cells. See the headers attribute definition in HTML 4.01.
Specified by:
getHeaders in interface HTMLTableCellElement

getHeight

public String getHeight()
Cell height. See the height attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
getHeight in interface HTMLTableCellElement

getNoWrap

public boolean getNoWrap()
Suppress word wrapping. See the nowrap attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
getNoWrap in interface HTMLTableCellElement

getRowSpan

public int getRowSpan()
Number of rows spanned by cell. See the rowspan attribute definition in HTML 4.01.
Specified by:
getRowSpan in interface HTMLTableCellElement

getScope

public String getScope()
Scope covered by header cells. See the scope attribute definition in HTML 4.01.
Specified by:
getScope in interface HTMLTableCellElement

getVAlign

public String getVAlign()
Vertical alignment of data in cell. See the valign attribute definition in HTML 4.01.
Specified by:
getVAlign in interface HTMLTableCellElement

getWidth

public String getWidth()
Cell width. See the width attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
getWidth in interface HTMLTableCellElement

setAbbr

public void setAbbr(String abbr)
Abbreviation for header cells. See the abbr attribute definition in HTML 4.01.
Specified by:
setAbbr in interface HTMLTableCellElement

setAlign

public void setAlign(String align)
Horizontal alignment of data in cell. See the align attribute definition in HTML 4.01.
Specified by:
setAlign in interface HTMLTableCellElement

setAxis

public void setAxis(String axis)
Names group of related headers. See the axis attribute definition in HTML 4.01.
Specified by:
setAxis in interface HTMLTableCellElement

setBgColor

public void setBgColor(String bgColor)
Cell background color. See the bgcolor attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
setBgColor in interface HTMLTableCellElement

setCh

public void setCh(String ch)
Alignment character for cells in a column. See the char attribute definition in HTML 4.01.
Specified by:
setCh in interface HTMLTableCellElement

setChOff

public void setChOff(String chOff)
Offset of alignment character. See the charoff attribute definition in HTML 4.01.
Specified by:
setChOff in interface HTMLTableCellElement

setColSpan

public void setColSpan(int colSpan)
Number of columns spanned by cell. See the colspan attribute definition in HTML 4.01.
Specified by:
setColSpan in interface HTMLTableCellElement

setHeaders

public void setHeaders(String headers)
List of id attribute values for header cells. See the headers attribute definition in HTML 4.01.
Specified by:
setHeaders in interface HTMLTableCellElement

setHeight

public void setHeight(String height)
Cell height. See the height attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
setHeight in interface HTMLTableCellElement

setNoWrap

public void setNoWrap(boolean noWrap)
Suppress word wrapping. See the nowrap attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
setNoWrap in interface HTMLTableCellElement

setRowSpan

public void setRowSpan(int rowSpan)
Number of rows spanned by cell. See the rowspan attribute definition in HTML 4.01.
Specified by:
setRowSpan in interface HTMLTableCellElement

setScope

public void setScope(String scope)
Scope covered by header cells. See the scope attribute definition in HTML 4.01.
Specified by:
setScope in interface HTMLTableCellElement

setVAlign

public void setVAlign(String vAlign)
Vertical alignment of data in cell. See the valign attribute definition in HTML 4.01.
Specified by:
setVAlign in interface HTMLTableCellElement

setWidth

public void setWidth(String width)
Cell width. See the width attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
setWidth in interface HTMLTableCellElement

DomHTMLTableCellElement.java -- Copyright (C) 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination. As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.