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