Java Doc for MapperSwingTreeModel.java in  » IDE-Netbeans » bpel » org » netbeans » modules » bpel » mapper » 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 » IDE Netbeans » bpel » org.netbeans.modules.bpel.mapper.tree 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.modules.bpel.mapper.tree.MapperSwingTreeModel

MapperSwingTreeModel
public class MapperSwingTreeModel implements TreeModel,MapperTcContext.Provider(Code)
An internal tree model based on the Swing Tree Model. It performs caching of data is obtained from another tree models, which are described by the MapperTreeModel and TreeItemInfoProvider interfaces.
author:
   nk160297


Field Summary
protected  EventListenerListlistenerList
    

Constructor Summary
public  MapperSwingTreeModel(MapperTcContext mapperTcContext, MapperTreeModel sourceModel)
    

Method Summary
public  voidaddTreeModelListener(TreeModelListener l)
    
public  booleancheckNode(Stack<MapperTreeNode> locationStack, TreeItemFinder finder, int maxDepth)
     An auxiliary method is intended to help seach nodes recursively. The locationStack parameter specifies a chain of MapperTreeNode objects, which points to the tree node, from which the searching has to be started.
public static  booleancontainsDataObject(TreePath treePath, Object dataObj)
     Returns true if the specified tree path contains a tree item with the specified data object.
public static  List<Object>convertTreePath(TreePath treePath)
     Converts content of the TreePath to the list of data objects.
public  voidfillNodesList(List<List<MapperTreeNode>> foundLocationsList, Stack<MapperTreeNode> locationStack, TreeItemFinder finder, int maxDepth, boolean lookDeeperIfFound)
     An auxiliary method is intended to help seach nodes recursively. See description of the findFirstNode method.
public  TreePathfindChild(TreePath parentPath, TreeItemFinder finder)
     Looks for the first child of the specified parent according to the finder.
public  TreePathfindChildByDataObj(TreePath parentPath, Object dataObject)
    
public  TreePathfindChildByIndex(TreePath parentPath, int index)
    
public  List<TreePath>findChildren(TreePath parentPath, TreeItemFinder finder)
     Looks for the set of children of the specified parent according to the finder.
public  booleanfindFirstChild(Stack<MapperTreeNode> locationStack, TreeItemFinder finder, int maxDepth)
    
public  TreePathfindFirstNode(List<TreeItemFinder> finderList)
     Looks for the first node, which satisfies the search conditions, which are specified by the finderList argument. The finderList contains the list of TreeItemFinder objects which has to be applied sequentially.
Parameters:
  helper - TreePath of the found tree item.
public  voidfireTreeChanged(Object source, TreePath tPath)
    
protected  voidfireTreeNodesInserted(Object source, TreePath parentTreePath, int childIndex, Object inserted)
    
protected  voidfireTreeNodesRemoved(Object source, TreePath parentTreePath, int childIndex, Object removedObj)
    
public  ObjectgetChild(Object parent, int index)
    
public  intgetChildCount(Object parent)
    
public static  ObjectgetDataObject(TreePath treePath)
    
public  StringgetDisplayName(Object node)
    
public  IcongetIcon(Object node)
    
public  intgetIndexOfChild(Object parent, Object child)
    
public  MapperTcContextgetMapperTcContext()
    
public  JPopupMenugetPopupMenu(Object node)
    
public  ObjectgetRoot()
    
public  MapperTreeModelgetSourceModel()
    
public  StringgetToolTipText(Object node)
    
public  voidinsertChild(TreePath parentPath, int index, Object itemDataObject)
    
public  booleanisConnectable(TreePath treePath)
    
public  booleanisLeaf(Object node)
    
public  voidremove(TreePath treePath)
    
public  voidremoveTreeModelListener(TreeModelListener l)
    
public  List<TreePath>sortByLocation(Collection<TreePath> unsorted)
    
public  voidvalueForPathChanged(TreePath path, Object newValue)
    

Field Detail
listenerList
protected EventListenerList listenerList(Code)




Constructor Detail
MapperSwingTreeModel
public MapperSwingTreeModel(MapperTcContext mapperTcContext, MapperTreeModel sourceModel)(Code)




Method Detail
addTreeModelListener
public void addTreeModelListener(TreeModelListener l)(Code)



checkNode
public boolean checkNode(Stack<MapperTreeNode> locationStack, TreeItemFinder finder, int maxDepth)(Code)
An auxiliary method is intended to help seach nodes recursively. The locationStack parameter specifies a chain of MapperTreeNode objects, which points to the tree node, from which the searching has to be started.

The finder parameter is an object which makes decision. It has to be implemented externally.

The maxDepth parameter specifies the maximum depth do which the recursive algorithm can go.

If it equals to -1, then infinite depth is emplied.

if it equals to 0 than it means that it only necessary to check if the top node in the stack satisfies to the searching conditions.

if it equals to 1 than it means that searching is requested only among direct children of the source node.




containsDataObject
public static boolean containsDataObject(TreePath treePath, Object dataObj)(Code)
Returns true if the specified tree path contains a tree item with the specified data object.
Parameters:
  treePath -
Parameters:
  dataObj -



convertTreePath
public static List<Object> convertTreePath(TreePath treePath)(Code)
Converts content of the TreePath to the list of data objects.
Parameters:
  treePath -



fillNodesList
public void fillNodesList(List<List<MapperTreeNode>> foundLocationsList, Stack<MapperTreeNode> locationStack, TreeItemFinder finder, int maxDepth, boolean lookDeeperIfFound)(Code)
An auxiliary method is intended to help seach nodes recursively. See description of the findFirstNode method. Unlike the findFirstNode it can find more then one node.



findChild
public TreePath findChild(TreePath parentPath, TreeItemFinder finder)(Code)
Looks for the first child of the specified parent according to the finder.
Parameters:
  parentPath -
Parameters:
  finder - the tree path of the found child or null.



findChildByDataObj
public TreePath findChildByDataObj(TreePath parentPath, Object dataObject)(Code)
Looks for a child node by data object
Parameters:
  parentPath -
Parameters:
  dataObject -



findChildByIndex
public TreePath findChildByIndex(TreePath parentPath, int index)(Code)
Looks for a child node by index
Parameters:
  parentPath -
Parameters:
  dataObject -



findChildren
public List<TreePath> findChildren(TreePath parentPath, TreeItemFinder finder)(Code)
Looks for the set of children of the specified parent according to the finder.
Parameters:
  parentPath -
Parameters:
  finder - the tree path of the found child or null.



findFirstChild
public boolean findFirstChild(Stack<MapperTreeNode> locationStack, TreeItemFinder finder, int maxDepth)(Code)



findFirstNode
public TreePath findFirstNode(List<TreeItemFinder> finderList)(Code)
Looks for the first node, which satisfies the search conditions, which are specified by the finderList argument. The finderList contains the list of TreeItemFinder objects which has to be applied sequentially.
Parameters:
  helper - TreePath of the found tree item.



fireTreeChanged
public void fireTreeChanged(Object source, TreePath tPath)(Code)



fireTreeNodesInserted
protected void fireTreeNodesInserted(Object source, TreePath parentTreePath, int childIndex, Object inserted)(Code)



fireTreeNodesRemoved
protected void fireTreeNodesRemoved(Object source, TreePath parentTreePath, int childIndex, Object removedObj)(Code)



getChild
public Object getChild(Object parent, int index)(Code)



getChildCount
public int getChildCount(Object parent)(Code)



getDataObject
public static Object getDataObject(TreePath treePath)(Code)



getDisplayName
public String getDisplayName(Object node)(Code)



getIcon
public Icon getIcon(Object node)(Code)



getIndexOfChild
public int getIndexOfChild(Object parent, Object child)(Code)



getMapperTcContext
public MapperTcContext getMapperTcContext()(Code)



getPopupMenu
public JPopupMenu getPopupMenu(Object node)(Code)



getRoot
public Object getRoot()(Code)



getSourceModel
public MapperTreeModel getSourceModel()(Code)



getToolTipText
public String getToolTipText(Object node)(Code)



insertChild
public void insertChild(TreePath parentPath, int index, Object itemDataObject)(Code)



isConnectable
public boolean isConnectable(TreePath treePath)(Code)



isLeaf
public boolean isLeaf(Object node)(Code)



remove
public void remove(TreePath treePath)(Code)



removeTreeModelListener
public void removeTreeModelListener(TreeModelListener l)(Code)



sortByLocation
public List<TreePath> sortByLocation(Collection<TreePath> unsorted)(Code)



valueForPathChanged
public void valueForPathChanged(TreePath path, Object newValue)(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.