Java Doc for DefaultNodeModel.java in  » Project-Management » OpenProj » com » projity » grouping » core » model » 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 » Project Management » OpenProj » com.projity.grouping.core.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.projity.grouping.core.model.DefaultNodeModel

All known Subclasses:   com.projity.grouping.core.model.AssignmentNodeModel,
DefaultNodeModel
public class DefaultNodeModel implements NodeModel(Code)

Inner Class :public static class ImplComparator implements Comparator

Field Summary
protected  NodeModelDataFactorydataFactory
    
protected  NodeHierarchyhierarchy
    
protected  booleanlocalmaster
    
protected  UndoControllerundoController
    

Constructor Summary
public  DefaultNodeModel()
    
public  DefaultNodeModel(NodeModelDataFactory dataFactory)
    
 DefaultNodeModel(NodeHierarchy hierarchy, NodeModelDataFactory dataFactory)
    

Method Summary
public  voidadd(Node parent, Node child, int actionType)
    
public  voidadd(Node parent, Node child, int position, int actionType)
    
public  voidadd(Node parent, List children, int actionType)
    
public  voidadd(Node parent, List children, int position, int actionType)
    
public  voidadd(Node child, int actionType)
    
public  voidaddBefore(LinkedList siblings, Node newNode, int actionType)
    
public  voidaddBefore(Node sibling, Node newNode, int actionType)
    
public  voidaddBefore(Node sibling, List newNodes, int actionType)
    
public  voidaddImplCollection(Node parent, Collection collection, int actionType)
    
public  voidaddTreeModelListener(TreeModelListener arg0)
    
public  Objectclone()
    
public  booleanconfirmRemove(List nodes)
    
public  Listcopy(List nodes, int actionType)
    
public  Listcopy(List nodes, boolean clone, int actionType)
    
public  Listcut(List nodes, int actionType)
    
public  Listcut(List nodes, boolean clone, int actionType)
    
public  ObjectgetChild(Object arg0, int arg1)
    
public  intgetChildCount(Object arg0)
    
public  ListgetChildren(Node parent)
    
public  NodeModelDataFactorygetDataFactory()
    
public  DocumentgetDocument()
    
public  NodeHierarchygetHierarchy()
    
public static  ImplComparatorgetImplComparatorInstance()
    
public  intgetIndexOfChild(Object arg0, Object arg1)
    
public  NodegetParent(Node child)
    
public  ObjectgetRoot()
    
public  UndoControllergetUndoController()
    
public  UndoableEditSupportgetUndoableEditSupport()
    
public  booleanhasChildren(Node node)
    
public  booleanisAncestor(Node parent, Node child)
    
public  booleanisAncestorOrDescendant(Node one, Node two)
    
public static  booleanisEvent(int actionType)
    
public  booleanisLeaf(Object arg0)
    
public  booleanisLocal()
    
public  booleanisMaster()
    
public  booleanisSummary(Node node)
    
public static  booleanisUndo(int actionType)
    
public  Iteratoriterator()
    
public  Iteratoriterator(Node rootNode)
    
public  voidmove(Node parent, List nodes, int position, int actionType)
    
public  NodenewNode(Node parent, int position, int actionType)
    
public  voidpaste(Node parent, List nodes, int position, int actionType)
    
public  voidpostEdit(UndoableEdit edit)
    
public  voidremove(Node node, int actionType)
    
public  voidremove(Node node, int actionType, boolean removeDependencies)
    
protected  voidremove(Node node, int actionType, boolean filterAssignments, boolean removeDependencies)
    
public  voidremove(List nodes, int actionType)
    
public  voidremove(List nodes, int actionType, boolean removeDependencies)
    
protected  voidremove(List nodes, int actionType, boolean filterAssignments, boolean removeDependencies)
    
public  voidremoveAll(int actionType)
    
public  booleanremoveApartFromHierarchy(Node node, boolean cleanAssignment, int actionType, boolean removeDependencies)
    
public  voidremoveTreeModelListener(TreeModelListener arg0)
    
public  NodereplaceImpl(Node node, Object newImpl, Object eventSource, int actionType)
    
public  NodereplaceImplAndSetFieldValue(Node node, LinkedList previous, Field field, Object eventSource, Object value, FieldContext context, int actionType)
    
public  NodereplaceImplAndSetFieldValue(Node node, LinkedList previous, Object newImpl, Field field, Object eventSource, Object value, FieldContext context, int actionType)
    
public  Nodesearch(Object key, Comparator c)
    
public  Nodesearch(Object key)
    
public  voidsetDataFactory(NodeModelDataFactory dataFactory)
    
public  voidsetFieldValue(Field field, Node node, Object eventSource, Object value, FieldContext context, int actionType)
    
public  voidsetHierarchy(NodeHierarchy hierarchy)
    
public  voidsetLocal(boolean local)
    
public  voidsetMaster(boolean master)
    
public  voidsetUndoController(UndoController undoController)
    
public  IteratorshallowIterator(int maxLevel, boolean returnRoot)
    
public  booleantestAncestorOrDescendant(Node one, List nodes)
    
public  voidvalueForPathChanged(TreePath arg0, Object arg1)
    

Field Detail
dataFactory
protected NodeModelDataFactory dataFactory(Code)



hierarchy
protected NodeHierarchy hierarchy(Code)



localmaster
protected boolean localmaster(Code)



undoController
protected UndoController undoController(Code)




Constructor Detail
DefaultNodeModel
public DefaultNodeModel()(Code)



DefaultNodeModel
public DefaultNodeModel(NodeModelDataFactory dataFactory)(Code)



DefaultNodeModel
DefaultNodeModel(NodeHierarchy hierarchy, NodeModelDataFactory dataFactory)(Code)




Method Detail
add
public void add(Node parent, Node child, int actionType)(Code)



add
public void add(Node parent, Node child, int position, int actionType)(Code)



add
public void add(Node parent, List children, int actionType)(Code)



add
public void add(Node parent, List children, int position, int actionType)(Code)



add
public void add(Node child, int actionType)(Code)



addBefore
public void addBefore(LinkedList siblings, Node newNode, int actionType)(Code)



addBefore
public void addBefore(Node sibling, Node newNode, int actionType)(Code)



addBefore
public void addBefore(Node sibling, List newNodes, int actionType)(Code)



addImplCollection
public void addImplCollection(Node parent, Collection collection, int actionType)(Code)
Convenience method to add a collection of objects (not nodes) to the node model
Parameters:
  parent -
Parameters:
  collection -



addTreeModelListener
public void addTreeModelListener(TreeModelListener arg0)(Code)

Parameters:
  arg0 -



clone
public Object clone()(Code)



confirmRemove
public boolean confirmRemove(List nodes)(Code)



copy
public List copy(List nodes, int actionType)(Code)



copy
public List copy(List nodes, boolean clone, int actionType)(Code)



cut
public List cut(List nodes, int actionType)(Code)



cut
public List cut(List nodes, boolean clone, int actionType)(Code)



getChild
public Object getChild(Object arg0, int arg1)(Code)

Parameters:
  arg0 -
Parameters:
  arg1 -



getChildCount
public int getChildCount(Object arg0)(Code)

Parameters:
  arg0 -



getChildren
public List getChildren(Node parent)(Code)



getDataFactory
public NodeModelDataFactory getDataFactory()(Code)



getDocument
public Document getDocument()(Code)



getHierarchy
public NodeHierarchy getHierarchy()(Code)
Returns the hierarchy.



getImplComparatorInstance
public static ImplComparator getImplComparatorInstance()(Code)



getIndexOfChild
public int getIndexOfChild(Object arg0, Object arg1)(Code)

Parameters:
  arg0 -
Parameters:
  arg1 -



getParent
public Node getParent(Node child)(Code)



getRoot
public Object getRoot()(Code)



getUndoController
public UndoController getUndoController()(Code)



getUndoableEditSupport
public UndoableEditSupport getUndoableEditSupport()(Code)



hasChildren
public boolean hasChildren(Node node)(Code)



isAncestor
public boolean isAncestor(Node parent, Node child)(Code)



isAncestorOrDescendant
public boolean isAncestorOrDescendant(Node one, Node two)(Code)



isEvent
public static boolean isEvent(int actionType)(Code)



isLeaf
public boolean isLeaf(Object arg0)(Code)

Parameters:
  arg0 -



isLocal
public boolean isLocal()(Code)



isMaster
public boolean isMaster()(Code)



isSummary
public boolean isSummary(Node node)(Code)



isUndo
public static boolean isUndo(int actionType)(Code)



iterator
public Iterator iterator()(Code)



iterator
public Iterator iterator(Node rootNode)(Code)



move
public void move(Node parent, List nodes, int position, int actionType)(Code)



newNode
public Node newNode(Node parent, int position, int actionType)(Code)



paste
public void paste(Node parent, List nodes, int position, int actionType)(Code)



postEdit
public void postEdit(UndoableEdit edit)(Code)



remove
public void remove(Node node, int actionType)(Code)



remove
public void remove(Node node, int actionType, boolean removeDependencies)(Code)



remove
protected void remove(Node node, int actionType, boolean filterAssignments, boolean removeDependencies)(Code)



remove
public void remove(List nodes, int actionType)(Code)



remove
public void remove(List nodes, int actionType, boolean removeDependencies)(Code)



remove
protected void remove(List nodes, int actionType, boolean filterAssignments, boolean removeDependencies)(Code)



removeAll
public void removeAll(int actionType)(Code)



removeApartFromHierarchy
public boolean removeApartFromHierarchy(Node node, boolean cleanAssignment, int actionType, boolean removeDependencies)(Code)



removeTreeModelListener
public void removeTreeModelListener(TreeModelListener arg0)(Code)

Parameters:
  arg0 -



replaceImpl
public Node replaceImpl(Node node, Object newImpl, Object eventSource, int actionType)(Code)



replaceImplAndSetFieldValue
public Node replaceImplAndSetFieldValue(Node node, LinkedList previous, Field field, Object eventSource, Object value, FieldContext context, int actionType) throws FieldParseException(Code)



replaceImplAndSetFieldValue
public Node replaceImplAndSetFieldValue(Node node, LinkedList previous, Object newImpl, Field field, Object eventSource, Object value, FieldContext context, int actionType) throws FieldParseException(Code)



search
public Node search(Object key, Comparator c)(Code)

Parameters:
  key -
Parameters:
  c -



search
public Node search(Object key)(Code)



setDataFactory
public void setDataFactory(NodeModelDataFactory dataFactory)(Code)

Parameters:
  dataFactory - The dataFactory to set.



setFieldValue
public void setFieldValue(Field field, Node node, Object eventSource, Object value, FieldContext context, int actionType) throws FieldParseException(Code)



setHierarchy
public void setHierarchy(NodeHierarchy hierarchy)(Code)

Parameters:
  hierarchy - The hierarchy to set.



setLocal
public void setLocal(boolean local)(Code)



setMaster
public void setMaster(boolean master)(Code)



setUndoController
public void setUndoController(UndoController undoController)(Code)



shallowIterator
public Iterator shallowIterator(int maxLevel, boolean returnRoot)(Code)



testAncestorOrDescendant
public boolean testAncestorOrDescendant(Node one, List nodes)(Code)



valueForPathChanged
public void valueForPathChanged(TreePath arg0, Object arg1)(Code)

Parameters:
  arg0 -
Parameters:
  arg1 -



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.