Java Doc 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 Reference  Class Diagram Java Document (Java Doc) 


org.w3c.dom.html.HTMLTableElement

All known Subclasses:   org.apache.html.dom.HTMLTableElementImpl,
HTMLTableElement
public interface HTMLTableElement extends HTMLElement(Code)
The create* and delete* methods on the table allow authors to construct and modify tables. HTML 4.0 specifies that only one of each of the CAPTION , THEAD , and TFOOT elements may exist in a table. Therefore, if one exists, and the createTHead() or createTFoot() method is called, the method returns the existing THead or TFoot element. See the TABLE element definition in HTML 4.0.

See also the Document Object Model (DOM) Level 2 Specification.





Method Summary
public  HTMLElementcreateCaption()
     Create a new table caption object or return an existing one.
public  HTMLElementcreateTFoot()
     Create a table footer row or return an existing one.
public  HTMLElementcreateTHead()
     Create a table header row or return an existing one.
public  voiddeleteCaption()
     Delete the table caption, if one exists.
public  voiddeleteRow(int index)
     Delete a table row.
Parameters:
  index - The index of the row to be deleted.
public  voiddeleteTFoot()
     Delete the footer from the table, if one exists.
public  voiddeleteTHead()
     Delete the header from the table, if one exists.
public  StringgetAlign()
     Specifies the table's position with respect to the rest of the document.
public  StringgetBgColor()
     Cell background color.
public  StringgetBorder()
     The width of the border around the table.
public  HTMLTableCaptionElementgetCaption()
     Returns the table's CAPTION , or void if none exists.
public  StringgetCellPadding()
     Specifies the horizontal and vertical space between cell content and cell borders.
public  StringgetCellSpacing()
     Specifies the horizontal and vertical separation between cells.
public  StringgetFrame()
     Specifies which external table borders to render.
public  HTMLCollectiongetRows()
     Returns a collection of all the rows in the table, including all in THEAD , TFOOT , all TBODY elements.
public  StringgetRules()
     Specifies which internal table borders to render.
public  StringgetSummary()
     Description about the purpose or structure of a table.
public  HTMLCollectiongetTBodies()
     Returns a collection of the defined table bodies.
public  HTMLTableSectionElementgetTFoot()
     Returns the table's TFOOT , or null if none exists.
public  HTMLTableSectionElementgetTHead()
     Returns the table's THEAD , or null if none exists.
public  StringgetWidth()
     Specifies the desired table width.
public  HTMLElementinsertRow(int index)
     Insert a new empty row in the table.
public  voidsetAlign(String align)
    
public  voidsetBgColor(String bgColor)
    
public  voidsetBorder(String border)
    
public  voidsetCaption(HTMLTableCaptionElement caption)
    
public  voidsetCellPadding(String cellPadding)
    
public  voidsetCellSpacing(String cellSpacing)
    
public  voidsetFrame(String frame)
    
public  voidsetRules(String rules)
    
public  voidsetSummary(String summary)
    
public  voidsetTFoot(HTMLTableSectionElement tFoot)
    
public  voidsetTHead(HTMLTableSectionElement tHead)
    
public  voidsetWidth(String width)
    



Method Detail
createCaption
public HTMLElement createCaption()(Code)
Create a new table caption object or return an existing one. A CAPTION element.



createTFoot
public HTMLElement createTFoot()(Code)
Create a table footer row or return an existing one. A footer element (TFOOT ).



createTHead
public HTMLElement createTHead()(Code)
Create a table header row or return an existing one. A new table header element (THEAD ).



deleteCaption
public void deleteCaption()(Code)
Delete the table caption, if one exists.



deleteRow
public void deleteRow(int index) throws DOMException(Code)
Delete a table row.
Parameters:
  index - The index of the row to be deleted. This index starts from 0 and is relative to all the rows contained inside the table, regardless of section parentage.
exception:
  DOMException - INDEX_SIZE_ERR: Raised if the specified index is greater than or equal to the number of rows or if the index is negative.



deleteTFoot
public void deleteTFoot()(Code)
Delete the footer from the table, if one exists.



deleteTHead
public void deleteTHead()(Code)
Delete the header from the table, if one exists.



getAlign
public String getAlign()(Code)
Specifies the table's position with respect to the rest of the document. See the align attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.



getBgColor
public String getBgColor()(Code)
Cell background color. See the bgcolor attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.



getBorder
public String getBorder()(Code)
The width of the border around the table. See the border attribute definition in HTML 4.0.



getCaption
public HTMLTableCaptionElement getCaption()(Code)
Returns the table's CAPTION , or void if none exists.



getCellPadding
public String getCellPadding()(Code)
Specifies the horizontal and vertical space between cell content and cell borders. See the cellpadding attribute definition in HTML 4.0.



getCellSpacing
public String getCellSpacing()(Code)
Specifies the horizontal and vertical separation between cells. See the cellspacing attribute definition in HTML 4.0.



getFrame
public String getFrame()(Code)
Specifies which external table borders to render. See the frame attribute definition in HTML 4.0.



getRows
public HTMLCollection getRows()(Code)
Returns a collection of all the rows in the table, including all in THEAD , TFOOT , all TBODY elements.



getRules
public String getRules()(Code)
Specifies which internal table borders to render. See the rules attribute definition in HTML 4.0.



getSummary
public String getSummary()(Code)
Description about the purpose or structure of a table. See the summary attribute definition in HTML 4.0.



getTBodies
public HTMLCollection getTBodies()(Code)
Returns a collection of the defined table bodies.



getTFoot
public HTMLTableSectionElement getTFoot()(Code)
Returns the table's TFOOT , or null if none exists.



getTHead
public HTMLTableSectionElement getTHead()(Code)
Returns the table's THEAD , or null if none exists.



getWidth
public String getWidth()(Code)
Specifies the desired table width. See the width attribute definition in HTML 4.0.



insertRow
public HTMLElement insertRow(int index) throws DOMException(Code)
Insert a new empty row in the table. The new row is inserted immediately before and in the same section as the current index th row in the table. If index is equal to the number of rows, the new row is appended. In addition, when the table is empty the row is inserted into a TBODY which is created and inserted into the table. Note. A table row cannot be empty according to HTML 4.0 Recommendation.
Parameters:
  index - The row number where to insert a new row. This index starts from 0 and is relative to all the rows contained inside the table, regardless of section parentage. The newly created row.
exception:
  DOMException - INDEX_SIZE_ERR: Raised if the specified index is greater than the number of rows or if the index is negative.



setAlign
public void setAlign(String align)(Code)



setBgColor
public void setBgColor(String bgColor)(Code)



setBorder
public void setBorder(String border)(Code)



setCaption
public void setCaption(HTMLTableCaptionElement caption)(Code)



setCellPadding
public void setCellPadding(String cellPadding)(Code)



setCellSpacing
public void setCellSpacing(String cellSpacing)(Code)



setFrame
public void setFrame(String frame)(Code)



setRules
public void setRules(String rules)(Code)



setSummary
public void setSummary(String summary)(Code)



setTFoot
public void setTFoot(HTMLTableSectionElement tFoot)(Code)



setTHead
public void setTHead(HTMLTableSectionElement tHead)(Code)



setWidth
public void setWidth(String width)(Code)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.