Class PaintContext

java.lang.Object
docking.widgets.fieldpanel.internal.PaintContext

public class PaintContext extends Object
Miscellaneous information needed by fields to paint.
  • Constructor Details

    • PaintContext

      public PaintContext()
      Create a new PaintContext with default color values.
  • Method Details

    • getBackground

      public final Color getBackground()
      Returns the current background color setting.
      Returns:
      the current background color setting.
    • getForeground

      public final Color getForeground()
      Returns the current foreground color setting.
      Returns:
      the current foreground color setting.
    • getSelectionColor

      public final Color getSelectionColor()
      Returns the current selection color setting.
      Returns:
      the current selection color setting.
    • getHighlightColor

      public final Color getHighlightColor()
      Returns the current highlight color setting.
      Returns:
      the current highlight color setting.
    • getSelectedHighlightColor

      public final Color getSelectedHighlightColor()
      Returns the current selected highlight color setting.
      Returns:
      the current selected highlight color setting.
    • getCursorColor

      public final Color getCursorColor()
      Returns the current cursor color.
      Returns:
      the current cursor color.
    • getFocusedCursorColor

      public final Color getFocusedCursorColor()
    • setSelectionColor

      public void setSelectionColor(Color c)
    • setHighlightColor

      public void setHighlightColor(Color c)
    • setBackgroundColor

      public void setBackgroundColor(Color c)
    • setForegroundColor

      public void setForegroundColor(Color c)
    • setCursorColor

      public void setCursorColor(Color c)
    • cursorHidden

      public boolean cursorHidden()
    • cursorFocused

      public boolean cursorFocused()
    • setCursorFocused

      public void setCursorFocused(boolean isFocused)
    • setCursorHidden

      public void setCursorHidden(boolean isHidden)
    • setFocusedCursorColor

      public void setFocusedCursorColor(Color color)
    • setNotFocusedCursorColor

      public void setNotFocusedCursorColor(Color color)
    • getNotFocusedCursorColor

      public Color getNotFocusedCursorColor()
    • setPrinting

      public void setPrinting(boolean b)
    • setTextCopying

      public void setTextCopying(boolean b)
    • isPrinting

      public boolean isPrinting()
    • isTextCopying

      public boolean isTextCopying()