Class ColorHelper
java.lang.Object
xal.extension.widgets.swing.wheelswitch.util.ColorHelper
Helper class that provides simple access to most often used Color UI
resources
- Version:
- $id$
- Author:
- Jernej Kamenik
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ColorgetAlarm()Returns the default CosyBeans alarm Color.static ColorReturns the default CosyBeans alarm outline Color.static ColorReturns the default control Color, which should be used to render the background of controls used in applicationsstatic ColorReturns the default control dark shadow Colorstatic ColorReturns the default control highlight Colorstatic ColorReturns the default control highlight Colorstatic ColorReturns the default control shadow Colorstatic ColorReturns the default control text Colorstatic ColorReturns the default CosyBeans control Colorstatic ColorReturns the default CosyBeans control dark shadow Colorstatic ColorReturns the default CosyBeans control highlight Colorstatic ColorReturns the default CosyBeans control shadow Colorstatic ColorReturns the default CosyBenas control text Colorstatic ColorReturns the default CosyBeans error text Colorstatic ColorReturns the default CosyBeans input background Colorstatic ColorReturns the default CosyBeans overlay Colorstatic ColorReturns the default CosyBeans emergency Color.static ColorReturns the default CosyBeans emergency outline Color.static ColorgetError()Returns the default Color used to render errors.static ColorgetFocus()Returns the default focus Colorstatic Colorstatic ColorgetText()Returns the default text Colorstatic ColorReturns the default text highlight Colorstatic Colorstatic ColorReturns the default CosyBeans timeout Color.static Colorstatic ColorReturns the default CosyBeans warning Color.static ColorReturns the default CosyBeans warning outline Color.static ColorReturns the default window background Color
-
Field Details
-
COLOR_NAMES
-
JAVA_COLOR_NAMES
-
-
Method Details
-
getControl
Returns the default control Color, which should be used to render the background of controls used in applications- Returns:
- Control color
-
getControlShadow
Returns the default control shadow Color- Returns:
- Color
-
getControlDarkShadow
Returns the default control dark shadow Color- Returns:
- Color
-
getControlHighlight
Returns the default control highlight Color- Returns:
- Color
-
getControlLightHighlight
Returns the default control highlight Color- Returns:
- Color
-
getControlText
Returns the default control text Color- Returns:
- Color
-
getWindowBackground
Returns the default window background Color- Returns:
- Color
-
getText
Returns the default text Color- Returns:
- Color
-
getTextHighlight
Returns the default text highlight Color- Returns:
- Color
-
getTextHighlightText
- Returns:
-
getFocus
Returns the default focus Color- Returns:
- Color
- See Also:
-
getCosyControl
Returns the default CosyBeans control Color- Returns:
- Color
-
getCosyControlHighlight
Returns the default CosyBeans control highlight Color- Returns:
- Color
-
getCosyControlShadow
Returns the default CosyBeans control shadow Color- Returns:
- Color
-
getCosyControlDarkShadow
Returns the default CosyBeans control dark shadow Color- Returns:
- Color
-
getCosyControlText
Returns the default CosyBenas control text Color- Returns:
- Color
-
getCosyInputBackground
Returns the default CosyBeans input background Color- Returns:
- Color
-
getCosyErrorText
Returns the default CosyBeans error text Color- Returns:
- Color
-
getCosyOverlay
Returns the default CosyBeans overlay Color- Returns:
- Color
-
getTimeOut
Returns the default CosyBeans timeout Color.- Returns:
- Color
-
getTimeOutOutline
-
getWarning
Returns the default CosyBeans warning Color.- Returns:
- Color
-
getWarningOutline
Returns the default CosyBeans warning outline Color.- Returns:
- Color
-
getError
Returns the default Color used to render errors.- Returns:
- Color
-
getAlarm
Returns the default CosyBeans alarm Color.- Returns:
- Color that should be used to render alarm states
-
getAlarmOutline
Returns the default CosyBeans alarm outline Color.- Returns:
- Color that should be used to render outline of alarm symbols
-
getEmergency
Returns the default CosyBeans emergency Color.- Returns:
- Color
-
getEmergencyOutline
Returns the default CosyBeans emergency outline Color.- Returns:
- Color
-
getHyperlink
-