Package org.pushingpixels.substance.api.colorscheme

Examples of org.pushingpixels.substance.api.colorscheme.DarkMetallicColorScheme


   * @param colorScheme
   *            The active color scheme.
   */
  public RobotDefaultDarkSkin(SubstanceColorScheme colorScheme) {
    SubstanceColorScheme inactiveScheme = new BlendBiColorScheme(
        colorScheme, new DarkMetallicColorScheme(), 0.6);
    SubstanceColorSchemeBundle defaultSchemeBundle = new SubstanceColorSchemeBundle(
        colorScheme, inactiveScheme, inactiveScheme);
    defaultSchemeBundle.registerColorScheme(inactiveScheme, 0.5f,
        ComponentState.DISABLED_UNSELECTED,
        ComponentState.DISABLED_SELECTED);

    this.registerDecorationAreaSchemeBundle(defaultSchemeBundle,
        DecorationAreaType.NONE);

    this.registerAsDecorationArea(colorScheme,
        DecorationAreaType.PRIMARY_TITLE_PANE,
        DecorationAreaType.SECONDARY_TITLE_PANE,
        DecorationAreaType.HEADER);

    this.selectedTabFadeStart = 1.0;
    this.selectedTabFadeEnd = 1.0;

    BottomLineOverlayPainter bottomLineOverlayPainter = new BottomLineOverlayPainter(
        ColorSchemeSingleColorQuery.MID);
    this.addOverlayPainter(bottomLineOverlayPainter,
        DecorationAreaType.PRIMARY_TITLE_PANE,
        DecorationAreaType.SECONDARY_TITLE_PANE,
        DecorationAreaType.HEADER);

    this.watermark = new SubstanceCrosshatchWatermark();
    this.watermarkScheme = new BlendBiColorScheme(colorScheme,
        new DarkMetallicColorScheme(), 0.5);

    this.buttonShaper = new ClassicButtonShaper();
    this.fillPainter = new ClassicFillPainter();
    this.borderPainter = new ClassicBorderPainter();

View Full Code Here


   * @param colorScheme
   *            The active color scheme.
   */
  public RobotDefaultDarkSkin(SubstanceColorScheme colorScheme) {
    SubstanceColorScheme inactiveScheme = new BlendBiColorScheme(
        colorScheme, new DarkMetallicColorScheme(), 0.6);
    SubstanceColorSchemeBundle defaultSchemeBundle = new SubstanceColorSchemeBundle(
        colorScheme, inactiveScheme, inactiveScheme);
    defaultSchemeBundle.registerColorScheme(inactiveScheme, 0.5f,
        ComponentState.DISABLED_UNSELECTED,
        ComponentState.DISABLED_SELECTED);

    this.registerDecorationAreaSchemeBundle(defaultSchemeBundle,
        DecorationAreaType.NONE);

    this.registerAsDecorationArea(colorScheme,
        DecorationAreaType.PRIMARY_TITLE_PANE,
        DecorationAreaType.SECONDARY_TITLE_PANE,
        DecorationAreaType.HEADER);

    this.selectedTabFadeStart = 1.0;
    this.selectedTabFadeEnd = 1.0;

    BottomLineOverlayPainter bottomLineOverlayPainter = new BottomLineOverlayPainter(
        ColorSchemeSingleColorQuery.MID);
    this.addOverlayPainter(bottomLineOverlayPainter,
        DecorationAreaType.PRIMARY_TITLE_PANE,
        DecorationAreaType.SECONDARY_TITLE_PANE,
        DecorationAreaType.HEADER);

    this.watermark = new SubstanceNullWatermark();
    this.watermarkScheme = new BlendBiColorScheme(colorScheme,
        new DarkMetallicColorScheme(), 0.5);

    this.buttonShaper = new ClassicButtonShaper();
    this.fillPainter = new ClassicFillPainter();
    this.borderPainter = new ClassicBorderPainter();

View Full Code Here

  public RavenSkin() {
    SubstanceSkin.ColorSchemes schemes = SubstanceSkin
        .getColorSchemes("org/pushingpixels/substance/api/skin/graphite.colorschemes");

    SubstanceColorScheme activeScheme = new EbonyColorScheme();
    SubstanceColorScheme enabledScheme = new DarkMetallicColorScheme();
    SubstanceColorScheme disabledScheme = schemes.get("Raven Disabled");

    SubstanceColorScheme selectedDisabledScheme = schemes
        .get("Raven Selected Disabled");
View Full Code Here

TOP

Related Classes of org.pushingpixels.substance.api.colorscheme.DarkMetallicColorScheme

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.