Examples of paintDecorationArea()


Examples of org.jvnet.substance.painter.decoration.SubstanceDecorationPainter.paintDecorationArea()

    SubstanceSkin skin = SubstanceCoreUtilities.getSkin(c);
    SubstanceDecorationPainter painter = skin.getDecorationPainter();

    Graphics2D g2d = (Graphics2D) g.create();
    painter.paintDecorationArea(g2d, c, decorationType, c.getWidth(), c
        .getHeight(), skin);

    SubstanceWatermark watermark = SubstanceCoreUtilities.getSkin(c)
        .getWatermark();
    if ((watermark != null) && !isPreviewMode && !isInCellRenderer
View Full Code Here

Examples of org.jvnet.substance.painter.decoration.SubstanceDecorationPainter.paintDecorationArea()

          .getHeight());

      // paint the background second time with 50%
      // translucency, making the watermark' bleed' through.
      g2d.setComposite(TransitionLayout.getAlphaComposite(c, 0.5f, g));
      painter.paintDecorationArea(g2d, c, decorationType, c.getWidth(), c
          .getHeight(), skin);
    }
    g2d.dispose();
  }
}
View Full Code Here

Examples of org.pushingpixels.substance.api.painter.decoration.SubstanceDecorationPainter.paintDecorationArea()

      SubstanceSkin currentSkin = SubstanceLookAndFeel
          .getCurrentSkin(this);
      SubstanceDecorationPainter decoPainter = currentSkin
          .getDecorationPainter();
      Graphics2D g2d = (Graphics2D) g.create();
      decoPainter.paintDecorationArea(g2d, this,
          DecorationAreaType.SECONDARY_TITLE_PANE, getWidth(),
          getHeight(), currentSkin);
      g2d.dispose();
    }
View Full Code Here

Examples of org.pushingpixels.substance.api.painter.decoration.SubstanceDecorationPainter.paintDecorationArea()

      SubstanceSkin currentSkin = SubstanceLookAndFeel
          .getCurrentSkin(this);
      SubstanceDecorationPainter decoPainter = currentSkin
          .getDecorationPainter();
      Graphics2D g2d = (Graphics2D) g.create();
      decoPainter.paintDecorationArea(g2d, this,
          DecorationAreaType.SECONDARY_TITLE_PANE, getWidth(),
          getHeight(), currentSkin);
      g2d.dispose();
    }
View Full Code Here

Examples of org.pushingpixels.substance.api.painter.decoration.SubstanceDecorationPainter.paintDecorationArea()

    SubstanceSkin skin = SubstanceCoreUtilities.getSkin(c);
    SubstanceDecorationPainter painter = skin.getDecorationPainter();

    Graphics2D g2d = (Graphics2D) g.create();
    painter.paintDecorationArea(g2d, c, decorationType, c.getWidth(), c
        .getHeight(), skin);

    SubstanceWatermark watermark = SubstanceCoreUtilities.getSkin(c)
        .getWatermark();
    if ((watermark != null) && !isPreviewMode && !isInCellRenderer
View Full Code Here

Examples of org.pushingpixels.substance.api.painter.decoration.SubstanceDecorationPainter.paintDecorationArea()

          .getHeight());

      // paint the background second time with 50%
      // translucency, making the watermark' bleed' through.
      g2d.setComposite(TransitionLayout.getAlphaComposite(c, 0.5f, g));
      painter.paintDecorationArea(g2d, c, decorationType, c.getWidth(), c
          .getHeight(), skin);
    }
    g2d.dispose();
  }
}
View Full Code Here

Examples of org.pushingpixels.substance.api.painter.decoration.SubstanceDecorationPainter.paintDecorationArea()

      SubstanceSkin currentSkin = SubstanceLookAndFeel
          .getCurrentSkin(this);
      SubstanceDecorationPainter decoPainter = currentSkin
          .getDecorationPainter();
      Graphics2D g2d = (Graphics2D) g.create();
      decoPainter.paintDecorationArea(g2d, this,
          DecorationAreaType.SECONDARY_TITLE_PANE, getWidth(),
          getHeight(), currentSkin);
      g2d.dispose();
    }
View Full Code Here

Examples of org.pushingpixels.substance.api.painter.decoration.SubstanceDecorationPainter.paintDecorationArea()

    SubstanceSkin skin = SubstanceCoreUtilities.getSkin(c);
    SubstanceDecorationPainter painter = skin.getDecorationPainter();

    Graphics2D g2d = (Graphics2D) g.create();
    painter.paintDecorationArea(g2d, c, decorationType, c.getWidth(), c
        .getHeight(), skin);

    SubstanceWatermark watermark = SubstanceCoreUtilities.getSkin(c)
        .getWatermark();
    if ((watermark != null) && !isPreviewMode && !isInCellRenderer
View Full Code Here

Examples of org.pushingpixels.substance.api.painter.decoration.SubstanceDecorationPainter.paintDecorationArea()

          .getHeight());

      // paint the background second time with 50%
      // translucency, making the watermark' bleed' through.
      g2d.setComposite(LafWidgetUtilities.getAlphaComposite(c, 0.5f, g));
      painter.paintDecorationArea(g2d, c, decorationType, c.getWidth(), c
          .getHeight(), skin);
    }
    g2d.dispose();
  }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.