Java Doc for IceUserObject.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) 


java.lang.Object
   com.icesoft.faces.component.tree.IceUserObject

IceUserObject
public class IceUserObject (Code)
IceUserObject - the Object that constitutes a DefaultMutableTreeNode's user-specified data.

The TreeModel must contain a tree of DefaultMutableTreeNode instances. Each DefaultMutableTreeNode instance encapsultes an IceUserObject. The IceUserObject is the extension point for the application developer.

By default all nodes are folders unless the leaf attribute is set true.

If the IceUserObject does not provide sufficient state for representation of the tree's nodes, then the application developer should extend the IceUserObject and add state as required to their extension. When creating an IceUserObject, the DefaultMutableTreeNode wrapper must be provided to the constructor. Then the node's state can be set to the attributes on the IceUserObject.



Field Summary
protected  Stringaction
    
protected  StringbranchContractedIcon
    
protected  StringbranchExpandedIcon
    
protected  booleanexpanded
    
protected  Stringicon
    
protected  booleanleaf
    
protected  StringleafIcon
    
protected  Stringtext
    
protected  Stringtooltip
    
protected  TreeNodetreeNode
    
protected  DefaultMutableTreeNodewrapper
    

Constructor Summary
public  IceUserObject(DefaultMutableTreeNode wrapper)
    

Method Summary
public  Stringaction()
    
public  StringgetAction()
    
public  StringgetBranchContractedIcon()
    
public  StringgetBranchExpandedIcon()
    
public  StringgetFamily()
    
public  StringgetIcon()
    
public  StringgetLeafIcon()
    
public  intgetRowIndex()
    
public  StringgetText()
    
public  StringgetTooltip()
    
public  TreeNodegetTreeNode()
    
public  DefaultMutableTreeNodegetWrapper()
    
public  booleanisExpanded()
    
public  booleanisLeaf()
    
public  voidsetAction(String action)
    
public  voidsetBranchContractedIcon(String branchContractedIcon)
    
public  voidsetBranchExpandedIcon(String branchExpandedIcon)
    
public  voidsetExpanded(boolean isExpanded)
    
public  voidsetLeaf(boolean leaf)
    

Set the value of the boolean leaf attribute.

public  voidsetLeafIcon(String leafIcon)
    
public  voidsetRowIndex(int rowIndex)
    
public  voidsetText(String text)
    
public  voidsetTooltip(String tooltipString)
    
public  voidsetTreeNode(TreeNode treeNode)
    
public  voidsetWrapper(DefaultMutableTreeNode wrapper)
    
public  StringtoString()
    

Field Detail
action
protected String action(Code)



branchContractedIcon
protected String branchContractedIcon(Code)



branchExpandedIcon
protected String branchExpandedIcon(Code)



expanded
protected boolean expanded(Code)



icon
protected String icon(Code)



leaf
protected boolean leaf(Code)



leafIcon
protected String leafIcon(Code)



text
protected String text(Code)



tooltip
protected String tooltip(Code)



treeNode
protected TreeNode treeNode(Code)



wrapper
protected DefaultMutableTreeNode wrapper(Code)




Constructor Detail
IceUserObject
public IceUserObject(DefaultMutableTreeNode wrapper)(Code)

Class constructor specifying the DefaultMutableTreeNode wrapper object that will hold a reference to this IceUserObject.


Parameters:
  wrapper -




Method Detail
action
public String action()(Code)

Return the value of the action property.

action



getAction
public String getAction()(Code)

Return the value of the action property.

action



getBranchContractedIcon
public String getBranchContractedIcon()(Code)

Return the value of the branchContractedIcon property.

branchContractedIcon



getBranchExpandedIcon
public String getBranchExpandedIcon()(Code)

Return the value of the branchExpandedIcon property.

branchExpandedIcon



getFamily
public String getFamily()(Code)
null



getIcon
public String getIcon()(Code)

Return the appropriate icon based on this node's leaf attribute or expanded/collapsed state.

By default the leaf attribute is false.

String application-relative path to the image file



getLeafIcon
public String getLeafIcon()(Code)

Return the value of the leafIcon property.

leafIcon



getRowIndex
public int getRowIndex()(Code)
rowIndex



getText
public String getText()(Code)

Return the value of the text property.

text



getTooltip
public String getTooltip()(Code)

Return the value of the tooltip property.

tootip



getTreeNode
public TreeNode getTreeNode()(Code)
treeNode



getWrapper
public DefaultMutableTreeNode getWrapper()(Code)

Return the value of the wrapper property.

wrapper



isExpanded
public boolean isExpanded()(Code)

Return the value of the expanded property.

expanded



isLeaf
public boolean isLeaf()(Code)

Return false if the tree node is a folder.By default all tree nodes are folders.

the boolean value of the leaf attribute.



setAction
public void setAction(String action)(Code)

Set the value of the action property.


Parameters:
  action -



setBranchContractedIcon
public void setBranchContractedIcon(String branchContractedIcon)(Code)

Set the value of the branchContractedIcon property.


Parameters:
  branchContractedIcon -



setBranchExpandedIcon
public void setBranchExpandedIcon(String branchExpandedIcon)(Code)

Set the value of the branchExpandedIcon property.


Parameters:
  branchExpandedIcon -



setExpanded
public void setExpanded(boolean isExpanded)(Code)

Set the value of the expanded property.


Parameters:
  isExpanded -



setLeaf
public void setLeaf(boolean leaf)(Code)

Set the value of the boolean leaf attribute. Setting the leaf attribute to true will force a tree node to be rendered as a leaf. By default the leaf attribute is false therefore all tree nodes will default to folders.


Parameters:
  leaf -



setLeafIcon
public void setLeafIcon(String leafIcon)(Code)

Set the value of the leafIcon property.


Parameters:
  leafIcon -



setRowIndex
public void setRowIndex(int rowIndex)(Code)

Parameters:
  rowIndex -



setText
public void setText(String text)(Code)

Set the value of the text property.


Parameters:
  text -



setTooltip
public void setTooltip(String tooltipString)(Code)

Set the value of the tooltip property.


Parameters:
  tooltipString -



setTreeNode
public void setTreeNode(TreeNode treeNode)(Code)

Parameters:
  treeNode -



setWrapper
public void setWrapper(DefaultMutableTreeNode wrapper)(Code)
Set the DefaultMutableTreeNode instance that wraps this instance
Parameters:
  wrapper -



toString
public String toString()(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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