01: //The contents of this file are subject to the Mozilla Public License Version 1.1
02: //(the "License"); you may not use this file except in compliance with the
03: //License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
04: //
05: //Software distributed under the License is distributed on an "AS IS" basis,
06: //WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
07: //for the specific language governing rights and
08: //limitations under the License.
09: //
10: //The Original Code is "The Columba Project"
11: //
12: //The Initial Developers of the Original Code are Frederik Dietz and Timo Stich.
13: //Portions created by Frederik Dietz and Timo Stich are Copyright (C) 2003.
14: //
15: //All Rights Reserved.
16: package org.columba.core.config;
17:
18: import org.columba.core.xml.XmlElement;
19:
20: /**
21: * User Interface specific options, including the Look&Feel, font settings,
22: * toolbar settings.
23: *
24: * @author fdietz
25: */
26:
27: //
28: // options.xml:
29: //
30: //<gui>
31: // <theme name="Plastic" theme="Experience Blue"></theme>
32: // <fonts overwrite="false">
33: // <text name="Default" size="12"></text>
34: // <main name="Default" size="12"></main>
35: // </fonts>
36: // <toolbar text_position="false" enable_icon="true" enable_text="true"></toolbar>
37: //</gui>
38: public class GuiItem extends DefaultItem {
39:
40: public final static String THEME = "theme"; //$NON-NLS-1$
41: public final static String NAME = "name"; //$NON-NLS-1$
42:
43: public final static String FONT = "fonts"; //$NON-NLS-1$
44: public final static String FONT_MAIN = "fonts/main"; //$NON-NLS-1$
45: public final static String FONT_TEXT = "fonts/text"; //$NON-NLS-1$
46: public final static String OVERWRITE_BOOL = "overwrite"; //$NON-NLS-1$
47: public final static String SIZE_INT = "size"; //$NON-NLS-1$
48:
49: public final static String TOOLBAR = "toolbar"; //$NON-NLS-1$
50: public final static String TEXT_POSITION_BOOL = "text_position"; //$NON-NLS-1$
51: public final static String ENABLE_ICON_BOOL = "enable_icon"; //$NON-NLS-1$
52: public final static String ENABLE_TEXT_BOOL = "enable_text"; //$NON-NLS-1$
53:
54: public GuiItem(final XmlElement theRoot) {
55: super(theRoot);
56: }
57: }
|