|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.rosuda.JGR.toolkit.JGRPrefs
public class JGRPrefs
JGRPrefs - preferences like fonts colors ....
Field Summary | |
---|---|
static boolean |
askForSavingWorkspace
ask for saving workspace |
static boolean |
AUTOTAB
Automatic tabs |
static java.awt.Color |
BRACKETHighLight
DefaultBracketHighLightColor |
static javax.swing.text.MutableAttributeSet |
CMD
DefaultCMDSet |
static java.awt.Color |
CMDColor
DefaultCommandColor |
static javax.swing.text.MutableAttributeSet |
COMMENT
DefaultCommentSet |
static boolean |
COMMENT_IT
Default Comment italics |
static java.awt.Color |
COMMENTColor
DefaultCommentColor |
static int |
consoleHeight
|
static int |
consoleWidth
Console dims |
static int |
DEBUG
Debuglevel |
static java.awt.Font |
DefaultFont
DefaultFont |
static javax.swing.text.MutableAttributeSet |
DEFAULTFONT
DefaultFontSet |
static java.lang.String |
defaultPackages
Default packages (more precisely default package + those to load on startup) |
static java.awt.Color |
ERRORColor
DefaultErrorColor |
static java.lang.String |
FontName
DefaultFontName |
static int |
FontSize
DefaultFontSize |
static int |
FontStyle
DefaultFontStyle |
static java.awt.Color |
HighLightColor
DefaultHighLightColor |
static java.awt.Color |
HIGHLIGHTColor
Default line HIGHLIGHTColor |
static boolean |
isMac
Is JGR running on a Mac? |
static boolean |
isWindows
|
static javax.swing.text.MutableAttributeSet |
KEYWORD
DefaultKEYWORDSet |
static boolean |
KEYWORD_BOLD
Default Keyword bolding |
static java.awt.Color |
KEYWORDColor
DefaultKeyWordColor |
static boolean |
LINE_HIGHLIGHT
Default Line Highlight |
static boolean |
LINE_NUMBERS
Default Line numbering |
static int |
maxHelpTabs
MaximalHelpTabs |
static int |
MINFONTSIZE
MinimalFontSize |
static javax.swing.text.MutableAttributeSet |
NORMAL
DefaultSet |
static javax.swing.text.MutableAttributeSet |
NUMBER
DefaultNumberSet |
static java.awt.Color |
NUMBERColor
DefaultNumberColor |
static javax.swing.text.MutableAttributeSet |
OBJECT
DefaultKEYWORDOBJECTSet |
static boolean |
OBJECT_IT
Default Object italics |
static java.awt.Color |
OBJECTColor
DefaultKeyWordObjectColor |
static int |
prefsVersion
Preference version |
static java.lang.String |
previousPackages
Packages which were installed when JGR was running the last time |
static javax.swing.text.MutableAttributeSet |
QUOTE
DefaultQuoteSet |
static java.awt.Color |
QUOTEColor
DefaultQuoteColor |
static javax.swing.text.MutableAttributeSet |
RESULT
DefaultResultSet |
static java.awt.Color |
RESULTColor
DefaultResultColor |
static boolean |
showHiddenFiles
ShowHiddenFiles |
static javax.swing.text.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 java.lang.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()
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 java.lang.String FontName
public static int FontStyle
public static int FontSize
public static final int MINFONTSIZE
public static java.awt.Font DefaultFont
public static java.awt.Color HighLightColor
public static java.awt.Color CMDColor
public static java.awt.Color RESULTColor
public static java.awt.Color ERRORColor
public static java.awt.Color BRACKETHighLight
public static javax.swing.text.MutableAttributeSet DEFAULTFONT
public static javax.swing.text.MutableAttributeSet SIZE
public static javax.swing.text.MutableAttributeSet CMD
public static javax.swing.text.MutableAttributeSet RESULT
public static javax.swing.text.MutableAttributeSet NORMAL
public static javax.swing.text.MutableAttributeSet NUMBER
public static java.awt.Color NUMBERColor
public static javax.swing.text.MutableAttributeSet KEYWORD
public static java.awt.Color KEYWORDColor
public static boolean KEYWORD_BOLD
public static javax.swing.text.MutableAttributeSet OBJECT
public static java.awt.Color OBJECTColor
public static boolean OBJECT_IT
public static boolean AUTOTAB
public static javax.swing.text.MutableAttributeSet COMMENT
public static java.awt.Color COMMENTColor
public static boolean COMMENT_IT
public static javax.swing.text.MutableAttributeSet QUOTE
public static java.awt.Color QUOTEColor
public static boolean LINE_HIGHLIGHT
public static java.awt.Color HIGHLIGHTColor
public static boolean LINE_NUMBERS
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 java.lang.String previousPackages
public static java.lang.String workingDirectory
public static java.lang.String defaultPackages
public static boolean askForSavingWorkspace
public static int tabWidth
public static int consoleWidth
public static int consoleHeight
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()
public static void writeCurrentPackagesWhenExit()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |