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


org.itsnat.comp.ui.ItsNatTableHeaderUI

All known Subclasses:   org.itsnat.impl.comp.ui.ItsNatTableHeaderUIImpl,
ItsNatTableHeaderUI
public interface ItsNatTableHeaderUI extends ItsNatElementComponentUI(Code)
Is the base interface of the User Interface of a table header.

A table header is managed as a DOM element list, using the current table structure and renderer.

Current implementation does not use the data model and relays heavily on org.itsnat.core.domutil.ElementList .


author:
   Jose Maria Arranz Santamaria
See Also:   ItsNatTableHeader.getItsNatTableHeaderUI
See Also:   ItsNatTableHeader.getItsNatTableHeaderCellRenderer
See Also:   org.itsnat.comp.ItsNatTable.getItsNatTableStructure
See Also:   
See Also:   org.itsnat.core.domutil.ElementList




Method Summary
public  ElementgetContentElementAt(int index)
     Returns the "content" element, this element is used to render below the associated value of the header column element.
public  ElementgetElementAt(int index)
     Returns the header column element at the specified index.
Parameters:
  index - index of the header column to search.
public  ItsNatTableHeadergetItsNatTableHeader()
     Returns the associated component object.
public  ItsNatTableHeaderCellUIgetItsNatTableHeaderCellUIAt(int index)
     Returns an object info of the header column element at the specified position.
Parameters:
  index - index of the element to search for.
public  ItsNatTableHeaderCellUIgetItsNatTableHeaderCellUIFromNode(Node node)
     Returns an object info of the header column element containing the specified node (or the node is itself an element of the list).
Parameters:
  node - the node to search for.
public  intgetLength()
     Returns the number of header columns.
public  ElementinsertElementAt(int index, Object value)
     Inserts a new header column element at the specified position rendering the specified column value.
Parameters:
  index - index of the new header column.
Parameters:
  value - the column value to render as markup.
public  booleanisEmpty()
     Informs whether the table header is empty (no columns).
public  booleanisUsePatternMarkupToRender()
     Informs whether the original (saved as pattern) markup is used to render.
public  voidremoveAllElements()
     Removes all header columns.
public  ElementremoveElementAt(int index)
     Removes the specified header column.
Parameters:
  index - index of the header column to remove.
public  voidremoveElementRange(int fromIndex, int toIndex)
     Removes the header column elements between the specified indexes.
public  voidsetElementValueAt(int index, Object value, boolean isSelected, boolean hasFocus)
     Renders the specified value into the header column element with the given position.
Parameters:
  index - index of the element.
public  voidsetLength(int len)
     Sets the number of header columns.
public  voidsetUsePatternMarkupToRender(boolean value)
     Sets whether the original (saved as pattern) markup is used to render.



Method Detail
getContentElementAt
public Element getContentElementAt(int index)(Code)
Returns the "content" element, this element is used to render below the associated value of the header column element. This element is obtained using the current structure.
Parameters:
  index - index of the element. the content element.
See Also:   org.itsnat.comp.ItsNatTableStructure.getHeaderColumnContentElement(org.itsnat.comp.ItsNatTableHeaderintElement)
See Also:   org.itsnat.core.domutil.ElementList.getContentElementAt(int)
See Also:   



getElementAt
public Element getElementAt(int index)(Code)
Returns the header column element at the specified index.
Parameters:
  index - index of the header column to search. the element in this position or null if index is out of range.
See Also:   org.itsnat.core.domutil.ElementListBase.getElementAt(int)
See Also:   



getItsNatTableHeader
public ItsNatTableHeader getItsNatTableHeader()(Code)
Returns the associated component object. the component object.



getItsNatTableHeaderCellUIAt
public ItsNatTableHeaderCellUI getItsNatTableHeaderCellUIAt(int index)(Code)
Returns an object info of the header column element at the specified position.
Parameters:
  index - index of the element to search for. the object info of the matched column element. Null if index is out of range.
See Also:   ItsNatTableHeaderUI.getItsNatTableHeaderCellUIFromNode(Node)
See Also:   org.itsnat.core.domutil.ElementListBase.getListElementInfoAt(int)



getItsNatTableHeaderCellUIFromNode
public ItsNatTableHeaderCellUI getItsNatTableHeaderCellUIFromNode(Node node)(Code)
Returns an object info of the header column element containing the specified node (or the node is itself an element of the list).
Parameters:
  node - the node to search for. the object info of the matched column element. Null if this node is not contained by the list.
See Also:   ItsNatTableHeaderUI.getItsNatTableHeaderCellUIAt(int)
See Also:   org.itsnat.core.domutil.ElementListBase.getListElementInfoFromNode(Node)



getLength
public int getLength()(Code)
Returns the number of header columns. the number of header columns.
See Also:   org.itsnat.core.domutil.ElementList.getLength



insertElementAt
public Element insertElementAt(int index, Object value)(Code)
Inserts a new header column element at the specified position rendering the specified column value.
Parameters:
  index - index of the new header column.
Parameters:
  value - the column value to render as markup. the new element.
See Also:   org.itsnat.core.domutil.ElementList.insertElementAt(intObject)



isEmpty
public boolean isEmpty()(Code)
Informs whether the table header is empty (no columns). true if the table header is empty.
See Also:   org.itsnat.core.domutil.ElementListBase.isEmpty
See Also:   



isUsePatternMarkupToRender
public boolean isUsePatternMarkupToRender()(Code)
Informs whether the original (saved as pattern) markup is used to render.

The default value is defined by org.itsnat.core.ItsNatDocument.isUsePatternMarkupToRender

true if the original markup is used.
See Also:   ItsNatTableHeaderUI.setUsePatternMarkupToRender(boolean)



removeAllElements
public void removeAllElements()(Code)
Removes all header columns. The header is now empty.
See Also:   org.itsnat.core.domutil.ElementListBase.removeAllElements
See Also:   



removeElementAt
public Element removeElementAt(int index)(Code)
Removes the specified header column.
Parameters:
  index - index of the header column to remove. the removed element or null if index is out of bounds.
See Also:   org.itsnat.core.domutil.ElementListBase.removeElementAt(int)
See Also:   



removeElementRange
public void removeElementRange(int fromIndex, int toIndex)(Code)
Removes the header column elements between the specified indexes.
Parameters:
  fromIndex - low index (inclusive).
Parameters:
  toIndex - high index (inclusive).
See Also:   org.itsnat.core.domutil.ElementListBase.removeElementRange(intint)
See Also:   



setElementValueAt
public void setElementValueAt(int index, Object value, boolean isSelected, boolean hasFocus)(Code)
Renders the specified value into the header column element with the given position.
Parameters:
  index - index of the element.
Parameters:
  value - the value to render.
Parameters:
  isSelected - if this header column is selected.
Parameters:
  hasFocus - if this header has the focus. Current ItsNat implementation ever passes false.
See Also:   org.itsnat.core.domutil.ElementList.setElementValueAt(intObject)
See Also:   



setLength
public void setLength(int len)(Code)
Sets the number of header columns.
Parameters:
  len - the new number of header columns.
See Also:   org.itsnat.core.domutil.ElementList.setLength(int)
See Also:   



setUsePatternMarkupToRender
public void setUsePatternMarkupToRender(boolean value)(Code)
Sets whether the original (saved as pattern) markup is used to render.
Parameters:
  value - true to enable the use of original markup to render.
See Also:   ItsNatTableHeaderUI.isUsePatternMarkupToRender()



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