Class RadianceColorResource

java.lang.Object
java.awt.Color
org.pushingpixels.radiance.theming.internal.utils.RadianceColorResource
All Implemented Interfaces:
Paint, Transparency, Serializable

public class RadianceColorResource extends Color
This class is used to propagate a color set by the application code to the children / related components. For example, table and table header are two different components, but are visually two parts of the same user-facing control. Setting background on the table should be propagated to the table header - unless the application code explicitly changed the background color on the table header. This is where this class comes into play - to mark the propagated color so that it can be replaced when the table background is changed from the application code, but not reset during skin switch.
See Also:
  • Constructor Details

    • RadianceColorResource

      public RadianceColorResource(Color c)
      Creates a new Radiance color resource.
      Parameters:
      c - Color.