Java Doc for Tree.java in  » J2EE » ICEfaces-1.6.1 » com » icesoft » faces » component » tree » 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 » J2EE » ICEfaces 1.6.1 » com.icesoft.faces.component.tree 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.icesoft.faces.component.tree.Tree

Tree
public class Tree extends UICommand implements NamingContainer(Code)
Tree is a JSF component class that represent an ICEfaces tree.

The tree component displays hierarchical data as a "tree" of branches and leaf nodes. Optionally, the tree may also display navigation controls for the dynamic expansion and collapse of branch nodes. Nodes may also support an action event when clicked that can be used to respond to user click events.

This component extends the JSF UICommand component and implemnents the JSF NamingContainer interface.

By default this component is rendered by the "com.icesoft.faces.View" renderer type.
author:
   Chris Brown
author:
   gmccleary
version:
   1.1


Inner Class :class NodeEvent extends FacesEvent

Field Summary
final public static  StringCOMPONENT_TYPE
    
final public static  StringID_PREFIX
     String constant for tree node id prefix.
final public static  StringNAVIGATION_EVENT_COLLAPSE
     String constant for tree node collapse event.
final public static  StringNAVIGATION_EVENT_EXPAND
     String constant for tree node expand event.
protected  MapsavedChildren
    

Constructor Summary
public  Tree()
    

Method Summary
public  voidbroadcast(FacesEvent event)
    
public  StringgetComponentType()
    
public  DefaultMutableTreeNodegetCurrentNode()
    
public  StringgetDocumentImage()
    
public  StringgetFamily()
    
public  StringgetFolderImage()
    
public  StringgetFolderOpenImage()
    
public  StringgetHideNavigation()
    
public  StringgetHideRootNode()
    
public  StringgetImage(String imageProperty, String bindingName, String defaultImage)
    
public  StringgetImageDir()
    
public  StringgetLineBlank()
    
public  StringgetLineBlankImage()
    
public  StringgetLineBottomImage()
    
public  StringgetLineBottomNode()
    
public  StringgetLineMiddleImage()
    
public  StringgetLineMiddleNode()
    
public  StringgetLineVertical()
    
public  StringgetLineVerticalImage()
    
public  TreeModelgetModel()
    
public  StringgetNavCloseBottom()
    
public  StringgetNavCloseBottomImage()
    
public  StringgetNavCloseMiddle()
    
public  StringgetNavCloseMiddleImage()
    
public  StringgetNavCloseTop()
    
public  StringgetNavCloseTopImage()
    
public  StringgetNavCloseTopNoSiblings()
    
public  StringgetNavCloseTopNoSiblingsImage()
    
public  StringgetNavExpandedMiddle()
    
public  StringgetNavExpandedTop()
    
public  StringgetNavOpenBottom()
    
public  StringgetNavOpenBottomImage()
    
public  StringgetNavOpenMiddle()
    
public  StringgetNavOpenMiddleImage()
    
public  StringgetNavOpenTop()
    
public  StringgetNavOpenTopImage()
    
public  StringgetNavOpenTopNoSiblings()
    
public  StringgetNavOpenTopNoSiblingsImage()
    
public  DefaultMutableTreeNodegetNavigatedNode()
    
public  StringgetNavigationEventType()
    
public  DefaultMutableTreeNodegetNodeAtPathsEnd(String pathToSelectedNode)
    
public  StringgetNodePath()
    
public  StringgetRendererType()
    
public  StringgetStyle()
    
public  StringgetStyleClass()
    
public  TreeNodegetTreeNodeTemplate()
    
 StringgetTreeRowStyleClass()
    
public  StringgetVar()
    
public  voidprocessDecodes(FacesContext context)
    
public  voidprocessUpdates(FacesContext context)
    
public  voidprocessValidators(FacesContext context)
    
public  voidqueueEvent(FacesEvent event)
    
protected  voidrestoreChild(UIComponent component, FacesContext context)
    
protected  voidrestoreChildrenState(FacesContext context)
    
public  voidrestoreState(FacesContext context, Object state)
    
protected  voidsaveChild(UIComponent component, FacesContext context)
    
protected  voidsaveChildState(UIComponent component, FacesContext context)
    
protected  voidsaveChildrenState(FacesContext context)
    
public  ObjectsaveState(FacesContext context)
    
public  voidsetCurrentNode(DefaultMutableTreeNode currentNode)
    
public  voidsetDocumentImage(String documentImage)
    
public  voidsetFolderImage(String folderImage)
    
public  voidsetFolderOpenImage(String folderOpenImage)
    
public  voidsetHideNavigation(String b)
    
public  voidsetHideRootNode(String b)
    
public  voidsetImageDir(String imageDir)
    
public  voidsetLineBlank(String lineBlank)
    
public  voidsetLineBottomNode(String lineBottomNode)
    
public  voidsetLineMiddleNode(String lineMiddleNode)
    
public  voidsetLineVertical(String lineVertical)
    
public  voidsetNavCloseBottom(String navCloseBottom)
    
public  voidsetNavCloseMiddle(String navCloseMiddle)
    
public  voidsetNavCloseTop(String navCloseTop)
    
public  voidsetNavCloseTopNoSiblings(String navCloseTopNoSiblings)
    
public  voidsetNavExpandedMiddle(String navExpandedMiddle)
    
public  voidsetNavExpandedTop(String navExpandedTop)
    
public  voidsetNavOpenBottom(String navOpenBottom)
    
public  voidsetNavOpenMiddle(String navOpenMiddle)
    
public  voidsetNavOpenTop(String navOpenTop)
    
public  voidsetNavOpenTopNoSiblings(String navOpenTopNoSiblings)
    
public  voidsetNavigatedNode(DefaultMutableTreeNode navigatedNode)
    
public  voidsetNavigationEventType(String string)
    
public  voidsetNodePath(String nodePath)
    
public  voidsetStyle(String style)
    
public  voidsetStyleClass(String styleClass)
    
public  voidsetVar(String var)
    

Field Detail
COMPONENT_TYPE
final public static String COMPONENT_TYPE(Code)
String constant specifying component type



ID_PREFIX
final public static String ID_PREFIX(Code)
String constant for tree node id prefix.



NAVIGATION_EVENT_COLLAPSE
final public static String NAVIGATION_EVENT_COLLAPSE(Code)
String constant for tree node collapse event.



NAVIGATION_EVENT_EXPAND
final public static String NAVIGATION_EVENT_EXPAND(Code)
String constant for tree node expand event.



savedChildren
protected Map savedChildren(Code)

This map contains ChildState instances for each child component, keyed by the client id of the child.





Constructor Detail
Tree
public Tree()(Code)
default no args constructor




Method Detail
broadcast
public void broadcast(FacesEvent event) throws AbortProcessingException(Code)



getComponentType
public String getComponentType()(Code)
the component type of the tree component.



getCurrentNode
public DefaultMutableTreeNode getCurrentNode()(Code)
DefaultMutableTreeNode currentNode



getDocumentImage
public String getDocumentImage()(Code)
String document img src



getFamily
public String getFamily()(Code)



getFolderImage
public String getFolderImage()(Code)
String folder img src



getFolderOpenImage
public String getFolderOpenImage()(Code)
String folder open img src



getHideNavigation
public String getHideNavigation()(Code)
String hideNavigation



getHideRootNode
public String getHideRootNode()(Code)
String hideRootNode



getImage
public String getImage(String imageProperty, String bindingName, String defaultImage)(Code)

Parameters:
  imageProperty -
Parameters:
  bindingName -
Parameters:
  defaultImage - String img src



getImageDir
public String getImageDir()(Code)
String imageDir



getLineBlank
public String getLineBlank()(Code)
String lineBlank



getLineBlankImage
public String getLineBlankImage()(Code)
String blank img src



getLineBottomImage
public String getLineBottomImage()(Code)
String line bottom img src



getLineBottomNode
public String getLineBottomNode()(Code)
String line bottom node



getLineMiddleImage
public String getLineMiddleImage()(Code)
String line middle img src



getLineMiddleNode
public String getLineMiddleNode()(Code)
String line middle node



getLineVertical
public String getLineVertical()(Code)
String line vertical



getLineVerticalImage
public String getLineVerticalImage()(Code)
String line vertical img src



getModel
public TreeModel getModel()(Code)
TreeModel model associated with tree



getNavCloseBottom
public String getNavCloseBottom()(Code)
String navigation close bottom



getNavCloseBottomImage
public String getNavCloseBottomImage()(Code)
String navigation close bottom img src



getNavCloseMiddle
public String getNavCloseMiddle()(Code)
String navigation close middle



getNavCloseMiddleImage
public String getNavCloseMiddleImage()(Code)
String navigation close middle img src



getNavCloseTop
public String getNavCloseTop()(Code)
String navigation close top



getNavCloseTopImage
public String getNavCloseTopImage()(Code)
String navigation close top img src



getNavCloseTopNoSiblings
public String getNavCloseTopNoSiblings()(Code)
String navigation close top



getNavCloseTopNoSiblingsImage
public String getNavCloseTopNoSiblingsImage()(Code)
String navigation close top img src



getNavExpandedMiddle
public String getNavExpandedMiddle()(Code)
String navigation expand middle



getNavExpandedTop
public String getNavExpandedTop()(Code)
String navigation expanded top



getNavOpenBottom
public String getNavOpenBottom()(Code)
String navigation open bottom



getNavOpenBottomImage
public String getNavOpenBottomImage()(Code)
String navigation open bottom img src



getNavOpenMiddle
public String getNavOpenMiddle()(Code)
String navigation open middle



getNavOpenMiddleImage
public String getNavOpenMiddleImage()(Code)
String navigation open middle img src



getNavOpenTop
public String getNavOpenTop()(Code)
String navigation open top



getNavOpenTopImage
public String getNavOpenTopImage()(Code)
String navigation open top img src



getNavOpenTopNoSiblings
public String getNavOpenTopNoSiblings()(Code)
String navigation open top



getNavOpenTopNoSiblingsImage
public String getNavOpenTopNoSiblingsImage()(Code)
String navigation open top img src



getNavigatedNode
public DefaultMutableTreeNode getNavigatedNode()(Code)
DefaultMutableTreeNode navigatedNode



getNavigationEventType
public String getNavigationEventType()(Code)
String navigationEventType



getNodeAtPathsEnd
public DefaultMutableTreeNode getNodeAtPathsEnd(String pathToSelectedNode)(Code)

Parameters:
  pathToSelectedNode - DefaultMutableTreeNode node at specified path



getNodePath
public String getNodePath()(Code)
String nodePath



getRendererType
public String getRendererType()(Code)
the renderer type of the tree component.



getStyle
public String getStyle()(Code)

Set the value of the style property.

String style property value.



getStyleClass
public String getStyleClass()(Code)

Set the value of the styleClass property.

String style class property value.



getTreeNodeTemplate
public TreeNode getTreeNodeTemplate() throws MalformedTreeTagException(Code)
TreeNode template
throws:
  MalformedTreeTagException -



getTreeRowStyleClass
String getTreeRowStyleClass()(Code)



getVar
public String getVar()(Code)
String var



processDecodes
public void processDecodes(FacesContext context)(Code)



processUpdates
public void processUpdates(FacesContext context)(Code)



processValidators
public void processValidators(FacesContext context)(Code)



queueEvent
public void queueEvent(FacesEvent event)(Code)



restoreChild
protected void restoreChild(UIComponent component, FacesContext context)(Code)

Restore state information for the given child component.


Parameters:
  component -
Parameters:
  context -



restoreChildrenState
protected void restoreChildrenState(FacesContext context)(Code)

Restore state information for all child components.


Parameters:
  context -



restoreState
public void restoreState(FacesContext context, Object state)(Code)
restore the tree component state
Parameters:
  context -
Parameters:
  state -



saveChild
protected void saveChild(UIComponent component, FacesContext context)(Code)

Save state information for the given child component.


Parameters:
  component -
Parameters:
  context -



saveChildState
protected void saveChildState(UIComponent component, FacesContext context)(Code)

Save state information for the given child component and its children.


Parameters:
  component -
Parameters:
  context -



saveChildrenState
protected void saveChildrenState(FacesContext context)(Code)

Save state information for all children of this component.


Parameters:
  context -



saveState
public Object saveState(FacesContext context)(Code)
save the tree component state
Parameters:
  context - Object values[]



setCurrentNode
public void setCurrentNode(DefaultMutableTreeNode currentNode)(Code)

Parameters:
  currentNode -



setDocumentImage
public void setDocumentImage(String documentImage)(Code)

Parameters:
  documentImage -



setFolderImage
public void setFolderImage(String folderImage)(Code)

Parameters:
  folderImage -



setFolderOpenImage
public void setFolderOpenImage(String folderOpenImage)(Code)

Parameters:
  folderOpenImage -



setHideNavigation
public void setHideNavigation(String b)(Code)

Parameters:
  b -



setHideRootNode
public void setHideRootNode(String b)(Code)

Parameters:
  b -



setImageDir
public void setImageDir(String imageDir)(Code)

Parameters:
  imageDir -



setLineBlank
public void setLineBlank(String lineBlank)(Code)

Parameters:
  lineBlank -



setLineBottomNode
public void setLineBottomNode(String lineBottomNode)(Code)

Parameters:
  lineBottomNode -



setLineMiddleNode
public void setLineMiddleNode(String lineMiddleNode)(Code)

Parameters:
  lineMiddleNode -



setLineVertical
public void setLineVertical(String lineVertical)(Code)

Parameters:
  lineVertical -



setNavCloseBottom
public void setNavCloseBottom(String navCloseBottom)(Code)

Parameters:
  navCloseBottom -



setNavCloseMiddle
public void setNavCloseMiddle(String navCloseMiddle)(Code)

Parameters:
  navCloseMiddle -



setNavCloseTop
public void setNavCloseTop(String navCloseTop)(Code)

Parameters:
  navCloseTop -



setNavCloseTopNoSiblings
public void setNavCloseTopNoSiblings(String navCloseTopNoSiblings)(Code)

Parameters:
  navCloseTopNoSiblings -



setNavExpandedMiddle
public void setNavExpandedMiddle(String navExpandedMiddle)(Code)

Parameters:
  navExpandedMiddle -



setNavExpandedTop
public void setNavExpandedTop(String navExpandedTop)(Code)

Parameters:
  navExpandedTop -



setNavOpenBottom
public void setNavOpenBottom(String navOpenBottom)(Code)

Parameters:
  navOpenBottom -



setNavOpenMiddle
public void setNavOpenMiddle(String navOpenMiddle)(Code)

Parameters:
  navOpenMiddle -



setNavOpenTop
public void setNavOpenTop(String navOpenTop)(Code)

Parameters:
  navOpenTop -



setNavOpenTopNoSiblings
public void setNavOpenTopNoSiblings(String navOpenTopNoSiblings)(Code)

Parameters:
  navOpenTopNoSiblings -



setNavigatedNode
public void setNavigatedNode(DefaultMutableTreeNode navigatedNode)(Code)

Parameters:
  navigatedNode -



setNavigationEventType
public void setNavigationEventType(String string)(Code)

Parameters:
  string -



setNodePath
public void setNodePath(String nodePath)(Code)

Parameters:
  nodePath -



setStyle
public void setStyle(String style)(Code)

Set the value of the style property.


Parameters:
  style -



setStyleClass
public void setStyleClass(String styleClass)(Code)

Set the value of the styleClass property.


Parameters:
  styleClass -



setVar
public void setVar(String var)(Code)

Parameters:
  var -



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