| java.lang.Object org.jvnet.substance.theme.SubstanceTheme org.jvnet.substance.theme.SubstanceBlendBiTheme
SubstanceBlendBiTheme | public class SubstanceBlendBiTheme extends SubstanceTheme (Code) | | Blend theme. Blend theme is based on two original themes and the blend
factor, blending the colors from both themes for the painting. Here is how
you can create and set a blend theme:
SubstanceTheme blend = new SubstanceBlendBiTheme(
SubstanceAquaTheme(), SubstanceBottleGreenTheme(), 0.4);
SubstanceLookAndFeel.setCurrentTheme(blend);
for (Frame frame : Frame.getFrames()) {
SwingUtilities.updateComponentTreeUI(frame);
}
This class is part of officially supported API.
author: Kirill Grouchnikov |
Constructor Summary | |
public | SubstanceBlendBiTheme(SubstanceTheme originalFirstTheme, SubstanceTheme originalSecondTheme, double firstThemeLikeness) Creates a new blended theme.
Parameters: originalFirstTheme - The first original theme. Parameters: originalSecondTheme - The second original theme. Parameters: firstThemeLikeness - Likeness to the first theme. |
SubstanceBlendBiTheme | public SubstanceBlendBiTheme(SubstanceTheme originalFirstTheme, SubstanceTheme originalSecondTheme, double firstThemeLikeness)(Code) | | Creates a new blended theme.
Parameters: originalFirstTheme - The first original theme. Parameters: originalSecondTheme - The second original theme. Parameters: firstThemeLikeness - Likeness to the first theme. Values close to 0.0 will createtheme that closely matches the second original theme. Valuesclose to 1.0 will create theme that closely matches the firstoriginal scheme. |
getOriginalFirstTheme | public SubstanceTheme getOriginalFirstTheme()(Code) | | Returns the first original theme.
The first original theme. |
getOriginalSecondTheme | public SubstanceTheme getOriginalSecondTheme()(Code) | | Returns the second original theme.
The second original theme. |
Methods inherited from org.jvnet.substance.theme.SubstanceTheme | public void addCustomEntriesToTable(UIDefaults table)(Code)(Java Doc) public static SubstanceTheme addUserDefined(ColorScheme scheme, ThemeKind themeKind, String displayName)(Code)(Java Doc) public static SubstanceTheme createInstance(ThemeInfo themeInfo)(Code)(Java Doc) public SubstanceTheme deuteranopia()(Code)(Java Doc) public SubstanceTheme getActiveTheme()(Code)(Java Doc) public SubstanceTheme getActiveTitlePaneTheme()(Code)(Java Doc) public Color getBackgroundColor()(Code)(Java Doc) public SubstanceTheme getBorderTheme()(Code)(Java Doc) public ColorScheme getColorScheme()(Code)(Java Doc) public SubstanceTheme getDecorationTheme(DecorationAreaType decorationType)(Code)(Java Doc) public static ColorScheme getDefaultColorScheme(ThemeKind themeKind)(Code)(Java Doc) public ColorScheme getDefaultColorScheme()(Code)(Java Doc) public SubstanceTheme getDefaultTheme()(Code)(Java Doc) public SubstanceTheme getDefaultTitlePaneTheme()(Code)(Java Doc) public Color getDisabledBackgroundColor()(Code)(Java Doc) public static ColorScheme getDisabledColorScheme(ThemeKind themeKind)(Code)(Java Doc) public ColorScheme getDisabledColorScheme()(Code)(Java Doc) public Color getDisabledForegroundColor()(Code)(Java Doc) public SubstanceTheme getDisabledTheme()(Code)(Java Doc) public String getDisplayName()(Code)(Java Doc) public SubstanceTheme getFirstTheme()(Code)(Java Doc) public ColorUIResource getForegroundColor()(Code)(Java Doc) public SubstanceTheme getHighlightTheme(Component comp, ComponentState componentState)(Code)(Java Doc) public float getHighlightThemeAlpha(Component comp, ComponentState componentState)(Code)(Java Doc) public ThemeKind getKind()(Code)(Java Doc) public Color getLightBackgroundColor()(Code)(Java Doc) public Color getLineColor()(Code)(Java Doc) public Color getLineColorDefault()(Code)(Java Doc) public SubstanceGradientPainter getNonActivePainter()(Code)(Java Doc) public SubstanceTheme getSecondTheme()(Code)(Java Doc) public double getSelectedTabFadeEnd()(Code)(Java Doc) public double getSelectedTabFadeStart()(Code)(Java Doc) public Color getSelectionBackgroundColor()(Code)(Java Doc) public Color getSelectionCellForegroundColor()(Code)(Java Doc) public Color getSelectionForegroundColor()(Code)(Java Doc) public static SubstanceTheme getTheme(String displayName)(Code)(Java Doc) public SubstanceTheme getTheme(Component comp, ComponentState componentState)(Code)(Java Doc) public SubstanceTheme getTheme(Component comp, ComponentState componentState, boolean toIgnoreHighlights)(Code)(Java Doc) public float getThemeAlpha(Component comp, ComponentState componentState)(Code)(Java Doc) public String getThemeName()(Code)(Java Doc) public Color getWatermarkStampColor()(Code)(Java Doc) public SubstanceTheme getWatermarkTheme()(Code)(Java Doc) public SubstanceTheme hueShift(double hueShiftFactor)(Code)(Java Doc) public SubstanceTheme invert()(Code)(Java Doc) public boolean isDark()(Code)(Java Doc) public boolean isPaintingToolbarDropShadows()(Code)(Java Doc) public SubstanceTheme negate()(Code)(Java Doc) public SubstanceTheme protanopia()(Code)(Java Doc) public SubstanceTheme saturate(double saturateFactor)(Code)(Java Doc) public SubstanceTheme saturate(double saturateFactor, boolean toSaturateEverything)(Code)(Java Doc) public SubstanceTheme shade(double shadeFactor)(Code)(Java Doc) public SubstanceTheme shift(Color backgroundShiftColor, double backgroundShiftFactor, Color foregroundShiftColor, double foregroundShiftFactor)(Code)(Java Doc) public SubstanceTheme tint(double tintFactor)(Code)(Java Doc) public String toString()(Code)(Java Doc) public boolean toUseDecorationPainter(DecorationAreaType decorationType)(Code)(Java Doc) public boolean toUseDecorationThemeOnActiveControls(DecorationAreaType decorationType)(Code)(Java Doc) public SubstanceTheme tone(double toneFactor)(Code)(Java Doc) public SubstanceTheme tritanopia()(Code)(Java Doc)
|
|
|