KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > w3c > dom > html2 > HTMLTableCellElement


1 /*
2     GNU LESSER GENERAL PUBLIC LICENSE
3     Copyright (C) 2006 The Lobo Project
4
5     This library is free software; you can redistribute it and/or
6     modify it under the terms of the GNU Lesser General Public
7     License as published by the Free Software Foundation; either
8     version 2.1 of the License, or (at your option) any later version.
9
10     This library is distributed in the hope that it will be useful,
11     but WITHOUT ANY WARRANTY; without even the implied warranty of
12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13     Lesser General Public License for more details.
14
15     You should have received a copy of the GNU Lesser General Public
16     License along with this library; if not, write to the Free Software
17     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
19     Contact info: xamjadmin@users.sourceforge.net
20 */

21 /*
22  * Copyright (c) 2003 World Wide Web Consortium,
23  * (Massachusetts Institute of Technology, Institut National de
24  * Recherche en Informatique et en Automatique, Keio University). All
25  * Rights Reserved. This program is distributed under the W3C's Software
26  * Intellectual Property License. This program is distributed in the
27  * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
28  * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
29  * PURPOSE.
30  * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
31  */

32
33 package org.w3c.dom.html2;
34
35 /**
36  * The object used to represent the <code>TH</code> and <code>TD</code>
37  * elements. See the TD element definition in HTML 4.01.
38  * <p>See also the <a HREF='http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109'>Document Object Model (DOM) Level 2 HTML Specification</a>.
39  */

40 public interface HTMLTableCellElement extends HTMLElement {
41     /**
42      * The index of this cell in the row, starting from 0. This index is in
43      * document tree order and not display order.
44      */

45     public int getCellIndex();
46
47     /**
48      * Abbreviation for header cells. See the abbr attribute definition in
49      * HTML 4.01.
50      */

51     public String JavaDoc getAbbr();
52     /**
53      * Abbreviation for header cells. See the abbr attribute definition in
54      * HTML 4.01.
55      */

56     public void setAbbr(String JavaDoc abbr);
57
58     /**
59      * Horizontal alignment of data in cell. See the align attribute definition
60      * in HTML 4.01.
61      */

62     public String JavaDoc getAlign();
63     /**
64      * Horizontal alignment of data in cell. See the align attribute definition
65      * in HTML 4.01.
66      */

67     public void setAlign(String JavaDoc align);
68
69     /**
70      * Names group of related headers. See the axis attribute definition in
71      * HTML 4.01.
72      */

73     public String JavaDoc getAxis();
74     /**
75      * Names group of related headers. See the axis attribute definition in
76      * HTML 4.01.
77      */

78     public void setAxis(String JavaDoc axis);
79
80     /**
81      * Cell background color. See the bgcolor attribute definition in HTML
82      * 4.01. This attribute is deprecated in HTML 4.01.
83      */

84     public String JavaDoc getBgColor();
85     /**
86      * Cell background color. See the bgcolor attribute definition in HTML
87      * 4.01. This attribute is deprecated in HTML 4.01.
88      */

89     public void setBgColor(String JavaDoc bgColor);
90
91     /**
92      * Alignment character for cells in a column. See the char attribute
93      * definition in HTML 4.01.
94      */

95     public String JavaDoc getCh();
96     /**
97      * Alignment character for cells in a column. See the char attribute
98      * definition in HTML 4.01.
99      */

100     public void setCh(String JavaDoc ch);
101
102     /**
103      * Offset of alignment character. See the charoff attribute definition in
104      * HTML 4.01.
105      */

106     public String JavaDoc getChOff();
107     /**
108      * Offset of alignment character. See the charoff attribute definition in
109      * HTML 4.01.
110      */

111     public void setChOff(String JavaDoc chOff);
112
113     /**
114      * Number of columns spanned by cell. See the colspan attribute definition
115      * in HTML 4.01.
116      */

117     public int getColSpan();
118     /**
119      * Number of columns spanned by cell. See the colspan attribute definition
120      * in HTML 4.01.
121      */

122     public void setColSpan(int colSpan);
123
124     /**
125      * List of <code>id</code> attribute values for header cells. See the
126      * headers attribute definition in HTML 4.01.
127      */

128     public String JavaDoc getHeaders();
129     /**
130      * List of <code>id</code> attribute values for header cells. See the
131      * headers attribute definition in HTML 4.01.
132      */

133     public void setHeaders(String JavaDoc headers);
134
135     /**
136      * Cell height. See the height attribute definition in HTML 4.01. This
137      * attribute is deprecated in HTML 4.01.
138      */

139     public String JavaDoc getHeight();
140     /**
141      * Cell height. See the height attribute definition in HTML 4.01. This
142      * attribute is deprecated in HTML 4.01.
143      */

144     public void setHeight(String JavaDoc height);
145
146     /**
147      * Suppress word wrapping. See the nowrap attribute definition in HTML
148      * 4.01. This attribute is deprecated in HTML 4.01.
149      */

150     public boolean getNoWrap();
151     /**
152      * Suppress word wrapping. See the nowrap attribute definition in HTML
153      * 4.01. This attribute is deprecated in HTML 4.01.
154      */

155     public void setNoWrap(boolean noWrap);
156
157     /**
158      * Number of rows spanned by cell. See the rowspan attribute definition in
159      * HTML 4.01.
160      */

161     public int getRowSpan();
162     /**
163      * Number of rows spanned by cell. See the rowspan attribute definition in
164      * HTML 4.01.
165      */

166     public void setRowSpan(int rowSpan);
167
168     /**
169      * Scope covered by header cells. See the scope attribute definition in
170      * HTML 4.01.
171      */

172     public String JavaDoc getScope();
173     /**
174      * Scope covered by header cells. See the scope attribute definition in
175      * HTML 4.01.
176      */

177     public void setScope(String JavaDoc scope);
178
179     /**
180      * Vertical alignment of data in cell. See the valign attribute definition
181      * in HTML 4.01.
182      */

183     public String JavaDoc getVAlign();
184     /**
185      * Vertical alignment of data in cell. See the valign attribute definition
186      * in HTML 4.01.
187      */

188     public void setVAlign(String JavaDoc vAlign);
189
190     /**
191      * Cell width. See the width attribute definition in HTML 4.01. This
192      * attribute is deprecated in HTML 4.01.
193      */

194     public String JavaDoc getWidth();
195     /**
196      * Cell width. See the width attribute definition in HTML 4.01. This
197      * attribute is deprecated in HTML 4.01.
198      */

199     public void setWidth(String JavaDoc width);
200
201 }
202
Popular Tags