|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthalo.userinterface.gui.session.Config
public class Config
Provides a set of final parameters describing paths and file names and saves user decisions for the display of certain dialogs
Field Summary | |
---|---|
static java.lang.String |
CONFIGDIR
|
static java.lang.String |
CONFIGFILE
|
static java.lang.String |
CONFIGPATH
|
static java.lang.String |
CORRELATIONCOEFFICIENT
|
static java.lang.String |
LOESSREGRESSION
|
Constructor Summary | |
---|---|
Config()
|
Method Summary | |
---|---|
static void |
generateConfigFile()
Generates a file that saves information about the display of the information dialog on program start, exit dialog on program exit, and path of the session file based on previously loaded values |
static void |
generateConfigFile(boolean hint,
boolean exit,
java.lang.String file)
Generates a file that saves information about the display of the information dialog on program start, exit dialog on program exit, and path of the session file |
static boolean |
getDisplayExit()
Returns true if exit dialog should be displayed |
static boolean |
getDisplayHint()
Returns true if question mark dialog should be displayed |
static java.lang.String |
getPathToR()
Returns the path of the R bin folder |
static java.lang.String |
getSessionFile()
Returns the path of the session file |
static java.lang.String |
getUserbrowser()
Returns the user browser |
static void |
loadConfigFile()
Loads a config file |
static void |
setDisplayExit(boolean exit)
Sets the information if exit dialog should be displayed |
static void |
setDisplayHint(boolean hint)
Sets the information if question mark dialog should be displayed |
static void |
setPathToR(java.lang.String pathToR)
Sets the path to the bin folder of the R installation |
static void |
setSessionFile(java.lang.String file)
Sets the path of the session file |
static void |
setUserbrowser(java.lang.String userbrowser)
Sets the user browser |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CONFIGDIR
public static final java.lang.String CONFIGPATH
public static final java.lang.String CORRELATIONCOEFFICIENT
public static final java.lang.String LOESSREGRESSION
public static final java.lang.String CONFIGFILE
Constructor Detail |
---|
public Config()
Method Detail |
---|
public static void generateConfigFile(boolean hint, boolean exit, java.lang.String file)
hint
- TRUE if dialog about question mark should be displayed againexit
- TRUE if dialog about saving on exit should be displayed againfile
- Path of the file that contains the saved sessionpublic static void generateConfigFile()
public static void loadConfigFile()
public static void setDisplayHint(boolean hint)
hint
- TRUE if question mark dialog should be displayedpublic static void setDisplayExit(boolean exit)
exit
- TRUE if exit dialog should be displayedpublic static void setPathToR(java.lang.String pathToR)
pathToR
- The absolute path of the R bin folderpublic static void setSessionFile(java.lang.String file)
file
- Path of the session filepublic static void setUserbrowser(java.lang.String userbrowser)
userbrowser
- User-defined browserpublic static boolean getDisplayHint()
public static boolean getDisplayExit()
public static java.lang.String getSessionFile()
public static java.lang.String getUserbrowser()
public static java.lang.String getPathToR()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |