Package org.pushingpixels.substance.api.shaper

Examples of org.pushingpixels.substance.api.shaper.ClassicButtonShaper


        DecorationAreaType.GENERAL, DecorationAreaType.TOOLBAR);

    setSelectedTabFadeStart(0.2);
    setSelectedTabFadeEnd(0.4);

    this.buttonShaper = new ClassicButtonShaper();
    this.fillPainter = new ClassicFillPainter();
    this.decorationPainter = new ArcDecorationPainter();
    this.highlightPainter = new ClassicHighlightPainter();
    this.borderPainter = new CompositeBorderPainter("Creme",
        new ClassicBorderPainter(), new DelegateBorderPainter(
View Full Code Here


    // System.out.println(extraModelKey + ":" + state.name() + ":"
    // + colorScheme.getDisplayName());
    // }

    // compute the straight sides
    ClassicButtonShaper shaper = ClassicButtonShaper.INSTANCE;
    int comboFontSize = SubstanceSizeUtils.getComponentFontSize(combo);
    float radius = SubstanceSizeUtils
        .getClassicButtonCornerRadius(comboFontSize);

    HashMapKey key = SubstanceCoreUtilities.getHashKey(width, height,
        prevState.name(), state.name(), cyclePos, colorScheme
            .getDisplayName(), colorScheme2.getDisplayName(),
        borderScheme.getDisplayName(), borderScheme2.getDisplayName(),
        shaper.getDisplayName(), fillPainter.getDisplayName(),
        borderPainter.getDisplayName(), combo.getClass().getName(),
        radius, comboFontSize);

    // System.out.println(component.getClass().getSimpleName() + ":"
    // + extraModelKeys + " "
View Full Code Here

        DecorationAreaType.HEADER);

    this.setSelectedTabFadeStart(1);
    this.setSelectedTabFadeEnd(1);

    this.buttonShaper = new ClassicButtonShaper();
    // this.gradientPainter = new GlassGradientPainter();
    this.borderPainter = new ClassicBorderPainter();
    this.decorationPainter = new ArcDecorationPainter();
    this.highlightPainter = new ClassicHighlightPainter();
View Full Code Here

          DecorationAreaType.SECONDARY_TITLE_PANE,
          DecorationAreaType.HEADER);

      this.borderPainter = new ClassicBorderPainter();
      this.fillPainter = new GlassFillPainter();
      this.buttonShaper = new ClassicButtonShaper();
      this.decorationPainter = new ArcDecorationPainter();
      this.highlightPainter = new GlassHighlightPainter();

      this.selectedTabFadeStart = 1.0f;
      this.selectedTabFadeEnd = 1.0f;
View Full Code Here

                .getBlue(), 72);
          }
        }), DecorationAreaType.PRIMARY_TITLE_PANE,
        DecorationAreaType.SECONDARY_TITLE_PANE);

    this.buttonShaper = new ClassicButtonShaper();
    this.watermark = null;

    this.fillPainter = new FractionBasedFillPainter("Office Silver 2007",
        new float[] { 0.0f, 0.49999f, 0.5f, 1.0f },
        new ColorSchemeSingleColorQuery[] {
View Full Code Here

        DecorationAreaType.GENERAL);

    this.setSelectedTabFadeStart(0.6);
    this.setSelectedTabFadeEnd(1.0);

    this.buttonShaper = new ClassicButtonShaper();
    this.fillPainter = new ClassicFillPainter();
    this.borderPainter = new CompositeBorderPainter("Business",
        new ClassicBorderPainter(), new DelegateBorderPainter(
            "Business Inner", new ClassicBorderPainter(),
            new ColorSchemeTransform() {
View Full Code Here

    // add an overlay painter to paint a drop shadow along the top
    // edge of toolbars
    this.addOverlayPainter(TopShadowOverlayPainter.getInstance(),
        DecorationAreaType.TOOLBAR);

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

    BrushedMetalDecorationPainter decorationPainter = new BrushedMetalDecorationPainter();
    decorationPainter.setBaseDecorationPainter(new ArcDecorationPainter());
View Full Code Here

    this.addOverlayPainter(this.menuOverlayPainter,
        DecorationAreaType.HEADER);
    this.addOverlayPainter(this.toolbarOverlayPainter,
        DecorationAreaType.TOOLBAR);

    this.buttonShaper = new ClassicButtonShaper();
    this.watermark = null;
    this.fillPainter = new StandardFillPainter();
    this.decorationPainter = new MatteDecorationPainter();
    this.highlightPainter = new ClassicHighlightPainter();
    this.borderPainter = new CompositeBorderPainter("Dust",
View Full Code Here

        DecorationAreaType.PRIMARY_TITLE_PANE,
        DecorationAreaType.SECONDARY_TITLE_PANE,
        DecorationAreaType.HEADER, DecorationAreaType.FOOTER,
        DecorationAreaType.GENERAL, DecorationAreaType.TOOLBAR);

    this.buttonShaper = new ClassicButtonShaper();
    this.fillPainter = new GlassFillPainter();
    this.decorationPainter = new ArcDecorationPainter();
    this.highlightPainter = new ClassicHighlightPainter();
    this.borderPainter = new GlassBorderPainter();
  }
View Full Code Here

                .getBlue(), 72);
          }
        }), DecorationAreaType.PRIMARY_TITLE_PANE,
        DecorationAreaType.SECONDARY_TITLE_PANE);

    this.buttonShaper = new ClassicButtonShaper();
    this.watermark = null;

    this.fillPainter = new FractionBasedFillPainter("Office Blue 2007",
        new float[] { 0.0f, 0.49999f, 0.5f, 1.0f },
        new ColorSchemeSingleColorQuery[] {
View Full Code Here

TOP

Related Classes of org.pushingpixels.substance.api.shaper.ClassicButtonShaper

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.