Package org.fife.ui.autocomplete
Class AutoCompletionStyleContext
java.lang.Object
org.fife.ui.autocomplete.AutoCompletionStyleContext
Manages the colors shared across the library.
- Version:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Color
The color used to highlight copies of editable parameters in parameterized completions.private Color
The color used to denote the ending caret position for parameterized completions.private Color
The color of the outline highlight used to denote editable parameters in parameterized completions. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the color of the highlight painted on copies of editable parameters in parameterized completions.Returns the color used to denote the ending caret position for parameterized completions.Returns the color of the outline highlight used to denote editable parameters in parameterized completions.void
setParameterCopyColor
(Color color) Sets the color of the highlight painted on copies of editable parameters in parameterized completions.void
Sets the color used to denote the ending caret position for parameterized completions.void
setParameterOutlineColor
(Color color) Sets the color of the outline highlight used to denote editable parameters in parameterized completions.
-
Field Details
-
parameterizedCompletionCursorPositionColor
The color used to denote the ending caret position for parameterized completions. -
parameterCopyColor
The color used to highlight copies of editable parameters in parameterized completions. -
parameterOutlineColor
The color of the outline highlight used to denote editable parameters in parameterized completions.
-
-
Constructor Details
-
AutoCompletionStyleContext
public AutoCompletionStyleContext()
-
-
Method Details
-
getParameterCopyColor
Returns the color of the highlight painted on copies of editable parameters in parameterized completions.- Returns:
- The color used.
- See Also:
-
getParameterizedCompletionCursorPositionColor
Returns the color used to denote the ending caret position for parameterized completions.- Returns:
- The color used.
- See Also:
-
getParameterOutlineColor
Returns the color of the outline highlight used to denote editable parameters in parameterized completions.- Returns:
- The color used.
- See Also:
-
setParameterCopyColor
Sets the color of the highlight painted on copies of editable parameters in parameterized completions.- Parameters:
color
- The color to use.- See Also:
-
setParameterizedCompletionCursorPositionColor
Sets the color used to denote the ending caret position for parameterized completions.- Parameters:
color
- The color to use.- See Also:
-
setParameterOutlineColor
Sets the color of the outline highlight used to denote editable parameters in parameterized completions.- Parameters:
color
- The color to use.- See Also:
-