Interface ColorSchemeSingleColorQuery
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ColorSchemeSingleColorQueryDefines a query that returns a single color based on a color scheme.
-
-
Field Summary
Fields Modifier and Type Field Description static ColorSchemeSingleColorQueryDARKCore implementation of theColorSchemeSingleColorQueryinterface that returns the dark color of the specified color scheme.static ColorSchemeSingleColorQueryEXTRALIGHTCore implementation of theColorSchemeSingleColorQueryinterface that returns the extra light color of the specified color scheme.static ColorSchemeSingleColorQueryFOREGROUNDCore implementation of theColorSchemeSingleColorQueryinterface that returns the foreground color of the specified color scheme.static ColorSchemeSingleColorQueryLIGHTCore implementation of theColorSchemeSingleColorQueryinterface that returns the light color of the specified color scheme.static ColorSchemeSingleColorQueryMIDCore implementation of theColorSchemeSingleColorQueryinterface that returns the mid color of the specified color scheme.static ColorSchemeSingleColorQueryULTRADARKCore implementation of theColorSchemeSingleColorQueryinterface that returns the ultra dark color of the specified color scheme.static ColorSchemeSingleColorQueryULTRALIGHTCore implementation of theColorSchemeSingleColorQueryinterface that returns the ultra light color of the specified color scheme.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ColorSchemeSingleColorQuerycomposite(ColorSchemeSingleColorQuery base, ColorTransform... transforms)java.awt.Colorquery(SubstanceColorScheme scheme)Returns a single color based on the specified color scheme.
-
-
-
Field Detail
-
ULTRALIGHT
static final ColorSchemeSingleColorQuery ULTRALIGHT
Core implementation of theColorSchemeSingleColorQueryinterface that returns the ultra light color of the specified color scheme.
-
EXTRALIGHT
static final ColorSchemeSingleColorQuery EXTRALIGHT
Core implementation of theColorSchemeSingleColorQueryinterface that returns the extra light color of the specified color scheme.
-
LIGHT
static final ColorSchemeSingleColorQuery LIGHT
Core implementation of theColorSchemeSingleColorQueryinterface that returns the light color of the specified color scheme.
-
MID
static final ColorSchemeSingleColorQuery MID
Core implementation of theColorSchemeSingleColorQueryinterface that returns the mid color of the specified color scheme.
-
DARK
static final ColorSchemeSingleColorQuery DARK
Core implementation of theColorSchemeSingleColorQueryinterface that returns the dark color of the specified color scheme.
-
ULTRADARK
static final ColorSchemeSingleColorQuery ULTRADARK
Core implementation of theColorSchemeSingleColorQueryinterface that returns the ultra dark color of the specified color scheme.
-
FOREGROUND
static final ColorSchemeSingleColorQuery FOREGROUND
Core implementation of theColorSchemeSingleColorQueryinterface that returns the foreground color of the specified color scheme.
-
-
Method Detail
-
query
java.awt.Color query(SubstanceColorScheme scheme)
Returns a single color based on the specified color scheme.- Parameters:
scheme- The color scheme.- Returns:
- The color based on the specified color scheme.
-
composite
static ColorSchemeSingleColorQuery composite(ColorSchemeSingleColorQuery base, ColorTransform... transforms)
-
-