|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jvnet.substance.utils.SubstanceColorSchemeUtilities
public class SubstanceColorSchemeUtilities
Utilities related to color schemes. This class is for internal use only.
| Field Summary | |
|---|---|
static SubstanceColorScheme |
GREEN
Used as reference to the green color scheme. |
static SubstanceSkin |
METALLIC_SKIN
Metallic skin. |
static SubstanceColorScheme |
ORANGE
Used as reference in attention-drawing animations. |
static SubstanceColorScheme |
YELLOW
Used as reference in attention-drawing animations. |
| Constructor Summary | |
|---|---|
SubstanceColorSchemeUtilities()
|
|
| Method Summary | |
|---|---|
static float |
getAlpha(java.awt.Component component,
ComponentState componentState)
Returns the alpha channel of the color scheme of the component. |
static SchemeBaseColors |
getBaseColorScheme(java.io.InputStream is)
|
static SubstanceColorScheme |
getColorScheme(java.awt.Component component,
ColorSchemeAssociationKind associationKind,
ComponentState componentState)
Returns the color scheme of the component. |
static SubstanceColorScheme |
getColorScheme(java.awt.Component component,
ComponentState componentState)
Returns the color scheme of the specified component. |
static SubstanceColorScheme |
getColorScheme(javax.swing.JTabbedPane jtp,
int tabIndex,
ColorSchemeAssociationKind associationKind,
ComponentState componentState)
Returns the color scheme of the specified tabbed pane tab. |
static SubstanceColorScheme |
getColorScheme(java.net.URL url)
|
static SubstanceSkin.ColorSchemes |
getColorSchemes(java.net.URL url)
|
static SubstanceColorScheme |
getDarkColorScheme(java.lang.String name,
java.awt.Color[] colors)
|
static float |
getHighlightAlpha(java.awt.Component component,
ComponentState componentState)
Returns the alpha channel of the highlight color scheme of the component. |
static SubstanceColorScheme |
getLightColorScheme(java.lang.String name,
java.awt.Color[] colors)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final SubstanceSkin METALLIC_SKIN
public static final SubstanceColorScheme YELLOW
public static final SubstanceColorScheme ORANGE
public static final SubstanceColorScheme GREEN
| Constructor Detail |
|---|
public SubstanceColorSchemeUtilities()
| Method Detail |
|---|
public static SubstanceColorScheme getColorScheme(javax.swing.JTabbedPane jtp,
int tabIndex,
ColorSchemeAssociationKind associationKind,
ComponentState componentState)
jtp - Tabbed pane.tabIndex - Tab index.componentState - Tab component state.
public static SubstanceColorScheme getColorScheme(java.awt.Component component,
ComponentState componentState)
component - Component.componentState - Component state.
public static SubstanceColorScheme getColorScheme(java.awt.Component component,
ColorSchemeAssociationKind associationKind,
ComponentState componentState)
component - Component.componentState - Component state.
public static float getHighlightAlpha(java.awt.Component component,
ComponentState componentState)
component - Component.componentState - Component state.
public static float getAlpha(java.awt.Component component,
ComponentState componentState)
component - Component.componentState - Component state.
public static SubstanceColorScheme getColorScheme(java.net.URL url)
public static SchemeBaseColors getBaseColorScheme(java.io.InputStream is)
public static SubstanceColorScheme getLightColorScheme(java.lang.String name,
java.awt.Color[] colors)
public static SubstanceColorScheme getDarkColorScheme(java.lang.String name,
java.awt.Color[] colors)
public static SubstanceSkin.ColorSchemes getColorSchemes(java.net.URL url)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||