Package org.pushingpixels.substance.api.painter.overlay

Examples of org.pushingpixels.substance.api.painter.overlay.BottomLineOverlayPainter


    this.addOverlayPainter(TopShadowOverlayPainter.getInstance(),
        DecorationAreaType.TOOLBAR);

    // add an overlay painter to paint separator lines along the bottom
    // edges of title panes and menu bars
    this.bottomLineOverlayPainter = new BottomLineOverlayPainter(
        new ColorSchemeSingleColorQuery() {
          @Override
          public Color query(SubstanceColorScheme scheme) {
            Color dark = scheme.getDarkColor();
            return new Color(dark.getRed(), dark.getGreen(), dark
View Full Code Here


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

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

    this.setSelectedTabFadeStart(0.1);
    this.setSelectedTabFadeEnd(0.3);

    // add two overlay painters to create a bezel line between
    // menu bar and toolbars
    this.menuOverlayPainter = new BottomLineOverlayPainter(
        ColorSchemeSingleColorQuery.MID);
    this.toolbarOverlayPainter = new TopLineOverlayPainter(
        new ColorSchemeSingleColorQuery() {
          @Override
          public Color query(SubstanceColorScheme scheme) {
View Full Code Here

        DecorationAreaType.SECONDARY_TITLE_PANE);

    setSelectedTabFadeStart(0.6);
    setSelectedTabFadeEnd(0.9);

    this.addOverlayPainter(new BottomLineOverlayPainter(
        new ColorSchemeSingleColorQuery() {
          @Override
          public Color query(SubstanceColorScheme scheme) {
            Color fg = scheme.getForegroundColor();
            return new Color(fg.getRed(), fg.getGreen(), fg
View Full Code Here

    setSelectedTabFadeStart(0.1);
    setSelectedTabFadeEnd(0.3);

    // add two overlay painters to create a bezel line between
    // menu bar and toolbars
    this.menuOverlayPainter = new BottomLineOverlayPainter(
        new ColorSchemeSingleColorQuery() {
          @Override
          public Color query(SubstanceColorScheme scheme) {
            return scheme.getUltraDarkColor().darker();
          }
View Full Code Here

        DecorationAreaType.SECONDARY_TITLE_PANE);

    setSelectedTabFadeStart(0.7);
    setSelectedTabFadeEnd(0.9);

    this.addOverlayPainter(new BottomLineOverlayPainter(
        new ColorSchemeSingleColorQuery() {
          @Override
          public Color query(SubstanceColorScheme scheme) {
            Color fg = scheme.getForegroundColor();
            return new Color(fg.getRed(), fg.getGreen(), fg
View Full Code Here

    this.addOverlayPainter(TopShadowOverlayPainter.getInstance(),
        DecorationAreaType.TOOLBAR);

    // add an overlay painter to paint separator lines along the bottom
    // edges of title panes and menu bars
    this.bottomLineOverlayPainter = new BottomLineOverlayPainter(
        ColorSchemeSingleColorQuery.DARK);
    this.addOverlayPainter(this.bottomLineOverlayPainter,
        DecorationAreaType.PRIMARY_TITLE_PANE,
        DecorationAreaType.SECONDARY_TITLE_PANE,
        DecorationAreaType.HEADER);
View Full Code Here

        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);
View Full Code Here

        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);
View Full Code Here

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

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

TOP

Related Classes of org.pushingpixels.substance.api.painter.overlay.BottomLineOverlayPainter

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.