Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jvnet.substance.colorscheme
Class BlendBiColorScheme

    java.lang.Object
      org.jvnet.substance.colorscheme.BaseColorScheme
          org.jvnet.substance.colorscheme.BlendBiColorScheme

All Implemented Interfaces:
  SchemeBaseColors, SchemeDerivedColors, SubstanceColorScheme, SubstanceTrait

    public class BlendBiColorScheme

extends BaseColorScheme

Blended color scheme.

Author:
  Kirill Grouchnikov

Field Summary

Fields inherited from class org.jvnet.substance.colorscheme.BaseColorScheme
`derivedColorsResolver, displayName, isDark`

Constructor Summary
`BlendBiColorScheme(SubstanceColorScheme firstScheme, SubstanceColorScheme 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.
`SubstanceColorScheme` | `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.
`SubstanceColorScheme` | `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.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

### BlendBiColorScheme

    public BlendBiColorScheme(SubstanceColorScheme firstScheme,
                              SubstanceColorScheme secondScheme,
                              double firstSchemeLikeness)

  Creates a new blended color scheme.

  Parameters:
    `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

### getForegroundColor

    public java.awt.Color getForegroundColor()

  Description copied from interface: `SchemeBaseColors`
  Retrieves the foreground color.

  Returns:
    Foreground color.

### getUltraLightColor

    public java.awt.Color getUltraLightColor()

  Description copied from interface: `SchemeBaseColors`
  Retrieves the ultra-light color.

  Returns:
    Ultra-light color.

### getExtraLightColor

    public java.awt.Color getExtraLightColor()

  Description copied from interface: `SchemeBaseColors`
  Retrieves the extra color.

  Returns:
    Extra color.

### getLightColor

    public java.awt.Color getLightColor()

  Description copied from interface: `SchemeBaseColors`
  Retrieves the light color.

  Returns:
    Light color.

### getMidColor

    public java.awt.Color getMidColor()

  Description copied from interface: `SchemeBaseColors`
  Retrieves the medium color.

  Returns:
    Medium color.

### getDarkColor

    public java.awt.Color getDarkColor()

  Description copied from interface: `SchemeBaseColors`
  Retrieves the dark color.

  Returns:
    Dark color.

### getUltraDarkColor

    public java.awt.Color getUltraDarkColor()

  Description copied from interface: `SchemeBaseColors`
  Retrieves the ultra-dark color.

  Returns:
    Ultra-dark color.

### getFirstSchemeLikeness

    public double getFirstSchemeLikeness()

  Returns the likeness to the first scheme.

  Returns:
    Likeness to the first scheme

### getFirstScheme

    public SubstanceColorScheme getFirstScheme()

  Returns the main original color scheme.

  Returns:
    The main original color scheme.

### getSecondScheme

    public SubstanceColorScheme getSecondScheme()

  Returns the secondary original color scheme.

  Returns:
    The secondary original color scheme.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD