|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.geeboss.model.settings.GlobalSettings
public class GlobalSettings
This class holds some settings the user has made in Geeboss. Members are temporarily static but should not !.... This class's attributes will be migrated to Settings class.
Field Summary | |
---|---|
static java.lang.String |
charEncoding
Set the character encoding - Default: UTF-8 |
static boolean |
displaySingleTab
true: Display only one tab false: Display multiple tabs |
static boolean |
focusNewTabs
true: Focus on new opened tabs false: Do not focus on new opened tabs |
static java.lang.String |
GEEBOSS_SETTINGS_FILE
The path to the file that is used to cache settings for Geeboss. |
static java.util.HashMap<java.lang.String,java.lang.String[]> |
hotKeys
Hotkeys for common tasks |
static boolean |
isDoubleClickOpen
true: Open bank / patch in Tree with a Double click false: Open bank / patch in Tree with a Single click |
static boolean |
isPatchTreeShown
true: Show Patch Tree false: Do not show Patch tree |
static boolean |
isQuickviewShown
true: Show Quickview window in top of Geeboss false: Do not show Quickview window |
static boolean |
isThreeColumnGUI
true: GUI has three columns to display URL Tree, Newsheader and Newstext false: GUI has two columns, second column is divided into two rows. |
static java.lang.String |
LOGS_DIR
Dir to write the logs. |
static int |
NULL_ACCELERATOR
Setting the null accelerator to a MenuItem will remove the accelerator from the item. |
static boolean |
openNewBrowserWindow
true: Open each internal browser in a new tab false: Open each internal browser in the same tab |
static java.lang.String |
selectedTreeItem
Save the last selected tree item |
static boolean |
showErrors
true: Show errors in tabs false: Do not show errors in tabs |
static boolean |
showSystrayIcon
true: Place application in tray after minimize false: Do not place application in tray after minimize |
static boolean |
showTrayPopup
true: Show the tray popup when unread news are downloaded false: Do not show the tray popup when unread news are downloaded |
static boolean |
simpleTabs
true: Use simple styled tabs false: Use curved styled tabs |
static boolean |
tabPositionIsTop
true: Tabs in TabFolder are displayed on TOP of the Control false: Tabs in TabFolder are displayed on BOTTOM of the Control |
static boolean |
trayOnExit
true: Minimize Geeboss to tray on exit false: Do not minimize Geeboss to tray on exit |
static boolean |
trayOnStartup
true: Minimize Geeboss to tray on startup false: Do not minimize Geeboss to tray on startup |
static java.lang.String |
WORKING_DIR
Working directory. |
Method Summary | |
---|---|
static void |
initDefaultAccelerators()
Assign default hotkeys |
static void |
initDefaultAccelerators(java.util.HashMap<java.lang.String,java.lang.String[]> hotKeys)
Assign default hotkeys to the Hashtable |
static boolean |
isLinux()
Return true if the platform is Linux |
static boolean |
isMac()
Return true if the platform is Mac |
static boolean |
isSolaris()
Return true if the platform is Solaris |
static boolean |
isWindows()
Return true if the platform is Windows |
static boolean |
shouldShowMnemonics()
Check wether mnemonics should be displayed in the current selected language. |
static boolean |
useDragAndDrop()
Get wether drag and drop is supported Currently: win32 / gtk / motif and Mac supported |
static boolean |
useInternalBrowser()
Get wether the Internal Browser should be used Currently: win32, gtk and mac supported |
static boolean |
useIText()
Get wether iText should be used. |
static boolean |
usePrinting()
Get wether Printing should be used Currently: win32 / carbon / motif supported |
static boolean |
useSystemTray()
Get wether system tray is supported Currently: win32 / gtk supported |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String charEncoding
public static boolean displaySingleTab
public static boolean focusNewTabs
public static java.util.HashMap<java.lang.String,java.lang.String[]> hotKeys
public static boolean isDoubleClickOpen
public static boolean isPatchTreeShown
public static boolean isQuickviewShown
public static boolean isThreeColumnGUI
public static java.lang.String WORKING_DIR
public static java.lang.String LOGS_DIR
public static final int NULL_ACCELERATOR
public static boolean openNewBrowserWindow
public static java.lang.String GEEBOSS_SETTINGS_FILE
public static java.lang.String selectedTreeItem
public static boolean showErrors
public static boolean showSystrayIcon
public static boolean showTrayPopup
public static boolean simpleTabs
public static boolean tabPositionIsTop
public static boolean trayOnExit
public static boolean trayOnStartup
Method Detail |
---|
public static void initDefaultAccelerators()
public static void initDefaultAccelerators(java.util.HashMap<java.lang.String,java.lang.String[]> hotKeys)
hotKeys
- Hashtable containing hotkeyspublic static boolean isLinux()
public static boolean isMac()
public static boolean isSolaris()
public static boolean isWindows()
public static boolean shouldShowMnemonics()
public static boolean useDragAndDrop()
public static boolean useInternalBrowser()
public static boolean useIText()
public static boolean usePrinting()
public static boolean useSystemTray()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |