Package org.pushingpixels.substance.api
Class SubstanceSkin.Accented
- java.lang.Object
-
- org.pushingpixels.substance.api.SubstanceSkin
-
- org.pushingpixels.substance.api.SubstanceSkin.Accented
-
- All Implemented Interfaces:
SubstanceTrait
- Direct Known Subclasses:
BusinessAccentedSkin,CremeAccentedSkin,DustAccentedSkin,GraphiteAccentedSkin,MistAccentedSkin,NebulaAccentedSkin
- Enclosing class:
- SubstanceSkin
public abstract static class SubstanceSkin.Accented extends SubstanceSkin
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 classSubstanceSkin.Accented.AccentBuilder-
Nested classes/interfaces inherited from class org.pushingpixels.substance.api.SubstanceSkin
SubstanceSkin.Accented, SubstanceSkin.ColorSchemes
-
-
Field Summary
-
Fields inherited from class org.pushingpixels.substance.api.SubstanceSkin
borderPainter, buttonShaper, decorationPainter, DEFAULT_TAB_FADE_END, DEFAULT_TAB_FADE_START, fillPainter, highlightBorderPainter, highlightPainter, tabFadeEnd, tabFadeStart
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAccented(SubstanceSkin.Accented.AccentBuilder accentBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubstanceColorSchemegetActiveControlsAccent()SubstanceColorSchemegetBackgroundAccent()SubstanceColorSchemegetEnabledControlsAccent()SubstanceColorSchemegetHighlightsAccent()SubstanceColorSchemegetWindowChromeAccent()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class org.pushingpixels.substance.api.SubstanceSkin
addOverlayPainter, clearOverlayPainters, getActiveColorScheme, getAlpha, getBackgroundColorScheme, getBorderPainter, getButtonShaper, getColorScheme, getColorScheme, getColorScheme, getColorSchemes, getDecorationPainter, getDirectColorScheme, getDisabledColorScheme, getEnabledColorScheme, getFillPainter, getHighlightAlpha, getHighlightBorderPainter, getHighlightPainter, getOptionPaneIconColorScheme, getOverlayColor, getOverlayPainters, getTabFadeEnd, getTabFadeStart, isRegisteredAsDecorationArea, isValid, registerAsDecorationArea, registerAsDecorationArea, registerDecorationAreaSchemeBundle, registerDecorationAreaSchemeBundle, removeOverlayPainter, setOptionPaneIconColorScheme, setOverlayColor, setTabFadeEnd, setTabFadeStart, transform
-
Methods inherited from interface org.pushingpixels.substance.api.trait.SubstanceTrait
getDisplayName
-
-
-
-
Constructor Detail
-
Accented
protected Accented(SubstanceSkin.Accented.AccentBuilder accentBuilder)
-
-
Method Detail
-
getBackgroundAccent
public SubstanceColorScheme getBackgroundAccent()
-
getActiveControlsAccent
public SubstanceColorScheme getActiveControlsAccent()
-
getEnabledControlsAccent
public SubstanceColorScheme getEnabledControlsAccent()
-
getHighlightsAccent
public SubstanceColorScheme getHighlightsAccent()
-
getWindowChromeAccent
public SubstanceColorScheme getWindowChromeAccent()
-
-