KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > columba > mail > config > ComposerItem


1 // The contents of this file are subject to the Mozilla Public License Version
2
// 1.1
3
//(the "License"); you may not use this file except in compliance with the
4
//License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
5
//
6
//Software distributed under the License is distributed on an "AS IS" basis,
7
//WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
8
//for the specific language governing rights and
9
//limitations under the License.
10
//
11
//The Original Code is "The Columba Project"
12
//
13
//The Initial Developers of the Original Code are Frederik Dietz and Timo
14
// Stich.
15
//Portions created by Frederik Dietz and Timo Stich are Copyright (C) 2003.
16
//
17
//All Rights Reserved.
18
package org.columba.mail.config;
19
20 import org.columba.core.config.DefaultItem;
21 import org.columba.core.xml.XmlElement;
22
23 /**
24  * Composer window specific options.
25  *
26  * @author fdietz
27  *
28  */

29
30 //
31
// composer_options.xml:
32
//
33
//<options>
34
//<gui>
35
// <view id="0">
36
// <window maximized="false" height="700" width="600" y="0" x="0" />
37
// <toolbars infopanel="true" main="true" />
38
// <splitpanes header="200" attachment="100" main="200" />
39
// <addressbook enabled="false" />
40
// </view>
41
//</gui>
42
//<spellcheck executable="/usr/bin/aspell" />
43
//<external_editor enabled="false" />
44
//<forward style="attachment" />
45
//<subject ask_if_empty="true" />
46
//<html send_as_multipart="true" enable="false" />
47
//</options>
48

49
50 public class ComposerItem extends DefaultItem {
51
52     public final static String JavaDoc EXTERNAL_EDITOR = "external_editor";
53     public final static String JavaDoc FORWARD = "forward";
54     public final static String JavaDoc SUBJECT = "subject";
55     public final static String JavaDoc HTML = "html";
56     
57     public final static String JavaDoc ENABLED_BOOL = "enabled";
58     public final static String JavaDoc STYLE = "style";
59     public final static String JavaDoc ASK_IF_EMPTY_BOOL = "ask_if_empty";
60     public final static String JavaDoc SEND_AS_MULTIPART = "send_as_multipart";
61     
62     
63     /**
64      * @param root
65      */

66     public ComposerItem(XmlElement root) {
67         super(root);
68     }
69
70 }
71
Popular Tags