Source Code Cross Referenced for TreeListener.java in  » Ajax » gwtext-2.01 » com » gwtext » client » data » event » 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 » Ajax » gwtext 2.01 » com.gwtext.client.data.event 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * GWT-Ext Widget Library
003:         * Copyright(c) 2007-2008, GWT-Ext.
004:         * licensing@gwt-ext.com
005:         * 
006:         * http://www.gwt-ext.com/license
007:         */
008:
009:        package com.gwtext.client.data.event;
010:
011:        import com.gwtext.client.data.Node;
012:        import com.gwtext.client.data.Tree;
013:
014:        /**
015:         * {@link Tree} listener interface.
016:         */
017:        public interface TreeListener {
018:
019:            /**
020:             * Fires when a new child node is appended to a node in this tree.
021:             *
022:             * @param tree   the owner tree
023:             * @param parent the parent node
024:             * @param node   the newly appended node
025:             * @param index  the index of the newly appended node
026:             */
027:            void onAppend(Tree tree, Node parent, Node node, int index);
028:
029:            /**
030:             * Fires before a new child is appended to a node in this tree, return false to cancel the append.
031:             *
032:             * @param tree   the owner tree
033:             * @param parent the parent node
034:             * @param node   the child node to be appended
035:             * @return false to cancel the append
036:             */
037:            boolean doBeforeAppend(Tree tree, Node parent, Node node);
038:
039:            /**
040:             * Fires before a new child is inserted in a node in this tree, return false to cancel the insert.
041:             *
042:             * @param tree    the owner tree
043:             * @param parent  the parent node
044:             * @param node    the child node to be inserted
045:             * @param refNode the child node the node is being inserted before
046:             * @return false to cancel the insert
047:             */
048:            boolean doBeforeInsert(Tree tree, Node parent, Node node,
049:                    Node refNode);
050:
051:            /**
052:             * Fires before a node is moved to a new location in the tree. Return false to cancel the move.
053:             *
054:             * @param tree      the owner tree
055:             * @param node      the node being moved
056:             * @param oldParent the parent of the node
057:             * @param newParent the new parent the node is moving to
058:             * @param index     the index it is being moved to
059:             * @return false to cancel the move
060:             */
061:            boolean doBeforeMove(Tree tree, Node node, Node oldParent,
062:                    Node newParent, int index);
063:
064:            /**
065:             * Fires before a child is removed from a node in this tree, return false to cancel the remove.
066:             *
067:             * @param tree   the owner tree
068:             * @param parent the parent node
069:             * @param node   the child node to be removed
070:             * @return false to cancel the remove
071:             */
072:            boolean doBeforeRemove(Tree tree, Node parent, Node node);
073:
074:            /**
075:             * Fires when a new child node is inserted in a node in this tree.
076:             *
077:             * @param tree    the owner tree
078:             * @param parent  the parent node
079:             * @param node    the child node inserted
080:             * @param refNode the child node the node was inserted before
081:             */
082:            void onInsert(Tree tree, Node parent, Node node, Node refNode);
083:
084:            /**
085:             * Fires when a node is moved to a new location in the tree.
086:             *
087:             * @param tree      the owner tree
088:             * @param node      the node moved
089:             * @param oldParent the old parent of this node
090:             * @param newParent the new parent of this node
091:             * @param index     the index it was moved to
092:             */
093:            void onMove(Tree tree, Node node, Node oldParent, Node newParent,
094:                    int index);
095:
096:            /**
097:             * Fires when a child node is removed from a node in this tree.
098:             *
099:             * @param tree   the owner tree
100:             * @param parent the parent node
101:             * @param node   the child node removed
102:             */
103:            void onRemove(Tree tree, Node parent, Node node);
104:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.