|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.rosuda.JGR.toolkit.JGRPrefs
public class JGRPrefs
JGRPrefs - preferences like fonts colors ....
| Field Summary | |
|---|---|
static Color |
BRACKETHighLight
DefaultBracketHighLightColor |
static MutableAttributeSet |
CMD
DefaultCMDSet |
static Color |
CMDColor
DefaultCommandColor |
static MutableAttributeSet |
COMMENT
DefaultCommentSet |
static Color |
COMMENTColor
DefaultCommentColor |
static int |
DEBUG
Debuglevel |
static Font |
DefaultFont
DefaultFont |
static MutableAttributeSet |
DEFAULTFONT
DefaultFontSet |
static Color |
ERRORColor
DefaultErrorColor |
static String |
FontName
DefaultFontName |
static int |
FontSize
DefaultFontSize |
static int |
FontStyle
DefaultFontStyle |
static Color |
HighLightColor
DefaultHighLightColor |
static boolean |
isMac
Is JGR running on a Mac? |
static boolean |
isWindows
|
static MutableAttributeSet |
KEYWORD
DefaultKEYWORDSet |
static Color |
KEYWORDColor
DefaultKeyWordColor |
static int |
maxHelpTabs
MaximalHelpTabs |
static int |
MINFONTSIZE
MinimalFontSize |
static MutableAttributeSet |
NORMAL
DefaultSet |
static MutableAttributeSet |
NUMBER
DefaultNumberSet |
static Color |
NUMBERColor
DefaultNumberColor |
static MutableAttributeSet |
OBJECT
DefaultKEYWORDOBJECTSet |
static Color |
OBJECTColor
DefaultKeyWordObjectColor |
static int |
prefsVersion
Preference version |
static String |
previousPackages
Packages which were installed when JGR was running the last time |
static MutableAttributeSet |
QUOTE
DefaultQuoteSet |
static Color |
QUOTEColor
DefaultQuoteColor |
static MutableAttributeSet |
RESULT
DefaultResultSet |
static Color |
RESULTColor
DefaultResultColor |
static boolean |
showHiddenFiles
ShowHiddenFiles |
static MutableAttributeSet |
SIZE
DefaultSizeSet |
static int |
tabWidth
Tab width |
static boolean |
useEmacsKeyBindings
UseEmacsKeyBindings |
static boolean |
useHelpAgent
UseHelpAgent |
static boolean |
useHelpAgentConsole
UseHelpAgent in console |
static boolean |
useHelpAgentEditor
UseHelpAgent in editor |
static String |
workingDirectory
Initial working directory |
| Constructor Summary | |
|---|---|
JGRPrefs()
|
|
| Method Summary | |
|---|---|
static void |
apply()
Apply current settings to JGR. |
static void |
initialize()
Initialize settings from .JGRPrefsrc. |
static void |
readPrefs()
Read prefs form .JGRPrefsrc in user's home directory. |
static void |
refresh()
Refresh current settings. |
static void |
writeCurrentPackagesWhenExit()
Save missing packages if the user likes to be reminded. |
static void |
writePrefs(boolean writeLibs)
Save preferences to .JGRPrefsrc. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int prefsVersion
public static final int DEBUG
public static boolean isMac
public static boolean isWindows
public static String FontName
public static int FontStyle
public static int FontSize
public static final int MINFONTSIZE
public static Font DefaultFont
public static Color HighLightColor
public static Color CMDColor
public static Color RESULTColor
public static Color ERRORColor
public static Color BRACKETHighLight
public static MutableAttributeSet DEFAULTFONT
public static MutableAttributeSet SIZE
public static MutableAttributeSet CMD
public static MutableAttributeSet RESULT
public static MutableAttributeSet NORMAL
public static MutableAttributeSet NUMBER
public static Color NUMBERColor
public static MutableAttributeSet KEYWORD
public static Color KEYWORDColor
public static MutableAttributeSet OBJECT
public static Color OBJECTColor
public static MutableAttributeSet COMMENT
public static Color COMMENTColor
public static MutableAttributeSet QUOTE
public static Color QUOTEColor
public static int maxHelpTabs
public static boolean useHelpAgent
public static boolean useHelpAgentEditor
public static boolean useHelpAgentConsole
public static boolean useEmacsKeyBindings
public static boolean showHiddenFiles
public static String previousPackages
public static String workingDirectory
public static int tabWidth
| Constructor Detail |
|---|
public JGRPrefs()
| Method Detail |
|---|
public static void apply()
public static void initialize()
public static void refresh()
public static void readPrefs()
public static void writePrefs(boolean writeLibs)
writeLibs - R_LIBS should only be saved when new packages where installed.public static void writeCurrentPackagesWhenExit()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||