Java Doc for FormResourceTree.java in  » Content-Management-System » harmonise » org » openharmonise » him » swing » resourcetree » formresourcetree » 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 » Content Management System » harmonise » org.openharmonise.him.swing.resourcetree.formresourcetree 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.openharmonise.him.swing.resourcetree.ResourceTree
   org.openharmonise.him.swing.resourcetree.formresourcetree.FormResourceTree

FormResourceTree
public class FormResourceTree extends ResourceTree (Code)
A resource tree that can be used as a form component. Each node in the tree can have either a checkbox or a radio button as part of the cell.
author:
   Matthew Large
version:
   $Revision: 1.1 $



Constructor Summary
public  FormResourceTree(List pathValues)
     Constructs a new form resource tree.
public  FormResourceTree(boolean bUseScrollPane, List pathValues)
     Constructs a new form resource tree.

Method Summary
protected  voidaddCell(FormTreeCell cell)
     Adds a cell to the fuall path to cell map.
public  voidaddFormResourceTreeListener(FormResourceTreeListener listener)
     Adds a form resource tree listener.
public  voidaddPathValue(String sFullPath)
     Adds a selected resource.
protected  voidcellSelected(String sFullPath)
     Selects a cell.
protected  voidcellUnSelected(String sFullPath)
     Deselects a cell.
protected  FormTreeCellgetCellForPath(String sFullPath)
     Gets a cell for a given full path.
Parameters:
  sFullPath - full path of cell to get.
protected  ListgetCellPaths()
     Gets a list of ordered full paths to all the cells.
public  ListgetPathValues()
     Gets a list of full paths to selected resources.
protected  AbstractVirtualFileSystemgetVFS()
    
public  booleanisAllowVirtualDirectorySelect()
     Checks if virtual collections can be selected.
public  booleanisMultiSelect()
     Checks if multiple resources can be selected.
public  voidremoveFormResourceTreeListener(FormResourceTreeListener listener)
     Removes a form resource tree listener.
public  voidremovePathValue(String sFullPath)
     Removes a selected resource.
public  voidsetAllowVirtualDirectorySelect(boolean bAllow)
     Sets whether virtual collections can be selected.
public  voidsetIsMultiSelect(boolean bIsMultiSelect)
     Sets whether multiple resources can be selected.
protected  voidsetup()
     Initialises this component.


Constructor Detail
FormResourceTree
public FormResourceTree(List pathValues)(Code)
Constructs a new form resource tree.
Parameters:
  pathValues - list of full paths of already selected values.



FormResourceTree
public FormResourceTree(boolean bUseScrollPane, List pathValues)(Code)
Constructs a new form resource tree.
Parameters:
  bUseScrollPane - true if the tree is to be enclosed in a scroll pane.
Parameters:
  pathValues - list of full paths of already selected values.




Method Detail
addCell
protected void addCell(FormTreeCell cell)(Code)
Adds a cell to the fuall path to cell map.
Parameters:
  cell - cell to add.



addFormResourceTreeListener
public void addFormResourceTreeListener(FormResourceTreeListener listener)(Code)
Adds a form resource tree listener.
Parameters:
  listener - listener to add.



addPathValue
public void addPathValue(String sFullPath)(Code)
Adds a selected resource.
Parameters:
  sFullPath - full path to selected resource to add.



cellSelected
protected void cellSelected(String sFullPath)(Code)
Selects a cell.
Parameters:
  sFullPath - full path to cell to selected.



cellUnSelected
protected void cellUnSelected(String sFullPath)(Code)
Deselects a cell.
Parameters:
  sFullPath - full path to cell to deselect.



getCellForPath
protected FormTreeCell getCellForPath(String sFullPath)(Code)
Gets a cell for a given full path.
Parameters:
  sFullPath - full path of cell to get. cell for given full path.



getCellPaths
protected List getCellPaths()(Code)
Gets a list of ordered full paths to all the cells. ordered list of full paths.



getPathValues
public List getPathValues()(Code)
Gets a list of full paths to selected resources. list of full paths to selected resources.



getVFS
protected AbstractVirtualFileSystem getVFS()(Code)



isAllowVirtualDirectorySelect
public boolean isAllowVirtualDirectorySelect()(Code)
Checks if virtual collections can be selected. true if virtual collections can be selected.



isMultiSelect
public boolean isMultiSelect()(Code)
Checks if multiple resources can be selected. true if multiple resources can be selected.



removeFormResourceTreeListener
public void removeFormResourceTreeListener(FormResourceTreeListener listener)(Code)
Removes a form resource tree listener.
Parameters:
  listener - listener to remove.



removePathValue
public void removePathValue(String sFullPath)(Code)
Removes a selected resource.
Parameters:
  sFullPath - full path to selected resource to remove.



setAllowVirtualDirectorySelect
public void setAllowVirtualDirectorySelect(boolean bAllow)(Code)
Sets whether virtual collections can be selected.
Parameters:
  bAllow - true to allow virtual collections to be selected.



setIsMultiSelect
public void setIsMultiSelect(boolean bIsMultiSelect)(Code)
Sets whether multiple resources can be selected.
Parameters:
  bIsMultiSelect - true if multiple resources can be selected.



setup
protected void setup()(Code)
Initialises this component.



Fields inherited from org.openharmonise.him.swing.resourcetree.ResourceTree
protected List m_rootPaths(Code)(Java Doc)
protected JTree m_tree(Code)(Java Doc)
protected AbstractVirtualFileSystem m_vfs(Code)(Java Doc)

Methods inherited from org.openharmonise.him.swing.resourcetree.ResourceTree
public void addCollection(VirtualFile vfFile)(Code)(Java Doc)
public void addListener(TreeViewListener listener)(Code)(Java Doc)
public void clearSelection()(Code)(Java Doc)
public void fireTreeSelectionEvent(AbstractVirtualFileSystem vfs, String sPath)(Code)(Java Doc)
public DefaultMutableTreeNode getNode(DefaultMutableTreeNode node, String sPath)(Code)(Java Doc)
public VirtualFile getSelectedResource()(Code)(Java Doc)
public List getSelectionPaths()(Code)(Java Doc)
public JTree getTree()(Code)(Java Doc)
protected AbstractVirtualFileSystem getVFS()(Code)(Java Doc)
public boolean isShowApprovedOnly()(Code)(Java Doc)
public boolean isShowLeafNodes()(Code)(Java Doc)
public boolean isUsingScrollPane()(Code)(Java Doc)
public void openPath(String sPath)(Code)(Java Doc)
public void removeListener(TreeViewListener listener)(Code)(Java Doc)
public void setEnabled(boolean bEnabled)(Code)(Java Doc)
public void setResourceFilter(AbstractResourceFilter resourceFilter)(Code)(Java Doc)
public void setSelectionMode(int nMode)(Code)(Java Doc)
public void setSelectionPath(String sPath)(Code)(Java Doc)
public void setSelectionPaths(List paths)(Code)(Java Doc)
public void setShowApprovedOnly(boolean b)(Code)(Java Doc)
public void setShowLeafNodes(boolean b)(Code)(Java Doc)
protected void setup()(Code)(Java Doc)
public void valueChanged(TreeSelectionEvent e)(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.