Module platform

Class AutoCompletionStyleContext

java.lang.Object
de.grogra.pf.ui.autocomplete.impl.AutoCompletionStyleContext

public class AutoCompletionStyleContext extends Object
Manages the colors shared across the library.
Version:
1.0
Author:
Robert Futrell
  • Constructor Details

    • AutoCompletionStyleContext

      public AutoCompletionStyleContext()
  • Method Details

    • getParameterCopyColor

      public Color getParameterCopyColor()
      Returns the color of the highlight painted on copies of editable parameters in parameterized completions.
      Returns:
      The color used.
      See Also:
    • getParameterizedCompletionCursorPositionColor

      public Color getParameterizedCompletionCursorPositionColor()
      Returns the color used to denote the ending caret position for parameterized completions.
      Returns:
      The color used.
      See Also:
    • getParameterOutlineColor

      public Color getParameterOutlineColor()
      Returns the color of the outline highlight used to denote editable parameters in parameterized completions.
      Returns:
      The color used.
      See Also:
    • setParameterCopyColor

      public void setParameterCopyColor(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:
    • setParameterizedCompletionCursorPositionColor

      public void setParameterizedCompletionCursorPositionColor(Color color)
      Sets the color used to denote the ending caret position for parameterized completions.
      Parameters:
      color - The color to use.
      See Also:
    • setParameterOutlineColor

      public void setParameterOutlineColor(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: