Class RadianceSkin.Accented
- java.lang.Object
-
- org.pushingpixels.radiance.theming.api.RadianceSkin
-
- org.pushingpixels.radiance.theming.api.RadianceSkin.Accented
-
- All Implemented Interfaces:
RadianceTrait
- Direct Known Subclasses:
BusinessAccentedSkin,CremeAccentedSkin,DustAccentedSkin,GraphiteAccentedSkin,MistAccentedSkin,NebulaAccentedSkin
- Enclosing class:
- RadianceSkin
public abstract static class RadianceSkin.Accented extends RadianceSkin
Base class for skins that can be configured with accent color schemes. Accented skins can be extended to apply those color schemes in a way that highlights certain parts of the UI while still retaining the "core" feel of the specific skin family. Note that it is up to the specific implementation of the base accented skin to decide which parts of the UI are painted with specific accent color schemes, and that decision may vary between different base accented skins.Use
getWindowChromeAccent(),getActiveControlsAccent(),getEnabledControlsAccent(),getHighlightsAccent()andgetBackgroundAccent()to get the accent color schemes for consistent accent usage in custom-painted parts of your UI.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRadianceSkin.Accented.AccentBuilder-
Nested classes/interfaces inherited from class org.pushingpixels.radiance.theming.api.RadianceSkin
RadianceSkin.Accented, RadianceSkin.ColorSchemes
-
-
Field Summary
-
Fields inherited from class org.pushingpixels.radiance.theming.api.RadianceSkin
borderPainter, buttonShaper, decorationPainter, fillPainter, highlightBorderPainter, highlightFillPainter
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAccented(RadianceSkin.Accented.AccentBuilder accentBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RadianceColorSchemegetActiveControlsAccent()RadianceColorSchemegetBackgroundAccent()RadianceColorSchemegetEnabledControlsAccent()RadianceColorSchemegetHighlightsAccent()RadianceColorSchemegetWindowChromeAccent()-
Methods inherited from class org.pushingpixels.radiance.theming.api.RadianceSkin
addOverlayPainter, clearOverlayPainters, getActiveColorScheme, getAlpha, getBackgroundColorScheme, getBorderPainter, getButtonShaper, getColorScheme, getColorScheme, getColorScheme, getColorSchemes, getDecorationPainter, getDirectColorScheme, getDisabledColorScheme, getEnabledColorScheme, getFillPainter, getHighlightAlpha, getHighlightBorderPainter, getHighlightFillPainter, getOptionPaneIconColorScheme, getOverlayColor, getOverlayPainters, isRegisteredAsDecorationArea, isValid, registerAsDecorationArea, registerAsDecorationArea, registerDecorationAreaSchemeBundle, registerDecorationAreaSchemeBundle, removeOverlayPainter, setOptionPaneIconColorScheme, setOverlayColor, transform
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pushingpixels.radiance.theming.api.trait.RadianceTrait
getDisplayName
-
-
-
-
Constructor Detail
-
Accented
protected Accented(RadianceSkin.Accented.AccentBuilder accentBuilder)
-
-
Method Detail
-
getBackgroundAccent
public RadianceColorScheme getBackgroundAccent()
-
getActiveControlsAccent
public RadianceColorScheme getActiveControlsAccent()
-
getEnabledControlsAccent
public RadianceColorScheme getEnabledControlsAccent()
-
getHighlightsAccent
public RadianceColorScheme getHighlightsAccent()
-
getWindowChromeAccent
public RadianceColorScheme getWindowChromeAccent()
-
-