Source Code Cross Referenced for Tree.java in  » J2EE » Sofia » com » salmonllc » xml » 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 » Sofia » com.salmonllc.xml 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package com.salmonllc.xml;
002:
003:        /////////////////////////
004:        //$Archive: /JADE/SourceCode/com/salmonllc/xml/Tree.java $
005:        //$Author: Srufle $ 
006:        //$Revision: 7 $ 
007:        //$Modtime: 7/31/02 6:11p $ 
008:        /////////////////////////
009:        /**
010:         * Datastructure used to upload the Tree XML file. Tree contains many TreeItem objects which are stored in form of a Vector.
011:         * Creation date: (8/21/01 4:53:27 PM)
012:         * @author: Deepak Agarwal
013:         */
014:        public class Tree {
015:
016:            private String fieldName = "";
017:
018:            private String fieldExpandImage = "";
019:            private String fieldContractImage = "";
020:            private String fieldNullImage = "";
021:
022:            private String fieldTarget = "";
023:            private String fieldSelectMode = "";
024:            private boolean fieldShowRoot = true;
025:            private String fieldTreeMode = "";
026:            private boolean fieldVisible = true;
027:
028:            public java.util.Vector vctChilds = new java.util.Vector();
029:
030:            /**
031:             * Tree constructor comment.
032:             */
033:            public Tree() {
034:                super ();
035:            }
036:
037:            /**
038:             * This method returns a vector of all Tree Child Nodes
039:             * Creation date: (8/21/01 4:54:42 PM)
040:             * @return java.util.Vector
041:             */
042:            public java.util.Vector getChilds() {
043:                return vctChilds;
044:            }
045:
046:            /**
047:             * Gets the Tree Contract Image
048:             * Creation date: (8/21/01 5:02:02 PM)
049:             * @return java.lang.String
050:             */
051:            public java.lang.String getContractImage() {
052:                return fieldContractImage;
053:            }
054:
055:            /**
056:             * Gets the expand image for a tree node
057:             * Creation date: (8/21/01 5:02:02 PM)
058:             * @return java.lang.String
059:             */
060:            public java.lang.String getExpandImage() {
061:                return fieldExpandImage;
062:            }
063:
064:            /**
065:             * Gets the name for the tree
066:             * Creation date: (8/21/01 5:02:02 PM)
067:             * @return java.lang.String
068:             */
069:            public java.lang.String getName() {
070:                return fieldName;
071:            }
072:
073:            /**
074:             * Gets the null image for the Tree Component
075:             * Creation date: (8/21/01 5:02:02 PM)
076:             * @return java.lang.String
077:             */
078:            public java.lang.String getNullImage() {
079:                return fieldNullImage;
080:            }
081:
082:            /**
083:             * Gets the Seletc mode for the tree. Single Select or Multiple Select
084:             * Creation date: (8/21/01 5:02:02 PM)
085:             * @return java.lang.String
086:             */
087:            public java.lang.String getSelectMode() {
088:                return fieldSelectMode;
089:            }
090:
091:            /**
092:             * Gets the source for the target for the tree display
093:             * Creation date: (8/21/01 5:02:02 PM)
094:             * @return java.lang.String
095:             */
096:            public java.lang.String getTarget() {
097:                return fieldTarget;
098:            }
099:
100:            /**
101:             * Creation date: (8/21/01 5:02:02 PM)
102:             * @return java.lang.String
103:             */
104:            public java.lang.String getTreeMode() {
105:                return fieldTreeMode;
106:            }
107:
108:            /**
109:             * Gets the flag ' is Show root' for Tree Tag
110:             * Creation date: (8/21/01 5:02:02 PM)
111:             * @return boolean
112:             */
113:            public boolean isShowRoot() {
114:                return fieldShowRoot;
115:            }
116:
117:            /**
118:             * Gets the flag 'Visible' for Tree Tag
119:             * Creation date: (8/21/01 5:02:02 PM)
120:             * @return boolean
121:             */
122:            public boolean isVisible() {
123:                return fieldVisible;
124:            }
125:
126:            /**
127:             * Sets the child of a Tree node
128:             * Creation date: (8/21/01 4:54:42 PM)
129:             * @param newChilds java.util.Vector
130:             */
131:            public void setChilds(java.util.Vector newChilds) {
132:                vctChilds = newChilds;
133:            }
134:
135:            /**
136:             * Sets the contract image
137:             * Creation date: (8/21/01 5:02:02 PM)
138:             * @param newContractImage java.lang.String
139:             */
140:            public void setContractImage(java.lang.String newContractImage) {
141:                fieldContractImage = newContractImage;
142:            }
143:
144:            /**
145:             * Sets the exapand image
146:             * Creation date: (8/21/01 5:02:02 PM)
147:             * @param newExpandImage java.lang.String
148:             */
149:            public void setExpandImage(java.lang.String newExpandImage) {
150:                fieldExpandImage = newExpandImage;
151:            }
152:
153:            /**
154:             * Sets the name of the component
155:             * Creation date: (8/21/01 5:02:02 PM)
156:             * @param newName java.lang.String
157:             */
158:            public void setName(java.lang.String newName) {
159:                fieldName = newName;
160:            }
161:
162:            /**
163:             * Sets the null image for the tree
164:             * Creation date: (8/21/01 5:02:02 PM)
165:             * @param newNullImage java.lang.String
166:             */
167:            public void setNullImage(java.lang.String newNullImage) {
168:                fieldNullImage = newNullImage;
169:            }
170:
171:            /**
172:             * Sets the select Mode for the tree
173:             * Creation date: (8/21/01 5:02:02 PM)
174:             * @param newSelectMode java.lang.String
175:             */
176:            public void setSelectMode(java.lang.String newSelectMode) {
177:                fieldSelectMode = newSelectMode;
178:            }
179:
180:            /**
181:             * Sets the flag to 'Show root'
182:             * Creation date: (8/21/01 5:02:02 PM)
183:             * @param newShowRoot boolean
184:             */
185:            public void setShowRoot(boolean newShowRoot) {
186:                fieldShowRoot = newShowRoot;
187:            }
188:
189:            /**
190:             * Sets the source for the target display for the tree
191:             * Creation date: (8/21/01 5:02:02 PM)
192:             * @param newTarget java.lang.String
193:             */
194:            public void setTarget(java.lang.String newTarget) {
195:                fieldTarget = newTarget;
196:            }
197:
198:            /**
199:             * Sets the tree mode
200:             * Creation date: (8/21/01 5:02:02 PM)
201:             * @param newTreeMode java.lang.String
202:             */
203:            public void setTreeMode(java.lang.String newTreeMode) {
204:                fieldTreeMode = newTreeMode;
205:            }
206:
207:            /**
208:             * Sets the visibility of Tree
209:             * Creation date: (8/21/01 5:02:02 PM)
210:             * @param newVisible boolean
211:             */
212:            public void setVisible(boolean newVisible) {
213:                fieldVisible = newVisible;
214:            }
215:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.