Examples of DarkMetallicColorScheme


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

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 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

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

  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
Copyright © 2018 www.massapi.com. 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.