|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jvnet.substance.color.BaseColorScheme
org.jvnet.substance.color.BlendBiColorScheme
public class BlendBiColorScheme
Blended color scheme.
Field Summary |
---|
Fields inherited from class org.jvnet.substance.color.BaseColorScheme |
---|
id |
Constructor Summary | |
---|---|
BlendBiColorScheme(ColorScheme firstScheme,
ColorScheme secondScheme,
double firstSchemeLikeness)
Creates a new blended color scheme. |
Method Summary | |
---|---|
java.awt.Color |
getDarkColor()
Retrieves the dark color. |
java.awt.Color |
getExtraLightColor()
Retrieves the extra color. |
ColorScheme |
getFirstScheme()
Returns the main original color scheme. |
double |
getFirstSchemeLikeness()
Returns the likeness to the first scheme. |
java.awt.Color |
getForegroundColor()
Retrieves the foreground color. |
java.awt.Color |
getLightColor()
Retrieves the light color. |
java.awt.Color |
getMidColor()
Retrieves the medium color. |
ColorScheme |
getSecondScheme()
Returns the secondary 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.color.BaseColorScheme |
---|
getId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlendBiColorScheme(ColorScheme firstScheme, ColorScheme secondScheme, double firstSchemeLikeness)
firstScheme
- The first original color scheme.secondScheme
- The second original color scheme.firstSchemeLikeness
- Likeness to the first scheme. Values close to 0.0 will create
scheme that closely matches the second original scheme. Values
close to 1.0 will create scheme that closely matches the
second original theme.Method Detail |
---|
public java.awt.Color getForegroundColor()
ColorScheme
public java.awt.Color getUltraLightColor()
ColorScheme
public java.awt.Color getExtraLightColor()
ColorScheme
public java.awt.Color getLightColor()
ColorScheme
public java.awt.Color getMidColor()
ColorScheme
public java.awt.Color getDarkColor()
ColorScheme
public java.awt.Color getUltraDarkColor()
ColorScheme
public double getFirstSchemeLikeness()
public ColorScheme getFirstScheme()
public ColorScheme getSecondScheme()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |