Java Doc for ItsNatTableStructure.java in  » Ajax » ItsNat » org » itsnat » comp » 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 » Ajax » ItsNat » org.itsnat.comp 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.itsnat.comp.ItsNatTableStructure

All known Subclasses:   org.itsnat.impl.comp.ItsNatTableStructureDefaultImpl,
ItsNatTableStructure
public interface ItsNatTableStructure (Code)
Used by table components to locate the required elements of the table layout.

Default implementation respects the normal layout of HTML <table> structures, if no HTML table is involved (free table) then is expected a similar layout than in an HTML table.


author:
   Jose Maria Arranz Santamaria
See Also:   ItsNatComponentManager.createDefaultItsNatTableStructure
See Also:   ItsNatTable.getItsNatTableStructure
See Also:   org.itsnat.core.domutil.ElementTableStructure




Method Summary
public  ElementgetBodyElement(ItsNatTable table, Element tableElem)
     Returns the table body element.
public  ElementgetCellContentElement(ItsNatTable table, int row, int col, Element cellElem)
     Returns the content element of a table cell.
public  ElementgetHeadElement(ItsNatTable table, Element tableElem)
     Returns the table head element.
public  ElementgetHeaderColumnContentElement(ItsNatTableHeader tableHeader, int column, Element itemElem)
     Returns the content element of a table header column.
public  ElementgetRowContentElement(ItsNatTable table, int row, Element rowElem)
     Returns the content element of a table row.



Method Detail
getBodyElement
public Element getBodyElement(ItsNatTable table, Element tableElem)(Code)
Returns the table body element.

Default implementation returns (if exists) the first <tbody> element if the table element is a <table>, else (free table) returns the second child element if the table contains more than one child element, else returns the table element (the one child element is considered a row pattern). Never is null.


Parameters:
  table - the table component, may be used to provide contextual information. Default implementation ignores it.
Parameters:
  tableElem - the parent element of the table. Is a hint, if provided should be obtained by calling table.getElement(). the body element.



getCellContentElement
public Element getCellContentElement(ItsNatTable table, int row, int col, Element cellElem)(Code)
Returns the content element of a table cell. This element is used to render the cell value.

Default implementation delegates to the default org.itsnat.core.domutil.ElementTableStructure .


Parameters:
  table - the table component, may be used to provide contextual information. Default implementation ignores it.
Parameters:
  row - index of the row.
Parameters:
  col - index of the column.
Parameters:
  cellElem - the element containing the cell (cell element).This element is a hint, if provided, should be the same as returned by table.getItsNatTableUI().getCellElementAt(row,col). the cell content element.
See Also:   ItsNatTableCellRenderer
See Also:   



getHeadElement
public Element getHeadElement(ItsNatTable table, Element tableElem)(Code)
Returns the table head element.

Default implementation returns (if exists) the <thead> element if the table element is a <table>, else (free table) returns the first child element if the table contains more than one child element, else returns null (no head).


Parameters:
  table - the table component, may be used to provide contextual information. Default implementation ignores it.
Parameters:
  tableElem - the parent element of the table. Is a hint, if provided should be obtained by calling table.getElement(). the head element. May be null.



getHeaderColumnContentElement
public Element getHeaderColumnContentElement(ItsNatTableHeader tableHeader, int column, Element itemElem)(Code)
Returns the content element of a table header column. This element is used to render header column.

Default implementation delegates to the default org.itsnat.core.domutil.ElementListStructure .


Parameters:
  tableHeader - the table header component, may be used to provide contextual information. Default implementation ignores it.
Parameters:
  column - the column index.
Parameters:
  itemElem - the element containing the column markup in this position. Is a hint, if provided should be obtained by calling tableHeader.getItsNatTableHeaderUI().getColumnElementAt(index). the content element.
See Also:   ItsNatTableHeaderCellRenderer



getRowContentElement
public Element getRowContentElement(ItsNatTable table, int row, Element rowElem)(Code)
Returns the content element of a table row. This element is used as the parent of table cell elements.

Default implementation delegates to the default org.itsnat.core.domutil.ElementTableStructure .


Parameters:
  table - the table component, may be used to provide contextual information. Default implementation ignores it.
Parameters:
  row - index of the row.
Parameters:
  rowElem - the element containing the row (row element).This element is a hint, if provided, should be the same as returned by table.getItsNatTableUI().getRowElementAt(row). the row content element.



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