DefaultBoundSystemStyle

enum DefaultBoundSystemStyle : Enum<DefaultBoundSystemStyle> , BoundStyle

Default style bindings for all system styles. Constructor capabilities are not intended to cover Swing's styling capabilities comprehensively, only to provide those options that will be exercised by one or more system styles.

Author

Leslie Schultz

Todd L Smith

Mark van Gulik

Entries

Link copied to clipboard
EXCLUDED(SystemStyle.EXCLUDED, { strikeThrough() })
Link copied to clipboard
DEEMPHASIZE(SystemStyle.DEEMPHASIZE, { foreground = SystemColors::deemphasize })
Link copied to clipboard
MATH_EXPONENT(SystemStyle.MATH_EXPONENT, { superscript() })
Link copied to clipboard
NONLOCAL_CONTROL(SystemStyle.NONLOCAL_CONTROL, { foreground = SystemColors::mustard })

Default style for SystemStyle.NONLOCAL_CONTROL.

Link copied to clipboard
RETURN_VALUE(SystemStyle.RETURN_VALUE, { background = SystemColors::transparentMustard })

Default style for SystemStyle.RETURN_VALUE.

Link copied to clipboard
PHRASE(SystemStyle.PHRASE, { foreground = SystemColors::lilac })

Default style for SystemStyle.PHRASE.

Link copied to clipboard
PRIMITIVE_NAME(SystemStyle.PRIMITIVE_NAME, { foreground = SystemColors::rose bold() })

Default style for SystemStyle.PRIMITIVE_NAME.

Link copied to clipboard
SPECIAL_OBJECT(SystemStyle.SPECIAL_OBJECT, { foreground = SystemColors::rose })

Default style for SystemStyle.SPECIAL_OBJECT.

Link copied to clipboard
OBJECT_TYPE_DEFINITION(SystemStyle.OBJECT_TYPE_DEFINITION, { foreground = SystemColors::blue })
Link copied to clipboard
SEAL_DEFINITION(SystemStyle.SEAL_DEFINITION, { foreground = SystemColors::rose })

Default style for SystemStyle.SEAL_DEFINITION.

Link copied to clipboard
GRAMMATICAL_RESTRICTION_DEFINITION(SystemStyle.GRAMMATICAL_RESTRICTION_DEFINITION, { foreground = SystemColors::rose })
Link copied to clipboard
SEMANTIC_RESTRICTION_DEFINITION(SystemStyle.SEMANTIC_RESTRICTION_DEFINITION, { foreground = SystemColors::rose })
Link copied to clipboard
MACRO_DEFINITION(SystemStyle.MACRO_DEFINITION, { foreground = SystemColors::rose })

Default style for SystemStyle.MACRO_DEFINITION.

Link copied to clipboard
LEXER_DEFINITION(SystemStyle.LEXER_DEFINITION, { foreground = SystemColors::rose })

Default style for SystemStyle.LEXER_DEFINITION.

Link copied to clipboard
LOOP(SystemStyle.LOOP, { foreground = SystemColors::mustard })

Default style for SystemStyle.LOOP.

Link copied to clipboard
CONDITIONAL(SystemStyle.CONDITIONAL, { foreground = SystemColors::mustard })

Default style for SystemStyle.CONDITIONAL.

Link copied to clipboard
OTHER_LITERAL(SystemStyle.OTHER_LITERAL, { foreground = SystemColors::green })

Default style for SystemStyle.OTHER_LITERAL.

Link copied to clipboard
ATOM_LITERAL(SystemStyle.ATOM_LITERAL, { foreground = SystemColors::green })

Default style for SystemStyle.ATOM_LITERAL.

Link copied to clipboard
CHARACTER_LITERAL(SystemStyle.CHARACTER_LITERAL, { foreground = SystemColors::green })
Link copied to clipboard
MAP_CONSTRUCTOR(SystemStyle.MAP_CONSTRUCTOR, { foreground = SystemColors::green })

Default style for SystemStyle.MAP_CONSTRUCTOR.

Link copied to clipboard
SET_CONSTRUCTOR(SystemStyle.SET_CONSTRUCTOR, { foreground = SystemColors::green })

Default style for SystemStyle.SET_CONSTRUCTOR.

Link copied to clipboard
TUPLE_CONSTRUCTOR(SystemStyle.TUPLE_CONSTRUCTOR, { foreground = SystemColors::green })
Link copied to clipboard
BOOLEAN_LITERAL(SystemStyle.BOOLEAN_LITERAL, { foreground = SystemColors::green })

Default style for SystemStyle.BOOLEAN_LITERAL.

Link copied to clipboard
NUMERIC_LITERAL(SystemStyle.NUMERIC_LITERAL, { foreground = SystemColors::green })

Default style for SystemStyle.NUMERIC_LITERAL.

Link copied to clipboard
STRING_ESCAPE_SEQUENCE(SystemStyle.STRING_ESCAPE_SEQUENCE, { foreground = SystemColors::transparentGreen bold() })
Link copied to clipboard
STRING_LITERAL(SystemStyle.STRING_LITERAL, { foreground = SystemColors::green })

Default style for SystemStyle.STRING_LITERAL.

Link copied to clipboard
LABEL_USE(SystemStyle.LABEL_USE, { foreground = SystemColors::mustard })

Default style for SystemStyle.LABEL_USE.

Link copied to clipboard
LABEL_DEFINITION(SystemStyle.LABEL_DEFINITION, { foreground = SystemColors::mustard background = SystemColors::transparentMustard })

Default style for SystemStyle.LABEL_DEFINITION.

Link copied to clipboard
LOCAL_VARIABLE_USE(SystemStyle.LOCAL_VARIABLE_USE, { foreground = SystemColors::magenta underline() })
Link copied to clipboard
LOCAL_VARIABLE_DEFINITION(SystemStyle.LOCAL_VARIABLE_DEFINITION, { foreground = SystemColors::transparentMagenta bold() })
Link copied to clipboard
LOCAL_CONSTANT_USE(SystemStyle.LOCAL_CONSTANT_USE, { foreground = SystemColors::magenta })
Link copied to clipboard
LOCAL_CONSTANT_DEFINITION(SystemStyle.LOCAL_CONSTANT_DEFINITION, { foreground = SystemColors::transparentMagenta bold() })
Link copied to clipboard
PRIMITIVE_FAILURE_REASON_USE(SystemStyle.PRIMITIVE_FAILURE_REASON_USE, { foreground = SystemColors::transparentMagenta })
Link copied to clipboard
PRIMITIVE_FAILURE_REASON_DEFINITION(SystemStyle.PRIMITIVE_FAILURE_REASON_DEFINITION, { foreground = SystemColors::transparentMagenta bold() })
Link copied to clipboard
MODULE_VARIABLE_USE(SystemStyle.MODULE_VARIABLE_USE, { foreground = SystemColors::magenta italic() underline() })
Link copied to clipboard
MODULE_VARIABLE_DEFINITION(SystemStyle.MODULE_VARIABLE_DEFINITION, { foreground = SystemColors::transparentMagenta bold() })
Link copied to clipboard
MODULE_CONSTANT_USE(SystemStyle.MODULE_CONSTANT_USE, { foreground = SystemColors::magenta italic() })
Link copied to clipboard
MODULE_CONSTANT_DEFINITION(SystemStyle.MODULE_CONSTANT_DEFINITION, { foreground = SystemColors::transparentMagenta bold() })
Link copied to clipboard
DOCUMENTATION_TAG(SystemStyle.DOCUMENTATION_TAG, { foreground = SystemColors::strongGray bold() })
Link copied to clipboard
DOCUMENTATION(SystemStyle.DOCUMENTATION, { foreground = SystemColors::strongGray })

Default style for SystemStyle.DOCUMENTATION.

Link copied to clipboard
COMMENT(SystemStyle.COMMENT, { foreground = SystemColors::weakGray })

Default style for SystemStyle.COMMENT.

Link copied to clipboard
PRAGMA(SystemStyle.PRAGMA, { background = SystemColors::faintTransparentRose italic() })

Default style for SystemStyle.ENTRY_POINT.

Link copied to clipboard
ENTRY_POINT(SystemStyle.ENTRY_POINT, { background = SystemColors::faintTransparentRose bold() })

Default style for SystemStyle.ENTRY_POINT.

Link copied to clipboard
EXPORT(SystemStyle.EXPORT, { background = SystemColors::faintTransparentRose })

Default style for SystemStyle.EXPORT.

Link copied to clipboard
IMPORT(SystemStyle.IMPORT, { background = SystemColors::faintTransparentRose })

Default style for SystemStyle.IMPORT.

Link copied to clipboard
VERSION(SystemStyle.VERSION, { background = SystemColors::faintTransparentRose })

Default style for SystemStyle.VERSION.

Link copied to clipboard
MODULE_HEADER_REGION(SystemStyle.MODULE_HEADER_REGION, { background = SystemColors::faintTransparentIndigo })
Link copied to clipboard
MODULE_HEADER(SystemStyle.MODULE_HEADER, { foreground = SystemColors::transparentRose })

Default style for SystemStyle.MODULE_HEADER.

Link copied to clipboard
PHRASE_TYPE(SystemStyle.PHRASE_TYPE, { foreground = SystemColors::lilac italic() })

Default style for SystemStyle.PHRASE_TYPE.

Link copied to clipboard
METATYPE(SystemStyle.METATYPE, { foreground = SystemColors::blue italic() })

Default style for SystemStyle.METATYPE.

Link copied to clipboard
TYPE(SystemStyle.TYPE, { foreground = SystemColors::blue})

Default style for SystemStyle.TYPE.

Link copied to clipboard
STATEMENT(SystemStyle.STATEMENT, { bold() })

Default style for SystemStyle.STATEMENT.

Link copied to clipboard
MACRO_SEND(SystemStyle.MACRO_SEND, {})

Default style for SystemStyle.MACRO_SEND.

Link copied to clipboard
METHOD_SEND(SystemStyle.METHOD_SEND, {})

Default style for SystemStyle.METHOD_SEND.

Link copied to clipboard
PARAMETER_USE(SystemStyle.PARAMETER_USE, { foreground = SystemColors::magenta bold() })

Default style for SystemStyle.PARAMETER_USE.

Link copied to clipboard
PARAMETER_DEFINITION(SystemStyle.PARAMETER_DEFINITION, { foreground = SystemColors::transparentMagenta bold() })
Link copied to clipboard
METHOD_NAME(SystemStyle.METHOD_NAME, { foreground = SystemColors::mango bold() })

Default style for SystemStyle.METHOD_NAME.

Link copied to clipboard
METHOD_DEFINITION(SystemStyle.METHOD_DEFINITION, { foreground = SystemColors::rose })
Link copied to clipboard
BLOCK(SystemStyle.BLOCK, { foreground = SystemColors::mustard })

Default style for SystemStyle.BLOCK.

Functions

Link copied to clipboard
open override fun darkStyle(doc: StyledDocument): Style

Apply the dark-themed variant of the receiving style to the specified StyledDocument.

Link copied to clipboard
open fun getStyle(doc: StyledDocument): Style?

Answer the active style for the receiver and the specified StyledDocument.

Link copied to clipboard
open override fun lightStyle(doc: StyledDocument): Style

Apply the light-themed variant of the receiving style to the specified StyledDocument.

Link copied to clipboard
open fun setStyle(doc: StyledDocument): Style

Apply the appropriate variant of the receiving style to the specified StyledDocument based on the active theme.

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int
Link copied to clipboard
open override val styleName: String

The name of this style. Should begin with '#'.