Package org.pushingpixels.substance.api.shaper

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


        backgroundScheme, DecorationAreaType.NONE);

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

    this.buttonShaper = new ClassicButtonShaper();
    this.watermark = null;
    this.fillPainter = new FractionBasedFillPainter("Graphite",
        new float[] { 0.0f, 0.5f, 1.0f },
        new ColorSchemeSingleColorQuery[] {
            ColorSchemeSingleColorQuery.ULTRALIGHT,
View Full Code Here


    this.addOverlayPainter(this.bottomLineOverlayPainter,
        DecorationAreaType.PRIMARY_TITLE_PANE,
        DecorationAreaType.SECONDARY_TITLE_PANE,
        DecorationAreaType.HEADER);

    this.buttonShaper = new ClassicButtonShaper();
    this.fillPainter = new MatteFillPainter();
    this.borderPainter = new CompositeBorderPainter("Autumn",
        new ClassicBorderPainter(), new DelegateBorderPainter(
            "Autumn Inner", new ClassicBorderPainter(),
            new ColorSchemeTransform() {
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.borderPainter = new GlassBorderPainter();
    this.highlightPainter = new ClassicHighlightPainter();
  }
View Full Code Here

    this.toolbarBottomLineOverlayPainter = new BottomLineOverlayPainter(
        ColorSchemeSingleColorQuery.ULTRADARK);
    this.addOverlayPainter(this.toolbarBottomLineOverlayPainter,
        DecorationAreaType.TOOLBAR);

    this.buttonShaper = new ClassicButtonShaper();
    this.watermark = null;
    this.fillPainter = new FractionBasedFillPainter("Gemini", new float[] {
        0.0f, 0.5f, 1.0f }, new ColorSchemeSingleColorQuery[] {
        ColorSchemeSingleColorQuery.EXTRALIGHT,
        ColorSchemeSingleColorQuery.LIGHT,
View Full Code Here

            .getResource(
                "org/pushingpixels/substance/api/skin/lightgray-general-watermark.colorscheme"));
    this.registerAsDecorationArea(generalBgScheme,
        DecorationAreaType.GENERAL, DecorationAreaType.HEADER);

    this.buttonShaper = new ClassicButtonShaper();
    this.fillPainter = new GlassFillPainter();
    this.decorationPainter = new ClassicDecorationPainter();
    this.borderPainter = new ClassicBorderPainter();
    this.highlightPainter = new ClassicHighlightPainter();
  }
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 MatteFillPainter();
    this.decorationPainter = new ArcDecorationPainter();
    this.highlightPainter = new ClassicHighlightPainter();
    this.borderPainter = new CompositeBorderPainter("Creme Coffee",
        new GlassBorderPainter(), new DelegateBorderPainter(
View Full Code Here

    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();

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

    this.addOverlayPainter(bottomLineOverlayPainter,
        DecorationAreaType.PRIMARY_TITLE_PANE,
        DecorationAreaType.SECONDARY_TITLE_PANE,
        DecorationAreaType.HEADER);

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

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

    ComponentState currState = modelStateInfo.getCurrModelState();

    Map<ComponentState, StateTransitionTracker.StateContributionInfo> activeStates = modelStateInfo
        .getStateContributionMap();

    ClassicButtonShaper shaper = ClassicButtonShaper.INSTANCE;
    int comboFontSize = SubstanceSizeUtils.getComponentFontSize(combo);
    float radius = SubstanceSizeUtils
        .getClassicButtonCornerRadius(comboFontSize);

    SubstanceColorScheme baseFillScheme = SubstanceColorSchemeUtilities
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

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.