KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * Copyright (c) 2000 World Wide Web Consortium,
3  * (Massachusetts Institute of Technology, Institut National de
4  * Recherche en Informatique et en Automatique, Keio University). All
5  * Rights Reserved. This program is distributed under the W3C's Software
6  * Intellectual Property License. This program is distributed in the
7  * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
8  * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more
10  * details.
11  */

12
13 package org.w3c.dom.html;
14
15 /**
16  * The object used to represent the <code>TH</code> and <code>TD</code>
17  * elements. See the TD element definition in HTML 4.0.
18  * <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>.
19  */

20 public interface HTMLTableCellElement extends HTMLElement {
21     /**
22      * The index of this cell in the row, starting from 0. This index is in
23      * document tree order and not display order.
24      */

25     public int getCellIndex();
26
27     /**
28      * Abbreviation for header cells. See the abbr attribute definition in
29      * HTML 4.0.
30      */

31     public String JavaDoc getAbbr();
32     public void setAbbr(String JavaDoc abbr);
33
34     /**
35      * Horizontal alignment of data in cell. See the align attribute
36      * definition in HTML 4.0.
37      */

38     public String JavaDoc getAlign();
39     public void setAlign(String JavaDoc align);
40
41     /**
42      * Names group of related headers. See the axis attribute definition in
43      * HTML 4.0.
44      */

45     public String JavaDoc getAxis();
46     public void setAxis(String JavaDoc axis);
47
48     /**
49      * Cell background color. See the bgcolor attribute definition in HTML
50      * 4.0. This attribute is deprecated in HTML 4.0.
51      */

52     public String JavaDoc getBgColor();
53     public void setBgColor(String JavaDoc bgColor);
54
55     /**
56      * Alignment character for cells in a column. See the char attribute
57      * definition in HTML 4.0.
58      */

59     public String JavaDoc getCh();
60     public void setCh(String JavaDoc ch);
61
62     /**
63      * Offset of alignment character. See the charoff attribute definition
64      * in HTML 4.0.
65      */

66     public String JavaDoc getChOff();
67     public void setChOff(String JavaDoc chOff);
68
69     /**
70      * Number of columns spanned by cell. See the colspan attribute
71      * definition in HTML 4.0.
72      */

73     public int getColSpan();
74     public void setColSpan(int colSpan);
75
76     /**
77      * List of <code>id</code> attribute values for header cells. See the
78      * headers attribute definition in HTML 4.0.
79      */

80     public String JavaDoc getHeaders();
81     public void setHeaders(String JavaDoc headers);
82
83     /**
84      * Cell height. See the height attribute definition in HTML 4.0. This
85      * attribute is deprecated in HTML 4.0.
86      */

87     public String JavaDoc getHeight();
88     public void setHeight(String JavaDoc height);
89
90     /**
91      * Suppress word wrapping. See the nowrap attribute definition in HTML
92      * 4.0. This attribute is deprecated in HTML 4.0.
93      */

94     public boolean getNoWrap();
95     public void setNoWrap(boolean noWrap);
96
97     /**
98      * Number of rows spanned by cell. See the rowspan attribute definition
99      * in HTML 4.0.
100      */

101     public int getRowSpan();
102     public void setRowSpan(int rowSpan);
103
104     /**
105      * Scope covered by header cells. See the scope attribute definition in
106      * HTML 4.0.
107      */

108     public String JavaDoc getScope();
109     public void setScope(String JavaDoc scope);
110
111     /**
112      * Vertical alignment of data in cell. See the valign attribute
113      * definition in HTML 4.0.
114      */

115     public String JavaDoc getVAlign();
116     public void setVAlign(String JavaDoc vAlign);
117
118     /**
119      * Cell width. See the width attribute definition in HTML 4.0. This
120      * attribute is deprecated in HTML 4.0.
121      */

122     public String JavaDoc getWidth();
123     public void setWidth(String JavaDoc width);
124
125 }
126
127
Popular Tags