Source Code Cross Referenced for IMailFolder.java in  » Mail-Clients » columba-1.4 » org » columba » mail » folder » 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 » Mail Clients » columba 1.4 » org.columba.mail.folder 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        // The contents of this file are subject to the Mozilla Public License Version
002:        // 1.1
003:        //(the "License"); you may not use this file except in compliance with the
004:        //License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
005:        //
006:        //Software distributed under the License is distributed on an "AS IS" basis,
007:        //WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
008:        //for the specific language governing rights and
009:        //limitations under the License.
010:        //
011:        //The Original Code is "The Columba Project"
012:        //
013:        //The Initial Developers of the Original Code are Frederik Dietz and Timo
014:        // Stich.
015:        //Portions created by Frederik Dietz and Timo Stich are Copyright (C) 2003.
016:        //
017:        //All Rights Reserved.
018:        package org.columba.mail.folder;
019:
020:        import java.util.Enumeration;
021:
022:        import javax.swing.tree.MutableTreeNode;
023:        import javax.swing.tree.TreeNode;
024:        import javax.swing.tree.TreePath;
025:
026:        import org.columba.api.plugin.IExtensionInterface;
027:        import org.columba.core.folder.api.IFolder;
028:        import org.columba.mail.config.IFolderItem;
029:        import org.columba.mail.folder.event.IFolderListener;
030:
031:        /**
032:         * @author fdietz
033:         * 
034:         */
035:        public interface IMailFolder extends MutableTreeNode, IFolder,
036:                IExtensionInterface {
037:            /**
038:             * Adds a listener.
039:             */
040:            void addFolderListener(IFolderListener l);
041:
042:            /**
043:             * Removes a previously registered listener.
044:             */
045:            void removeFolderListener(IFolderListener l);
046:
047:            /**
048:             * Method getSelectionTreePath.
049:             * 
050:             * @return TreePath
051:             */
052:            TreePath getSelectionTreePath();
053:
054:            /**
055:             * Returns the folder's configuration.
056:             */
057:            IFolderItem getConfiguration();
058:
059:            /**
060:             * Sets the folder's configuration.
061:             */
062:            void setConfiguration(IFolderItem node);
063:
064:            /**
065:             * Sets the folder's name. This method notifies registered FolderListeners.
066:             */
067:            void setName(String newName) throws Exception;
068:
069:            /**
070:             * ************************** treenode management
071:             * ******************************
072:             */
073:            void insert(IMailFolder newFolder, int newIndex);
074:
075:            /**
076:             * Removes this folder from its parent. This method will notify registered
077:             * FolderListeners.
078:             */
079:            void removeFolder() throws Exception;
080:
081:            /**
082:             * Adds a child folder to this folder. This method will notify registered
083:             * FolderListeners.
084:             */
085:            void addSubfolder(IMailFolder child) throws Exception;
086:
087:            /**
088:             * 
089:             * AbstractFolder wraps XmlElement
090:             * 
091:             * all treenode manipulation is passed to the corresponding XmlElement
092:             */
093:            void moveTo(IMailFolder child);
094:
095:            /** ******************* capabilities ************************************* */
096:            boolean supportsAddMessage();
097:
098:            /**
099:             * Returns true if this folder can have sub folders of the specified type;
100:             * false otherwise.
101:             * 
102:             * @param newFolderType
103:             *            the folder that is going to be inserted as a child.
104:             * @return true if this folder can have sub folders; false otherwise.
105:             */
106:            boolean supportsAddFolder(String newFolderType);
107:
108:            /**
109:             * Returns true if this folder type can be moved around in the folder tree.
110:             * 
111:             * @return true if this folder type can be moved around in the folder tree.
112:             */
113:            boolean supportsMove();
114:
115:            /**
116:             * Return the root folder of this folder.
117:             * <p>
118:             * This is especially useful when using IMAP. IMAP has a root folder which
119:             * is labelled with the account name.
120:             * 
121:             * @return root parent folder of this folder
122:             */
123:            IMailFolder getRootFolder();
124:
125:            void fireFolderPropertyChanged();
126:
127:            void fireFolderAdded(IMailFolder folder);
128:
129:            void fireFolderRemoved();
130:
131:            TreeNode[] getPath();
132:
133:            String getTreePath();
134:
135:            Enumeration breadthFirstEnumeration();
136:
137:            Enumeration depthFirstEnumeration();
138:
139:            /**
140:             * Add treenode as child to this parent node.
141:             * 
142:             * @param treeNode	new treenode
143:             */
144:            void add(IMailFolder treeNode);
145:
146:            public String getType();
147:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.