~ubuntu-branches/ubuntu/karmic/libxerces2-java/karmic

« back to all changes in this revision

Viewing changes to debian/dom2-bindings/org/w3c/dom/html/HTMLTableElement.java

  • Committer: Bazaar Package Importer
  • Author(s): Charles Majola
  • Date: 2005-12-09 11:58:21 UTC
  • Revision ID: james.westby@ubuntu.com-20051209115821-ppifmmty1jv59hik
Tags: 2.6.2-3ubuntu3
Fix Build depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Copyright (c) 1998 World Wide Web Consortium, (Massachusetts Institute of
3
 
 * Technology, Institut National de Recherche en Informatique et en
4
 
 * Automatique, Keio University).
5
 
 * All Rights Reserved. http://www.w3.org/Consortium/Legal/
6
 
 */
7
 
 
8
 
package org.w3c.dom.html;
9
 
 
10
 
import org.w3c.dom.*;
11
 
 
12
 
/**
13
 
 * The create* and delete* methods on the table allow authors to constructand 
14
 
 * modify tables. HTML 4.0 specifies that only one of each of the 
15
 
 * <code>CAPTION</code>, <code>THEAD</code>, and <code>TFOOT</code>elements 
16
 
 * may exist in a table. Therefore, if one exists, and thecreateTHead() or 
17
 
 * createTFoot() method is called, the method returnsthe existing THead or 
18
 
 * TFoot element. See the TABLE element definition in HTML 4.0.
19
 
 */
20
 
public interface HTMLTableElement extends HTMLElement {
21
 
  /**
22
 
   * Returns the table's <code>CAPTION</code>, or void if none exists. 
23
 
   */
24
 
  public HTMLTableCaptionElement getCaption();
25
 
  public void               setCaption(HTMLTableCaptionElement caption);
26
 
  /**
27
 
   * Returns the table's <code>THEAD</code>, or <code>null</code> if none 
28
 
   * exists. 
29
 
   */
30
 
  public HTMLTableSectionElement getTHead();
31
 
  public void               setTHead(HTMLTableSectionElement tHead);
32
 
  /**
33
 
   * Returns the table's <code>TFOOT</code>, or <code>null</code> if none 
34
 
   * exists. 
35
 
   */
36
 
  public HTMLTableSectionElement getTFoot();
37
 
  public void               setTFoot(HTMLTableSectionElement tFoot);
38
 
  /**
39
 
   * Returns a collection of all the rows in the table, including all in 
40
 
   * <code>THEAD</code>, <code>TFOOT</code>, all <code>TBODY</code> elements. 
41
 
   */
42
 
  public HTMLCollection     getRows();
43
 
  /**
44
 
   * Returns a collection of the defined table bodies. 
45
 
   */
46
 
  public HTMLCollection     getTBodies();
47
 
  /**
48
 
   * Specifies the table's position with respect to the rest of the document. 
49
 
   * See the align attribute definition in HTML 4.0. This attribute is 
50
 
   * deprecated in HTML 4.0.
51
 
   */
52
 
  public String             getAlign();
53
 
  public void               setAlign(String align);
54
 
  /**
55
 
   * Cell background color. See the bgcolor attribute definition in HTML 4.0. 
56
 
   * This attribute is deprecated in HTML 4.0.
57
 
   */
58
 
  public String             getBgColor();
59
 
  public void               setBgColor(String bgColor);
60
 
  /**
61
 
   * The width of the border around the table. See the border attribute 
62
 
   * definition in HTML 4.0.
63
 
   */
64
 
  public String             getBorder();
65
 
  public void               setBorder(String border);
66
 
  /**
67
 
   * Specifies the horizontal and vertical space between cell content andcell 
68
 
   * borders. See the cellpadding attribute definition in HTML 4.0.
69
 
   */
70
 
  public String             getCellPadding();
71
 
  public void               setCellPadding(String cellPadding);
72
 
  /**
73
 
   * Specifies the horizontal and vertical separation between cells. See the 
74
 
   * cellspacing attribute definition in HTML 4.0.
75
 
   */
76
 
  public String             getCellSpacing();
77
 
  public void               setCellSpacing(String cellSpacing);
78
 
  /**
79
 
   * Specifies which external table borders to render. See the frame attribute 
80
 
   * definition in HTML 4.0.
81
 
   */
82
 
  public String             getFrame();
83
 
  public void               setFrame(String frame);
84
 
  /**
85
 
   * Specifies which internal table borders to render. See the rules attribute 
86
 
   * definition in HTML 4.0.
87
 
   */
88
 
  public String             getRules();
89
 
  public void               setRules(String rules);
90
 
  /**
91
 
   * Supplementary description about the purpose or structureof a table. See 
92
 
   * the summary attribute definition in HTML 4.0.
93
 
   */
94
 
  public String             getSummary();
95
 
  public void               setSummary(String summary);
96
 
  /**
97
 
   * Specifies the desired table width. See the width attribute definition in 
98
 
   * HTML 4.0.
99
 
   */
100
 
  public String             getWidth();
101
 
  public void               setWidth(String width);
102
 
  /**
103
 
   * Create a table header row or return an existing one.
104
 
   * @return A new table header element (<code>THEAD</code>).
105
 
   */
106
 
  public HTMLElement        createTHead();
107
 
  /**
108
 
   * Delete the header from the table, if one exists.
109
 
   */
110
 
  public void               deleteTHead();
111
 
  /**
112
 
   * Create a table footer row or return an existing one.
113
 
   * @return A footer element (<code>TFOOT</code>).
114
 
   */
115
 
  public HTMLElement        createTFoot();
116
 
  /**
117
 
   * Delete the footer from the table, if one exists.
118
 
   */
119
 
  public void               deleteTFoot();
120
 
  /**
121
 
   * Create a new table caption object or return an existing one.
122
 
   * @return A <code>CAPTION</code> element.
123
 
   */
124
 
  public HTMLElement        createCaption();
125
 
  /**
126
 
   * Delete the table caption, if one exists.
127
 
   */
128
 
  public void               deleteCaption();
129
 
  /**
130
 
   * Insert a new empty row in the table.Note. A table row cannot be empty
131
 
   * according to HTML 4.0 Recommendation. 
132
 
   * @param index The row number where to insert a new row.
133
 
   * @return The newly created row.
134
 
   */
135
 
  public HTMLElement        insertRow(int index);
136
 
  /**
137
 
   * Delete a table row.
138
 
   * @param index The index of the row to be deleted.
139
 
   */
140
 
  public void               deleteRow(int index);
141
 
}
142