|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttest.contrib.ParameterColorScheme
public class ParameterColorScheme
Field Summary | |
---|---|
protected java.awt.Color[] |
colors
Setzt wieder das DefaultTheme auf die ?bergebene Componente (also das blaue Theme) |
Constructor Summary | |
---|---|
ParameterColorScheme(java.awt.Color[] colors)
|
Method Summary | |
---|---|
java.awt.Color |
getBackgroundFillColor()
Returns the background fill color for this scheme. |
java.awt.Color |
getDarkColor()
Retrieves the dark color. |
java.lang.String |
getDisplayName()
Returns the display name of this trait. |
java.awt.Color |
getExtraLightColor()
Retrieves the extra color. |
java.awt.Color |
getFocusRingColor()
Returns the focus ring color for this scheme. |
java.awt.Color |
getForegroundColor()
Retrieves the foreground color. |
java.awt.Color |
getLightBackgroundFillColor()
Returns the light background fill color for this scheme. |
java.awt.Color |
getLightColor()
Retrieves the light color. |
java.awt.Color |
getLineColor()
Returns the line color for this scheme. |
java.awt.Color |
getMidColor()
Retrieves the medium color. |
java.awt.Color |
getSelectionBackgroundColor()
Returns the selection background color for this scheme. |
java.awt.Color |
getSelectionForegroundColor()
Returns the selection foreground color for this scheme. |
java.awt.Color |
getUltraDarkColor()
Retrieves the ultra-dark color. |
java.awt.Color |
getUltraLightColor()
Retrieves the ultra-light color. |
java.awt.Color |
getWatermarkDarkColor()
Returns the watermark dark color for this scheme. |
java.awt.Color |
getWatermarkLightColor()
Returns the watermark light color for this scheme. |
java.awt.Color |
getWatermarkStampColor()
Returns the watermark stamp color for this scheme. |
SubstanceColorScheme |
hueShift(double arg0)
Creates a hue-shifted (in HSB space) version of this color
scheme. |
SubstanceColorScheme |
invert()
Creates an inverted version of this scheme. |
boolean |
isDark()
Returns indication whether this color scheme uses dark colors. |
SubstanceColorScheme |
named(java.lang.String colorSchemeDisplayName)
This method is a fluent-interface builder utility for setting the display name for this color scheme. |
SubstanceColorScheme |
negate()
Creates a negated version of this scheme. |
SubstanceColorScheme |
saturate(double arg0)
Creates a saturated or desaturated version of this scheme. |
SubstanceColorScheme |
shade(double arg0)
Creates a shaded (shifted towards black) version of this
color scheme. |
SubstanceColorScheme |
shift(java.awt.Color arg0,
double arg1,
java.awt.Color arg2,
double arg3)
Creates a shift version of this scheme. |
SubstanceColorScheme |
shiftBackground(java.awt.Color arg0,
double arg1)
Creates a shift version of this scheme. |
SubstanceColorScheme |
tint(double arg0)
Creates a tinted (shifted towards white) version of this
color scheme. |
SubstanceColorScheme |
tone(double arg0)
Creates a toned (shifted towards gray) version of this color
scheme. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.awt.Color[] colors
Constructor Detail |
---|
public ParameterColorScheme(java.awt.Color[] colors)
Method Detail |
---|
public SubstanceColorScheme hueShift(double arg0)
SubstanceColorScheme
this
color
scheme.
hueShift
in interface SubstanceColorScheme
arg0
- Value in -1.0...1.0 range.
this
scheme.public SubstanceColorScheme invert()
SubstanceColorScheme
this
scheme.
invert
in interface SubstanceColorScheme
this
scheme.public boolean isDark()
SubstanceColorScheme
isDark
in interface SubstanceColorScheme
true
if this color scheme uses dark colors,
false
otherwise.public SubstanceColorScheme negate()
SubstanceColorScheme
this
scheme.
negate
in interface SubstanceColorScheme
this
scheme.public SubstanceColorScheme saturate(double arg0)
SubstanceColorScheme
this
scheme.
The value and brightness stay the same.
saturate
in interface SubstanceColorScheme
arg0
- Value in -1.0...1.0 range. Positive values create more
saturated colors. Negative values create more desaturated
colors.
this
scheme.public SubstanceColorScheme shade(double arg0)
SubstanceColorScheme
this
color scheme.
shade
in interface SubstanceColorScheme
arg0
- Value in 0.0...1.0 range. Larger values shift more towards
black color.
this
scheme.public SubstanceColorScheme shift(java.awt.Color arg0, double arg1, java.awt.Color arg2, double arg3)
SubstanceColorScheme
this
scheme.
shift
in interface SubstanceColorScheme
arg0
- Shift color for background colors. Should have full opacity.arg1
- Value in 0.0...1.0 range. Larger values shift more towards the
specified color.arg2
- Shift color for foreground colors. Should have full opacity.arg3
- Value in 0.0...1.0 range. Larger values shift more towards the
specified color.
this
scheme.public SubstanceColorScheme shiftBackground(java.awt.Color arg0, double arg1)
SubstanceColorScheme
this
scheme.
shiftBackground
in interface SubstanceColorScheme
arg0
- Shift color for background colors. Should have full opacity.arg1
- Value in 0.0...1.0 range. Larger values shift more towards the
specified color.
this
scheme that does not change
the foreground color.public SubstanceColorScheme tint(double arg0)
SubstanceColorScheme
this
color scheme.
tint
in interface SubstanceColorScheme
arg0
- Value in 0.0...1.0 range. Larger values shift more towards
white color.
this
scheme.public SubstanceColorScheme tone(double arg0)
SubstanceColorScheme
this
color
scheme.
tone
in interface SubstanceColorScheme
arg0
- Value in 0.0...1.0 range. Larger values shift more towards
gray color.
this
scheme.public java.lang.String getDisplayName()
SubstanceTrait
this
trait. This method is part
of officially supported API.
getDisplayName
in interface SubstanceTrait
this
trait.public java.awt.Color getDarkColor()
SchemeBaseColors
getDarkColor
in interface SchemeBaseColors
public java.awt.Color getExtraLightColor()
SchemeBaseColors
getExtraLightColor
in interface SchemeBaseColors
public java.awt.Color getForegroundColor()
SchemeBaseColors
getForegroundColor
in interface SchemeBaseColors
public java.awt.Color getLightColor()
SchemeBaseColors
getLightColor
in interface SchemeBaseColors
public java.awt.Color getMidColor()
SchemeBaseColors
getMidColor
in interface SchemeBaseColors
public java.awt.Color getUltraDarkColor()
SchemeBaseColors
getUltraDarkColor
in interface SchemeBaseColors
public java.awt.Color getUltraLightColor()
SchemeBaseColors
getUltraLightColor
in interface SchemeBaseColors
public java.awt.Color getBackgroundFillColor()
SchemeDerivedColors
this
scheme.
getBackgroundFillColor
in interface SchemeDerivedColors
this
scheme.public java.awt.Color getFocusRingColor()
SchemeDerivedColors
this
scheme.
getFocusRingColor
in interface SchemeDerivedColors
this
scheme.public java.awt.Color getLightBackgroundFillColor()
SchemeDerivedColors
this
scheme.
getLightBackgroundFillColor
in interface SchemeDerivedColors
this
scheme.public java.awt.Color getLineColor()
SchemeDerivedColors
this
scheme.
getLineColor
in interface SchemeDerivedColors
this
scheme.public java.awt.Color getSelectionBackgroundColor()
SchemeDerivedColors
this
scheme.
getSelectionBackgroundColor
in interface SchemeDerivedColors
this
scheme.public java.awt.Color getSelectionForegroundColor()
SchemeDerivedColors
this
scheme.
getSelectionForegroundColor
in interface SchemeDerivedColors
this
scheme.public java.awt.Color getWatermarkDarkColor()
SchemeDerivedColors
this
scheme.
getWatermarkDarkColor
in interface SchemeDerivedColors
this
scheme.public java.awt.Color getWatermarkLightColor()
SchemeDerivedColors
this
scheme.
getWatermarkLightColor
in interface SchemeDerivedColors
this
scheme.public java.awt.Color getWatermarkStampColor()
SchemeDerivedColors
this
scheme.
getWatermarkStampColor
in interface SchemeDerivedColors
this
scheme.public SubstanceColorScheme named(java.lang.String colorSchemeDisplayName)
SubstanceColorScheme
this
instance.
named
in interface SubstanceColorScheme
colorSchemeDisplayName
- New display name for this color scheme.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |