001: /*
002: * Copyright (c) 2000 World Wide Web Consortium,
003: * (Massachusetts Institute of Technology, Institut National de
004: * Recherche en Informatique et en Automatique, Keio University). All
005: * Rights Reserved. This program is distributed under the W3C's Software
006: * Intellectual Property License. This program is distributed in the
007: * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
008: * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
009: * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more
010: * details.
011: */
012:
013: package org.w3c.dom.html;
014:
015: /**
016: * The object used to represent the <code>TH</code> and <code>TD</code>
017: * elements. See the TD element definition in HTML 4.0.
018: * <p>See also the <a href='http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510'>Document Object Model (DOM) Level 2 Specification</a>.
019: */
020: public interface HTMLTableCellElement extends HTMLElement {
021: /**
022: * The index of this cell in the row, starting from 0. This index is in
023: * document tree order and not display order.
024: */
025: public int getCellIndex();
026:
027: /**
028: * Abbreviation for header cells. See the abbr attribute definition in
029: * HTML 4.0.
030: */
031: public String getAbbr();
032:
033: public void setAbbr(String abbr);
034:
035: /**
036: * Horizontal alignment of data in cell. See the align attribute
037: * definition in HTML 4.0.
038: */
039: public String getAlign();
040:
041: public void setAlign(String align);
042:
043: /**
044: * Names group of related headers. See the axis attribute definition in
045: * HTML 4.0.
046: */
047: public String getAxis();
048:
049: public void setAxis(String axis);
050:
051: /**
052: * Cell background color. See the bgcolor attribute definition in HTML
053: * 4.0. This attribute is deprecated in HTML 4.0.
054: */
055: public String getBgColor();
056:
057: public void setBgColor(String bgColor);
058:
059: /**
060: * Alignment character for cells in a column. See the char attribute
061: * definition in HTML 4.0.
062: */
063: public String getCh();
064:
065: public void setCh(String ch);
066:
067: /**
068: * Offset of alignment character. See the charoff attribute definition
069: * in HTML 4.0.
070: */
071: public String getChOff();
072:
073: public void setChOff(String chOff);
074:
075: /**
076: * Number of columns spanned by cell. See the colspan attribute
077: * definition in HTML 4.0.
078: */
079: public int getColSpan();
080:
081: public void setColSpan(int colSpan);
082:
083: /**
084: * List of <code>id</code> attribute values for header cells. See the
085: * headers attribute definition in HTML 4.0.
086: */
087: public String getHeaders();
088:
089: public void setHeaders(String headers);
090:
091: /**
092: * Cell height. See the height attribute definition in HTML 4.0. This
093: * attribute is deprecated in HTML 4.0.
094: */
095: public String getHeight();
096:
097: public void setHeight(String height);
098:
099: /**
100: * Suppress word wrapping. See the nowrap attribute definition in HTML
101: * 4.0. This attribute is deprecated in HTML 4.0.
102: */
103: public boolean getNoWrap();
104:
105: public void setNoWrap(boolean noWrap);
106:
107: /**
108: * Number of rows spanned by cell. See the rowspan attribute definition
109: * in HTML 4.0.
110: */
111: public int getRowSpan();
112:
113: public void setRowSpan(int rowSpan);
114:
115: /**
116: * Scope covered by header cells. See the scope attribute definition in
117: * HTML 4.0.
118: */
119: public String getScope();
120:
121: public void setScope(String scope);
122:
123: /**
124: * Vertical alignment of data in cell. See the valign attribute
125: * definition in HTML 4.0.
126: */
127: public String getVAlign();
128:
129: public void setVAlign(String vAlign);
130:
131: /**
132: * Cell width. See the width attribute definition in HTML 4.0. This
133: * attribute is deprecated in HTML 4.0.
134: */
135: public String getWidth();
136:
137: public void setWidth(String width);
138:
139: }
|