Package org.pushingpixels.substance.api.watermark

Examples of org.pushingpixels.substance.api.watermark.SubstanceImageWatermark


   *
   * @see docrobot.ImageWatermarkRobot#apply()
   */
  @Override
  protected void apply() {
    SubstanceImageWatermark watermark = new SubstanceImageWatermark(
        "tools/docrobot/watermarks/AngelinaJolie.jpg");
    watermark.setKind(ImageWatermarkKind.APP_ANCHOR);
    SubstanceLookAndFeel.setSkin(new RobotDefaultDarkSkin(
        new EbonyColorScheme(), watermark));
  }
View Full Code Here


   *
   * @see docrobot.ImageWatermarkRobot#apply()
   */
  @Override
  protected void apply() {
    SubstanceImageWatermark watermark = new SubstanceImageWatermark(
        "tools/docrobot/watermarks/BeyonceKnowles.jpg");
    watermark.setKind(ImageWatermarkKind.APP_ANCHOR);
    SubstanceLookAndFeel.setSkin(new RobotDefaultSkin(
        new SunsetColorScheme(), watermark));
  }
View Full Code Here

   *
   * @see docrobot.ImageWatermarkRobot#apply()
   */
  @Override
  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

   *
   * @see docrobot.ImageWatermarkRobot#apply()
   */
  @Override
  protected void apply() {
    SubstanceImageWatermark watermark = new SubstanceImageWatermark(
        "tools/docrobot/watermarks/LostLocke.jpg");
    watermark.setKind(ImageWatermarkKind.APP_ANCHOR);
    SubstanceLookAndFeel.setSkin(new RobotDefaultSkin(
        new SepiaColorScheme(), watermark));
  }
View Full Code Here

     * Constructor sin parametros
     * @return void
     */
    public SkinAutumn() {
        super();
        this.watermark = new SubstanceImageWatermark(getClass().getResource("/images/Tulips.jpg").getFile());
    }
View Full Code Here

    /**
     * Sustituye el background de la aplicacion por una imagen dada
     * @param s path completo de la nueva imagen
     */
    public void setWatermark(String s) {
        imageWatermark = new SubstanceImageWatermark(s);
        imageWatermark.setOpacity(0.1f);
        imageWatermark.setKind(ImageWatermarkKind.APP_ANCHOR);
        this.watermark = imageWatermark;
    }
View Full Code Here

     * @return void
     */
    public SkinNebulaBrickWall() {
        super();
       
        this.watermark = new SubstanceImageWatermark(getClass().getResource("/images/fondoAplicacion1.png").getFile());
    }
View Full Code Here

    /**
     * Sustituye el background de la aplicacion por una imagen dada
     * @param s path completo de la nueva imagen
     */
    public void setWatermark(String s) {
        imageWatermark = new SubstanceImageWatermark(s);
        imageWatermark.setOpacity(0.1f);
        imageWatermark.setKind(ImageWatermarkKind.APP_ANCHOR);
        this.watermark = imageWatermark;
    }
View Full Code Here

  private static class MySkin extends BusinessBlackSteelSkin {
    public MySkin() {
      super();
      try {
        SubstanceImageWatermark imageWatermark = new SubstanceImageWatermark(
            new URL(
                "http://www.wallpaperpimper.com/wallpaper/Art_&_3D/Abstract/Lime-Green-Abstract-1-F8T4BX57YH-800x600.jpg")
                .openStream());
        imageWatermark.setOpacity(1.0f);
        imageWatermark.setKind(ImageWatermarkKind.APP_ANCHOR);
        this.watermark = imageWatermark;
      } catch (Exception exc) {
        exc.printStackTrace();
      }
    }
View Full Code Here

  private static class MySkin extends BusinessBlackSteelSkin {
    public MySkin() {
      super();
      try {
        SubstanceImageWatermark imageWatermark = new SubstanceImageWatermark(
            new URL(
                "http://www.wallpaperpimper.com/wallpaper/Art_&_3D/Abstract/Lime-Green-Abstract-1-F8T4BX57YH-800x600.jpg")
                .openStream());
        imageWatermark.setOpacity(1.0f);
        imageWatermark.setKind(ImageWatermarkKind.APP_ANCHOR);
        this.watermark = imageWatermark;
      } catch (Exception exc) {
        exc.printStackTrace();
      }
    }
View Full Code Here

TOP

Related Classes of org.pushingpixels.substance.api.watermark.SubstanceImageWatermark

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.