Package org.pushingpixels.substance.api.colorscheme

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


public class CharcoalScheme extends ColorSchemeRobot {
  /**
   * Creates the screenshot robot.
   */
  public CharcoalScheme() {
    super(new CharcoalColorScheme(),
        "C:/jprojects/substance/www/images/screenshots/colorschemes/charcoal.png");
  }
View Full Code Here


   */
  public static void main(String[] args) {
    SwingUtilities.invokeLater(new Runnable() {
      public void run() {
        SubstanceLookAndFeel.setSkin(new RobotDefaultDarkSkin(
            new CharcoalColorScheme()));
        JFrame.setDefaultLookAndFeelDecorated(true);
        SampleFrame sf = new SampleFrame(false);
        sf.setSize(315, 245);
        sf.setLocationRelativeTo(null);
        sf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
View Full Code Here

  protected void apply() {
    SubstanceImageWatermark watermark = new SubstanceImageWatermark(
        "tools/docrobot/watermarks/PrisonBreak3.jpg");
    watermark.setKind(ImageWatermarkKind.APP_ANCHOR);
    SubstanceLookAndFeel.setSkin(new RobotDefaultDarkSkin(
        new CharcoalColorScheme(), watermark));
  }
View Full Code Here

  /**
   * Creates a new <code>Emerald Dusk</code> skin.
   */
  public EmeraldDuskSkin() {
    SubstanceColorScheme activeScheme = new CharcoalColorScheme().hueShift(
        0.3).named("Emerald Dusk Active");
    SubstanceColorScheme defaultScheme = new CharcoalColorScheme()
        .hueShift(0.4).named("Emerald Dusk Default");

    SubstanceColorScheme disabledScheme = new ToneColorScheme(activeScheme,
        0.3) {
      Color foreColor = new Color(120, 134, 128);
View Full Code Here

  /**
   * Creates the screenshot robot.
   */
  public CharcoalScheme() {
    super(
        new CharcoalColorScheme(),
        "/Users/kirillg/JProjects/substance/www/images/screenshots/colorschemes/charcoal.png");
  }
View Full Code Here

  protected void apply() {
    SubstanceImageWatermark watermark = new SubstanceImageWatermark(
        "tools/docrobot/watermarks/PrisonBreak3.jpg");
    watermark.setKind(ImageWatermarkKind.APP_ANCHOR);
    SubstanceLookAndFeel.setSkin(new RobotDefaultDarkSkin(
        new CharcoalColorScheme(), watermark));
  }
View Full Code Here

  /**
   * Creates a new <code>Emerald Dusk</code> skin.
   */
  public EmeraldDuskSkin() {
    SubstanceColorScheme activeScheme = new CharcoalColorScheme().hueShift(
        0.3).named("Emerald Dusk Active");
    SubstanceColorScheme enabledScheme = new CharcoalColorScheme()
        .hueShift(0.4).named("Emerald Dusk Enabled");

    SubstanceColorSchemeBundle defaultSchemeBundle = new SubstanceColorSchemeBundle(
        activeScheme, enabledScheme, enabledScheme);
    defaultSchemeBundle.registerColorScheme(activeScheme, 0.5f,
View Full Code Here

TOP

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

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.