java.lang.Object
xal.extension.widgets.swing.wheelswitch.util.ColorHelper

public final class ColorHelper extends Object
Helper class that provides simple access to most often used Color UI resources
Version:
$id$
Author:
Jernej Kamenik
See Also:
  • Field Details

    • COLOR_NAMES

      public static final String[] COLOR_NAMES
    • JAVA_COLOR_NAMES

      public static final String[] JAVA_COLOR_NAMES
  • Method Details

    • getControl

      public static Color getControl()
      Returns the default control Color, which should be used to render the background of controls used in applications
      Returns:
      Control color
    • getControlShadow

      public static Color getControlShadow()
      Returns the default control shadow Color
      Returns:
      Color
    • getControlDarkShadow

      public static Color getControlDarkShadow()
      Returns the default control dark shadow Color
      Returns:
      Color
    • getControlHighlight

      public static Color getControlHighlight()
      Returns the default control highlight Color
      Returns:
      Color
    • getControlLightHighlight

      public static Color getControlLightHighlight()
      Returns the default control highlight Color
      Returns:
      Color
    • getControlText

      public static Color getControlText()
      Returns the default control text Color
      Returns:
      Color
    • getWindowBackground

      public static Color getWindowBackground()
      Returns the default window background Color
      Returns:
      Color
    • getText

      public static Color getText()
      Returns the default text Color
      Returns:
      Color
    • getTextHighlight

      public static Color getTextHighlight()
      Returns the default text highlight Color
      Returns:
      Color
    • getTextHighlightText

      public static Color getTextHighlightText()
      Returns:
    • getFocus

      public static Color getFocus()
      Returns the default focus Color
      Returns:
      Color
      See Also:
    • getCosyControl

      public static Color getCosyControl()
      Returns the default CosyBeans control Color
      Returns:
      Color
    • getCosyControlHighlight

      public static Color getCosyControlHighlight()
      Returns the default CosyBeans control highlight Color
      Returns:
      Color
    • getCosyControlShadow

      public static Color getCosyControlShadow()
      Returns the default CosyBeans control shadow Color
      Returns:
      Color
    • getCosyControlDarkShadow

      public static Color getCosyControlDarkShadow()
      Returns the default CosyBeans control dark shadow Color
      Returns:
      Color
    • getCosyControlText

      public static Color getCosyControlText()
      Returns the default CosyBenas control text Color
      Returns:
      Color
    • getCosyInputBackground

      public static Color getCosyInputBackground()
      Returns the default CosyBeans input background Color
      Returns:
      Color
    • getCosyErrorText

      public static Color getCosyErrorText()
      Returns the default CosyBeans error text Color
      Returns:
      Color
    • getCosyOverlay

      public static Color getCosyOverlay()
      Returns the default CosyBeans overlay Color
      Returns:
      Color
    • getTimeOut

      public static Color getTimeOut()
      Returns the default CosyBeans timeout Color.
      Returns:
      Color
    • getTimeOutOutline

      public static Color getTimeOutOutline()
    • getWarning

      public static Color getWarning()
      Returns the default CosyBeans warning Color.
      Returns:
      Color
    • getWarningOutline

      public static Color getWarningOutline()
      Returns the default CosyBeans warning outline Color.
      Returns:
      Color
    • getError

      public static Color getError()
      Returns the default Color used to render errors.
      Returns:
      Color
    • getAlarm

      public static Color getAlarm()
      Returns the default CosyBeans alarm Color.
      Returns:
      Color that should be used to render alarm states
    • getAlarmOutline

      public static Color getAlarmOutline()
      Returns the default CosyBeans alarm outline Color.
      Returns:
      Color that should be used to render outline of alarm symbols
    • getEmergency

      public static Color getEmergency()
      Returns the default CosyBeans emergency Color.
      Returns:
      Color
    • getEmergencyOutline

      public static Color getEmergencyOutline()
      Returns the default CosyBeans emergency outline Color.
      Returns:
      Color
    • getHyperlink

      public static Color getHyperlink()