Package org.opencms.ui.editors
Class CmsSourceEditor.EditorSettings
java.lang.Object
org.opencms.ui.editors.CmsSourceEditor.EditorSettings
- All Implemented Interfaces:
I_CmsAppSettings
- Enclosing class:
- CmsSourceEditor
Stores the editor settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the font size.Returns the string representation of the current setting state.boolean
Returns a flag, indicating if automatically closing brackets is activated.boolean
Returns a flag, indicating if highlighting is activated.boolean
Returns a flag, indicating if line wrapping is activated.boolean
Returns a flag, indicating if tabs should be visible.void
restoreSettings
(String storedSettings) Restores the settings from the given string.
-
Constructor Details
-
EditorSettings
public EditorSettings()
-
-
Method Details
-
getFontSize
Returns the font size.- Returns:
- the font size.
-
getSettingsString
Description copied from interface:I_CmsAppSettings
Returns the string representation of the current setting state.Will be used to restore the settings.
- Specified by:
getSettingsString
in interfaceI_CmsAppSettings
- Returns:
- the settings string
- See Also:
-
isCloseBracketsActive
Returns a flag, indicating if automatically closing brackets is activated.- Returns:
- a flag, indicating if automatically closing brackets is activated.
-
isHighlightingActive
Returns a flag, indicating if highlighting is activated.- Returns:
- a flag, indicating if highlighting is activated.
-
isLineWrappingActive
Returns a flag, indicating if line wrapping is activated.- Returns:
- a flag, indicating if line wrapping is activated.
-
isTabsVisibleActive
Returns a flag, indicating if tabs should be visible.- Returns:
- a flag, indicating if tabs should be visible.
-
restoreSettings
Description copied from interface:I_CmsAppSettings
Restores the settings from the given string.- Specified by:
restoreSettings
in interfaceI_CmsAppSettings
- Parameters:
storedSettings
- the stored settings- See Also:
-