|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jvnet.substance.colorscheme.BaseColorScheme
org.jvnet.substance.colorscheme.HueShiftColorScheme
public class HueShiftColorScheme
Hue-shifted color scheme. A hue-shifted color scheme is a color scheme that is hue-shifted in HSB space.
Field Summary |
---|
Fields inherited from class org.jvnet.substance.colorscheme.BaseColorScheme |
---|
derivedColorsResolver, displayName, isDark |
Constructor Summary | |
---|---|
HueShiftColorScheme(SubstanceColorScheme origScheme,
double hueShiftFactor)
Creates a new hue-shifted color scheme. |
Method Summary | |
---|---|
java.awt.Color |
getDarkColor()
Retrieves the dark color. |
java.awt.Color |
getExtraLightColor()
Retrieves the extra color. |
java.awt.Color |
getForegroundColor()
Retrieves the foreground color. |
double |
getHueShiftFactor()
Returns the hue-shift factor. |
java.awt.Color |
getLightColor()
Retrieves the light color. |
java.awt.Color |
getMidColor()
Retrieves the medium color. |
SubstanceColorScheme |
getOrigScheme()
Returns the original color scheme. |
java.awt.Color |
getUltraDarkColor()
Retrieves the ultra-dark color. |
java.awt.Color |
getUltraLightColor()
Retrieves the ultra-light color. |
Methods inherited from class org.jvnet.substance.colorscheme.BaseColorScheme |
---|
getBackgroundFillColor, getDisplayName, getFocusRingColor, getLightBackgroundFillColor, getLineColor, getSelectionBackgroundColor, getSelectionForegroundColor, getWatermarkDarkColor, getWatermarkLightColor, getWatermarkStampColor, hueShift, invert, isDark, named, negate, saturate, shade, shift, shiftBackground, tint, tone, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HueShiftColorScheme(SubstanceColorScheme origScheme, double hueShiftFactor)
origScheme
- The original color scheme.hueShiftFactor
- Shift factor. Should be in -1.0-1.0 range.Method Detail |
---|
public java.awt.Color getForegroundColor()
SchemeBaseColors
public java.awt.Color getUltraLightColor()
SchemeBaseColors
public java.awt.Color getExtraLightColor()
SchemeBaseColors
public java.awt.Color getLightColor()
SchemeBaseColors
public java.awt.Color getMidColor()
SchemeBaseColors
public java.awt.Color getDarkColor()
SchemeBaseColors
public java.awt.Color getUltraDarkColor()
SchemeBaseColors
public SubstanceColorScheme getOrigScheme()
public double getHueShiftFactor()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |