Class GColorUIResource
java.lang.Object
java.awt.Color
generic.theme.GColor
generic.theme.GColorUIResource
- All Implemented Interfaces:
Paint, Transparency, Serializable, UIResource
Version of GColor that implements UIResource. It is important that when setting java defaults
in the
UIDefaults that it implements UIResource. Otherwise, java will think the color
was set explicitly by client code and therefore can't update it generically when it goes to
update the default color in the UIs for each component.- See Also:
-
Field Summary
Fields inherited from class Color
black, BLACK, blue, BLUE, cyan, CYAN, DARK_GRAY, darkGray, gray, GRAY, green, GREEN, LIGHT_GRAY, lightGray, magenta, MAGENTA, orange, ORANGE, pink, PINK, red, RED, white, WHITE, yellow, YELLOWFields inherited from interface Transparency
BITMASK, OPAQUE, TRANSLUCENT -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class GColor
brighter, createContext, darker, equals, getAlpha, getBlue, getColorComponents, getColorComponents, getColorSpace, getComponents, getComponents, getGreen, getId, getRed, getRGB, getRGBColorComponents, getRGBComponents, getTransparency, hashCode, isUnresolved, refresh, refreshAll, toDebugString, toHexString, toString, withAlpha
-
Constructor Details
-
GColorUIResource
-
-
Method Details
-
toGColor
Returns a non-UIResource GColor for this GColorUiResource's id- Returns:
- a non-UIResource GColor for this GColorUiResource's id
-