Source Code Cross Referenced for HTMLTableElement.java in  » Web-Server » Rimfaxe-Web-Server » org » w3c » dom » html » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Web Server » Rimfaxe Web Server » org.w3c.dom.html 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


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:        import org.w3c.dom.DOMException;
016:
017:        /**
018:         *  The create* and delete* methods on the table allow authors to construct 
019:         * and modify tables. HTML 4.0 specifies that only one of each of the 
020:         * <code>CAPTION</code> , <code>THEAD</code> , and <code>TFOOT</code> 
021:         * elements may exist in a table. Therefore, if one exists, and the 
022:         * createTHead() or createTFoot() method is called, the method returns the 
023:         * existing THead or TFoot element. See the  TABLE element definition in HTML 
024:         * 4.0.
025:         * <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>.
026:         */
027:        public interface HTMLTableElement extends HTMLElement {
028:            /**
029:             *  Returns the table's <code>CAPTION</code> , or void if none exists. 
030:             */
031:            public HTMLTableCaptionElement getCaption();
032:
033:            public void setCaption(HTMLTableCaptionElement caption);
034:
035:            /**
036:             *  Returns the table's <code>THEAD</code> , or <code>null</code> if none 
037:             * exists. 
038:             */
039:            public HTMLTableSectionElement getTHead();
040:
041:            public void setTHead(HTMLTableSectionElement tHead);
042:
043:            /**
044:             *  Returns the table's <code>TFOOT</code> , or <code>null</code> if none 
045:             * exists. 
046:             */
047:            public HTMLTableSectionElement getTFoot();
048:
049:            public void setTFoot(HTMLTableSectionElement tFoot);
050:
051:            /**
052:             *  Returns a collection of all the rows in the table, including all in 
053:             * <code>THEAD</code> , <code>TFOOT</code> , all <code>TBODY</code> 
054:             * elements. 
055:             */
056:            public HTMLCollection getRows();
057:
058:            /**
059:             *  Returns a collection of the defined table bodies. 
060:             */
061:            public HTMLCollection getTBodies();
062:
063:            /**
064:             *  Specifies the table's position with respect to the rest of the 
065:             * document. See the  align attribute definition in HTML 4.0. This 
066:             * attribute is deprecated in HTML 4.0.
067:             */
068:            public String getAlign();
069:
070:            public void setAlign(String align);
071:
072:            /**
073:             *  Cell background color. See the  bgcolor attribute definition in HTML 
074:             * 4.0. This attribute is deprecated in HTML 4.0.
075:             */
076:            public String getBgColor();
077:
078:            public void setBgColor(String bgColor);
079:
080:            /**
081:             *  The width of the border around the table. See the  border attribute 
082:             * definition in HTML 4.0.
083:             */
084:            public String getBorder();
085:
086:            public void setBorder(String border);
087:
088:            /**
089:             *  Specifies the horizontal and vertical space between cell content and 
090:             * cell borders. See the  cellpadding attribute definition in HTML 4.0.
091:             */
092:            public String getCellPadding();
093:
094:            public void setCellPadding(String cellPadding);
095:
096:            /**
097:             *  Specifies the horizontal and vertical separation between cells. See 
098:             * the  cellspacing attribute definition in HTML 4.0.
099:             */
100:            public String getCellSpacing();
101:
102:            public void setCellSpacing(String cellSpacing);
103:
104:            /**
105:             *  Specifies which external table borders to render. See the  frame 
106:             * attribute definition in HTML 4.0.
107:             */
108:            public String getFrame();
109:
110:            public void setFrame(String frame);
111:
112:            /**
113:             *  Specifies which internal table borders to render. See the  rules 
114:             * attribute definition in HTML 4.0.
115:             */
116:            public String getRules();
117:
118:            public void setRules(String rules);
119:
120:            /**
121:             *  Description about the purpose or structure of a table. See the  
122:             * summary attribute definition in HTML 4.0.
123:             */
124:            public String getSummary();
125:
126:            public void setSummary(String summary);
127:
128:            /**
129:             *  Specifies the desired table width. See the  width attribute definition 
130:             * in HTML 4.0.
131:             */
132:            public String getWidth();
133:
134:            public void setWidth(String width);
135:
136:            /**
137:             *  Create a table header row or return an existing one.
138:             * @return  A new table header element (<code>THEAD</code> ).
139:             */
140:            public HTMLElement createTHead();
141:
142:            /**
143:             *  Delete the header from the table, if one exists.
144:             */
145:            public void deleteTHead();
146:
147:            /**
148:             *  Create a table footer row or return an existing one.
149:             * @return  A footer element (<code>TFOOT</code> ).
150:             */
151:            public HTMLElement createTFoot();
152:
153:            /**
154:             *  Delete the footer from the table, if one exists.
155:             */
156:            public void deleteTFoot();
157:
158:            /**
159:             *  Create a new table caption object or return an existing one.
160:             * @return  A <code>CAPTION</code> element.
161:             */
162:            public HTMLElement createCaption();
163:
164:            /**
165:             *  Delete the table caption, if one exists.
166:             */
167:            public void deleteCaption();
168:
169:            /**
170:             *  Insert a new empty row in the table. The new row is inserted 
171:             * immediately before and in the same section as the current 
172:             * <code>index</code> th row in the table. If <code>index</code> is equal 
173:             * to the number of rows, the new row is appended. In addition, when the 
174:             * table is empty the row is inserted into a <code>TBODY</code> which is 
175:             * created and inserted into the table. Note. A table row cannot be empty 
176:             * according to HTML 4.0 Recommendation.
177:             * @param index  The row number where to insert a new row. This index 
178:             *   starts from 0 and is relative to all the rows contained inside the 
179:             *   table, regardless of section parentage.
180:             * @return  The newly created row.
181:             * @exception DOMException
182:             *    INDEX_SIZE_ERR: Raised if the specified index is greater than the 
183:             *   number of rows or if the index is negative.
184:             */
185:            public HTMLElement insertRow(int index) throws DOMException;
186:
187:            /**
188:             *  Delete a table row.
189:             * @param index  The index of the row to be deleted. This index starts 
190:             *   from 0 and is relative to all the rows contained inside the table, 
191:             *   regardless of section parentage.
192:             * @exception DOMException
193:             *    INDEX_SIZE_ERR: Raised if the specified index is greater than or 
194:             *   equal to the number of rows or if the index is negative.
195:             */
196:            public void deleteRow(int index) throws DOMException;
197:
198:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.