Package org.pushingpixels.substance.api.colorscheme

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


   *            The active color scheme.
   */
  public RobotDefaultSkin(SubstanceColorScheme colorScheme) {
    SubstanceColorSchemeBundle defaultSchemeBundle = new SubstanceColorSchemeBundle(
        colorScheme, new MetallicColorScheme(),
        new LightGrayColorScheme());
    this.registerDecorationAreaSchemeBundle(defaultSchemeBundle,
        DecorationAreaType.NONE);

    this.registerAsDecorationArea(colorScheme,
        DecorationAreaType.PRIMARY_TITLE_PANE,
View Full Code Here


        .getColorScheme(CremeCoffeeSkin.class
            .getClassLoader()
            .getResource(
                "org/pushingpixels/substance/api/skin/coffee-active.colorscheme"));
    SubstanceColorScheme defaultScheme = new CremeColorScheme();
    SubstanceColorScheme disabledScheme = new LightGrayColorScheme().tint(
        0.35).named("Creme Coffee Disabled");

    SubstanceColorSchemeBundle defaultSchemeBundle = new SubstanceColorSchemeBundle(
        activeScheme, defaultScheme, disabledScheme);
    this.registerDecorationAreaSchemeBundle(defaultSchemeBundle,
View Full Code Here

   *            The active color scheme.
   */
  public RobotDefaultSkin(SubstanceColorScheme colorScheme) {
    SubstanceColorSchemeBundle defaultSchemeBundle = new SubstanceColorSchemeBundle(
        colorScheme, new MetallicColorScheme(),
        new LightGrayColorScheme());
    this.registerDecorationAreaSchemeBundle(defaultSchemeBundle,
        DecorationAreaType.NONE);

    this.registerAsDecorationArea(colorScheme,
        DecorationAreaType.PRIMARY_TITLE_PANE,
View Full Code Here

        return "Metallic Skin";
      }
    };
    res.registerDecorationAreaSchemeBundle(new SubstanceColorSchemeBundle(
        new MetallicColorScheme(), new MetallicColorScheme(),
        new LightGrayColorScheme()), DecorationAreaType.NONE);
    return res;
  }
View Full Code Here

  public MistSilverSkin() {
    SubstanceColorScheme activeScheme = new MetallicColorScheme().tint(0.1)
        .named("Mist Silver Active");
    SubstanceColorScheme enabledScheme = new MetallicColorScheme().shade(
        0.05).named("Mist Silver Enabled");
    SubstanceColorScheme disabledScheme = new LightGrayColorScheme().tone(
        0.2).named("Mist Silver Disabled");
    SubstanceColorScheme lightBlueScheme = new SteelBlueColorScheme()
        .saturate(-0.3).tint(0.5).named("Mist Silver Light Blue");

    SubstanceColorSchemeBundle defaultSchemeBundle = new SubstanceColorSchemeBundle(
View Full Code Here

  public BusinessBlackSteelSkin() {
    SubstanceColorScheme activeScheme = new SteelBlueColorScheme().tint(
        0.15).named("Business Black Steel Active");
    SubstanceColorScheme enabledScheme = new MetallicColorScheme().tint(
        0.05).named("Business Black Steel Enabled");
    SubstanceColorScheme disabledScheme = new LightGrayColorScheme().tint(
        0.05).named("Business Black Steel Disabled");

    // the default color scheme bundle
    SubstanceColorSchemeBundle defaultSchemeBundle = new SubstanceColorSchemeBundle(
        activeScheme, enabledScheme, disabledScheme);
View Full Code Here

   * Creates a new <code>Sahara</code> skin.
   */
  public SaharaSkin() {
    SubstanceColorScheme activeScheme = new DesertSandColorScheme();
    SubstanceColorScheme enabledScheme = new MetallicColorScheme();
    SubstanceColorScheme disabledScheme = new LightGrayColorScheme();

    SubstanceColorSchemeBundle defaultSchemeBundle = new SubstanceColorSchemeBundle(
        activeScheme, enabledScheme, disabledScheme);
    defaultSchemeBundle.registerHighlightColorScheme(new OliveColorScheme()
        .tint(0.2).named("Sahara Highlight"));
View Full Code Here

  public BusinessBlueSteelSkin() {
    SubstanceColorScheme activeScheme = new SteelBlueColorScheme().tint(
        0.15).named("Business Blue Steel Active");
    SubstanceColorScheme enabledScheme = new MetallicColorScheme().tint(
        0.05).named("Business Blue Steel Enabled");
    SubstanceColorScheme disabledScheme = new LightGrayColorScheme().tint(
        0.05).named("Business Blue Steel Disabled");

    SubstanceColorSchemeBundle defaultSchemeBundle = new SubstanceColorSchemeBundle(
        activeScheme, enabledScheme, disabledScheme);
View Full Code Here

   */
  public MistAquaSkin() {
    SubstanceColorScheme activeScheme = new AquaColorScheme();
    SubstanceColorScheme enabledScheme = new MetallicColorScheme().shade(
        0.05).named("Mist Aqua Enabled");
    SubstanceColorScheme disabledScheme = new LightGrayColorScheme().tone(
        0.2).named("Mist Aqua Disabled");

    SubstanceColorSchemeBundle defaultSchemeBundle = new SubstanceColorSchemeBundle(
        activeScheme, enabledScheme, disabledScheme);
    this.registerDecorationAreaSchemeBundle(defaultSchemeBundle,
View Full Code Here

    SubstanceSkin.ColorSchemes kitchenSinkSchemes = SubstanceSkin
        .getColorSchemes("org/pushingpixels/substance/api/skin/kitchen-sink.colorschemes");
    SubstanceColorScheme activeScheme = kitchenSinkSchemes
        .get("Coffee Active");
    SubstanceColorScheme enabledScheme = new CremeColorScheme();
    SubstanceColorScheme disabledScheme = new LightGrayColorScheme().tint(
        0.35).named("Creme Coffee Disabled");

    SubstanceColorSchemeBundle defaultSchemeBundle = new SubstanceColorSchemeBundle(
        activeScheme, enabledScheme, disabledScheme);
    this.registerDecorationAreaSchemeBundle(defaultSchemeBundle,
View Full Code Here

TOP

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

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.