KickJava   Java API By Example, From Geeks To Geeks.

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


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  * User interface specific options, including configuration settings for
25  * the tree view, the message list and the message preview component.
26  *
27  * @author fdietz
28  */

29
30 //
31
// options.xml
32
//
33
//<options>
34
// <gui>
35
// <messageviewer inline_attachments="false">
36
// <smilies enabled="true" />
37
// <quote color="0" enabled="true" />
38
// </messageviewer>
39
// <tree>
40
// <sorting sorted="true" ascending="true" comparator="alphabetic" />
41
// </tree>
42
// </gui>
43
// <html prefer="true" />
44
// <markasread delay="2" enabled="true" />
45
// <headerviewer style="0" headerfields="Subject Date Reply-To From To Cc Bcc" />
46
//</options>
47

48 public class OptionsItem extends DefaultItem {
49
50     public final static String JavaDoc MESSAGEVIEWER = "gui/messageviewer";
51     
52     public final static String JavaDoc MESSAGEVIEWER_SMILIES = "gui/messageviewer/smilies";
53     
54     public final static String JavaDoc MESSAGEVIEWER_QUOTE = "gui/messageviewer/quote";
55     
56     public final static String JavaDoc TREE = "gui/tree";
57     
58     public final static String JavaDoc TREE_SORTING = "gui/tree/sorting";
59     
60     public final static String JavaDoc ENABLED_BOOL = "enabled";
61     
62     public final static String JavaDoc DISABLE_BOOL = "disable";
63     
64     public final static String JavaDoc SORTED_BOOL = "sorted";
65     
66     public final static String JavaDoc ASCENDING_BOOL = "ascending";
67     
68     public final static String JavaDoc COMPARATOR = "comparator";
69     
70     public final static String JavaDoc HTML = "html";
71     
72     public final static String JavaDoc PREFER_BOOL = "prefer";
73     
74     public final static String JavaDoc MARKASREAD = "markasread";
75     
76     public final static String JavaDoc DELAY_INT = "delay";
77     
78     public final static String JavaDoc HEADERVIEWER = "headerviewer";
79     
80     public final static String JavaDoc STYLE_INT = "style";
81     
82     public final static String JavaDoc HEADERFIELDS = "headerfields";
83     
84     public final static String JavaDoc INLINE_ATTACHMENTS_BOOL = "inline_attachments";
85     
86     public final static String JavaDoc SELECTED_BROWSER = "selected_browser";
87     
88     /**
89      * @param root
90      */

91     public OptionsItem(XmlElement root) {
92         super(root);
93     }
94
95 }
96
Popular Tags