Source code: com/fm/gui/fmGuiConstants.java
1 /****************************************************************************
2 * Copyright (c) 2003 Andrew Duka | aduka@users.sourceforge.net
3 * All right reserved.
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 ****************************************************************************/
11 package com.fm.gui;
12
13 /**
14 * Common constants used by GUI components
15 */
16 public abstract class fmGuiConstants
17 {
18 // Name for runtime properties
19 public static final String LAST_SAVE_DIRECTORY = "last.save";
20 public static final String LAST_OPEN_DIRECTORY = "last.open";
21 public static final String LAST_OPEN_CHANNEL_ID = "last.channel";
22
23 public static final String PREFFERED_VIEW_MODE = "viewmode";
24 public static final String SPLITTED_VIEW_MODE = "splitted";
25 public static final String SOLID_VIEW_MODE = "solid";
26
27 public static final String URL_HANDLING_CMD = "url.handler";
28 public static final String WIN32_URL_HANDLER = "rundll32 url.dll,FileProtocolHandler %url";
29 public static final String INTERNAL_URL_HANDLER = "internal";
30
31 public final static int TITLE_COLUMN_POSITION = 0;
32 public final static int DATE_COLUMN_POSITION = 1;
33 public final static int AUTHOR_COLUMN_POSITION = 2;
34 public final static int SUBJECT_COLUMN_POSITION = 3;
35
36 // SHOW & TRANSFORM FILTER
37 public final static String DEFAULT_SHOW_FILTER = "show.filter";
38 public final static String ALL_SHOW_FILTER = "0";
39 public final static String UNREAD_SHOW_FILTER = "1";
40 public final static String LAST5_SHOW_FILTER = "2";
41 public final static String LAST10_SHOW_FILTER = "3";
42
43 public final static String TREE_FONT = "tree.font";
44 public final static String HEADERS_FONT = "headers.font";
45 public final static String CONTENT_FONT = "content.font";
46 public final static String CONTENT_LINK_FONT = "content.link.font";
47
48 public final static String AUTOSAVE_ON_EXIT = "autosave.onexit";
49 public final static String AUTOSAVE_ON_CHANGE = "autosave.onchange";
50
51 }