Enum CmsCodeMirror.CodeMirrorTheme
java.lang.Object
java.lang.Enum<CmsCodeMirror.CodeMirrorTheme>
org.opencms.ui.components.codemirror.CmsCodeMirror.CodeMirrorTheme
- All Implemented Interfaces:
Serializable
,Comparable<CmsCodeMirror.CodeMirrorTheme>
,java.lang.constant.Constable
- Enclosing class:
- CmsCodeMirror
The available editor themes.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionTheme.Theme.Theme.Theme.Theme.Theme.Theme.Theme.Theme.Theme.Theme.Theme.Theme.Theme.Theme.Theme.Theme.Theme.Theme.Theme.Theme.Theme.Theme.Theme.Theme.Theme.Theme.Theme.Theme.Theme.Theme. -
Method Summary
Modifier and TypeMethodDescriptionReturns the theme name.toString()
Returns the enum constant of this type with the specified name.static CmsCodeMirror.CodeMirrorTheme[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
AMBIANCE
Theme. -
BASE16_DARK
Theme. -
BASE16_LIGHT
Theme. -
BLACKBOARD
Theme. -
COBALT
Theme. -
DAY_3024
Theme. -
DEFAULT
Theme. -
ECLIPSE
Theme. -
ELEGANT
Theme. -
ERLANG_DARK
Theme. -
ERLANG_LIGHT
Theme. -
LESSER_DARK
Theme. -
MBO
Theme. -
MDN_LIKE
Theme. -
MIDNIGHT
Theme. -
MONOKAI
Theme. -
NEAT
Theme. -
NIGHT
Theme. -
NIGHT_3024
Theme. -
PARAISO_DARK
Theme. -
PARAISO_LIGHT
Theme. -
PASTEL_ON_DARK
Theme. -
RUBYBLUE
Theme. -
SOLARIZED_DARK
Theme. -
SOLARIZED_LIGHT
Theme. -
THE_MATRIX
Theme. -
TOMORROW_NIGHT_EIGHTIES
Theme. -
TWILIGHT
Theme. -
VIBRANT_INK
Theme. -
XQ_DARK
Theme. -
XQ_LIGHT
Theme.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getThemeName
Returns the theme name.- Returns:
- the theme name
-
toString
- Overrides:
toString
in classEnum<CmsCodeMirror.CodeMirrorTheme>
- See Also:
-