|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jvnet.substance.theme.SubstanceTheme
org.jvnet.substance.theme.SubstanceWrapperTheme
org.jvnet.substance.theme.SubstanceInvertedTheme
public class SubstanceInvertedTheme
Inverted theme. Inverted theme is based on some original theme, switching the dark colors by light colors and inverting the foreground color. This class is part of officially supported API.
InvertedColorScheme| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jvnet.substance.theme.SubstanceTheme |
|---|
SubstanceTheme.ThemeKind |
| Field Summary |
|---|
| Fields inherited from class org.jvnet.substance.theme.SubstanceWrapperTheme |
|---|
borderTheme, defaultTheme, disabledTheme, originalTheme |
| Fields inherited from class org.jvnet.substance.theme.SubstanceTheme |
|---|
AQUA, GREEN, ORANGE, YELLOW |
| Constructor Summary | |
|---|---|
SubstanceInvertedTheme(SubstanceTheme substanceTheme)
Creates a new inverted theme. |
|
| Method Summary | |
|---|---|
java.awt.Color |
getWatermarkStampColor()
Returns the translucent watermark stamp color of this
theme. |
SubstanceTheme |
hueShift(double hueShiftFactor)
Creates a hue-shifted (in HSB space) version of this
theme. |
SubstanceTheme |
invert()
Creates an inverted version of this theme. |
SubstanceTheme |
negate()
Creates a negated version of this theme. |
SubstanceTheme |
saturate(double saturateFactor,
boolean toSaturateEverything)
Creates a saturated or desaturated version of this theme. |
SubstanceTheme |
shade(double shadeFactor)
Creates a shaded (shifted towards black) version of this
theme. |
SubstanceTheme |
tint(double tintFactor)
Creates a tinted (shifted towards white) version of this
theme. |
SubstanceTheme |
tone(double toneFactor)
Creates a toned (shifted towards gray) version of this
theme. |
| Methods inherited from class org.jvnet.substance.theme.SubstanceWrapperTheme |
|---|
getOriginalTheme |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SubstanceInvertedTheme(SubstanceTheme substanceTheme)
SubstanceTheme.invert() instead.
substanceTheme - The original theme.| Method Detail |
|---|
public SubstanceTheme invert()
SubstanceThemethis theme. This method is
part of officially supported API.
invert in class SubstanceThemethis theme.public SubstanceTheme negate()
SubstanceThemethis theme. This method is
part of officially supported API.
negate in class SubstanceThemethis theme.public java.awt.Color getWatermarkStampColor()
SubstanceThemethis
theme. This method is for internal use only.
getWatermarkStampColor in class SubstanceThemethis theme.
public SubstanceTheme saturate(double saturateFactor,
boolean toSaturateEverything)
SubstanceThemethis theme.
The value and brightness stay the same. This method is part of officially
supported API.
saturate in class SubstanceThemesaturateFactor - Value in -1.0...1.0 range. Positive values create more
saturated colors. Negative values create more desaturated
colors.toSaturateEverything - If true, all visual components of
this theme will be saturated. If
false, only the SubstanceTheme.getActiveTheme() will
be saturated.
this theme.public SubstanceTheme tint(double tintFactor)
SubstanceThemethis
theme. This method is part of officially supported API.
tint in class SubstanceThemetintFactor - Value in 0.0...1.0 range. Larger values shift more towards
white color.
this theme.public SubstanceTheme tone(double toneFactor)
SubstanceThemethis
theme. This method is part of officially supported API.
tone in class SubstanceThemetoneFactor - Value in 0.0...1.0 range. Larger values shift more towards
gray color.
this theme.public SubstanceTheme shade(double shadeFactor)
SubstanceThemethis
theme. This method is part of officially supported API.
shade in class SubstanceThemeshadeFactor - Value in 0.0...1.0 range. Larger values shift more towards
black color.
this theme.public SubstanceTheme hueShift(double hueShiftFactor)
SubstanceThemethis
theme. This method is part of officially supported API.
hueShift in class SubstanceThemehueShiftFactor - Value in -1.0...1.0 range.
this theme.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||