|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.fife.ui.app.GUIApplicationPreferences org.fife.rtext.RTextPreferences
public class RTextPreferences
A class representing several properties of an RText session. This class is used for saving user preferences between RText sessions. It consists only of public data members for ease of use.
Fields inherited from class org.fife.ui.app.GUIApplicationPreferences |
---|
accelerators, language, location, lookAndFeel, size, statusBarVisible, toolbarVisible |
Fields inherited from interface org.fife.ui.app.GUIApplicationConstants |
---|
OS_LINUX, OS_MAC_OSX, OS_OTHER, OS_WINDOWS |
Fields inherited from interface org.fife.ui.dockablewindows.DockableWindowConstants |
---|
BOTTOM, FLOATING, LEFT, RIGHT, TOP |
Method Summary | |
---|---|
static GUIApplicationPreferences |
generatePreferences(RText rtext)
Creates a properties object with all fields initialized to the values that the specified RText instance is currently running with. |
static java.lang.String |
getLookAndFeelToLoad()
Returns just the LookAndFeel saved in the application preferences. |
static GUIApplicationPreferences |
loadPreferences()
Returns a preferences instance with data saved previously via the Java Preferences API. |
void |
savePreferences(java.lang.Object rtext)
Saves this preferences instance via the Java Preferences API. |
protected void |
setDefaults()
Sets this preferences instance to contain all default values. |
java.lang.String |
toString()
Returns a String representation of this object. |
Methods inherited from class org.fife.ui.app.GUIApplicationPreferences |
---|
generatePreferences, getAccelerator, loadCommonPreferences, saveCommonPreferences |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_MAX_SPELLING_ERRORS
public static final java.awt.Color DEFAULT_SPELLING_ERROR_COLOR
public java.lang.String iconGroupName
public boolean lineNumbersVisible
public int tabSize
public boolean emulateTabsWithSpaces
public int textMode
public int tabPlacement
public java.awt.Font printFont
public java.lang.Object backgroundObject
public float imageAlpha
public boolean wordWrap
public java.awt.Color caretColor
public java.awt.Color selectionColor
public java.awt.Color selectedTextColor
public boolean useSelectedTextColor
public SyntaxScheme colorScheme
public java.lang.String syntaxFiltersString
public int maxFileHistorySize
public java.lang.String fileHistoryString
public boolean currentLineHighlightEnabled
public java.awt.Color currentLineHighlightColor
public int mainView
public boolean highlightModifiedDocNames
public java.awt.Color modifiedDocumentNamesColor
public boolean bracketMatchingEnabled
public boolean matchBothBrackets
public java.awt.Color matchedBracketBGColor
public java.awt.Color matchedBracketBorderColor
public boolean marginLineEnabled
public int marginLinePosition
public java.awt.Color marginLineColor
public boolean highlightSecondaryLanguages
public java.awt.Color[] secondaryLanguageColors
public boolean hyperlinksEnabled
public java.awt.Color hyperlinkColor
public int hyperlinkModifierKey
public boolean visibleWhitespace
public boolean showEOLMarkers
public boolean showTabLines
public java.awt.Color tabLinesColor
public boolean rememberWhitespaceLines
public boolean autoInsertClosingCurlys
public boolean aaEnabled
public boolean fractionalMetricsEnabled
public java.awt.Color markAllHighlightColor
public boolean markOccurrences
public java.awt.Color markOccurrencesColor
public int statusBarStyle
public boolean roundedSelectionEdges
public java.lang.String workingDirectory
public int[] carets
public int caretBlinkRate
public boolean searchToolBarVisible
public int[] dividerLocations
public java.lang.String defaultLineTerminator
public java.lang.String defaultEncoding
public boolean guessFileContentType
public boolean doFileSizeCheck
public float maxFileSize
public boolean ignoreBackupExtensions
public java.awt.Font textAreaFont
public boolean textAreaUnderline
public java.awt.Color textAreaForeground
public java.awt.ComponentOrientation textAreaOrientation
public boolean showHostName
public boolean bomInUtf8
public boolean bookmarksEnabled
public java.awt.Font lineNumberFont
public java.awt.Color lineNumberColor
public java.awt.Color gutterBorderColor
public boolean spellCheckingEnabled
public java.awt.Color spellCheckingColor
public java.lang.String spellingDictionary
public java.io.File userDictionary
public int maxSpellingErrors
public boolean viewSpellingList
public boolean searchWindowOpacityEnabled
public float searchWindowOpacity
public int searchWindowOpacityRule
public boolean dropShadowsInEditor
public java.lang.String codeFoldingEnabledFor
public boolean useSearchDialogs
public javax.swing.KeyStroke[] mainViewActionAccelerators
Method Detail |
---|
public static GUIApplicationPreferences generatePreferences(RText rtext)
RTextPreferences
object initialized to contain
the properties the specified RText instance is running with.public static java.lang.String getLookAndFeelToLoad()
public static GUIApplicationPreferences loadPreferences()
true
is returned. If the
load failed default values will be set.public void savePreferences(java.lang.Object rtext)
savePreferences
in class GUIApplicationPreferences
rtext
- The rtext instance for which you are saving preferences.protected void setDefaults()
setDefaults
in class GUIApplicationPreferences
public java.lang.String toString()
String
representation of this object.
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |