Class ColorManager
java.lang.Object
com.jackmeng.halcyoninae.halcyon.runtime.constant.ColorManager
This interface holds constants for any color values that
may be used throughout the program for
GUI based colors.
- Since:
- 3.0
- Author:
- Jack Meng
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ImageIcon
This method uses the current static theme to hue the imagestatic void
This static global method attempts to refresh the above public fields for colors.static ImageIcon
themedIcon
(ImageIcon t, Color theme) This method hues an image icon
-
Field Details
-
programTheme
-
MAIN_BG_THEME
-
BORDER_THEME
-
MAIN_FG_THEME
-
MAIN_FG_FADED_THEME
-
MAIN_FG2_STR
-
MAIN_FG_STR
-
MAIN_FG2_THEME
-
MAIN_TEXT_THEME
-
-
Constructor Details
-
ColorManager
private ColorManager()
-
-
Method Details
-
refreshColors
This static global method attempts to refresh the above public fields for colors. -
hueTheme
This method uses the current static theme to hue the image- Parameters:
g
- An ImageIcon- Returns:
- An ImageIcon with a tinted hue from the current theme
- See Also:
-
themedIcon
This method hues an image icon- Parameters:
t
- An ImageIcontheme
- A java.awt.Color object to use- Returns:
- A new ImageIcon object
-