Examples of paintBorder()


Examples of javax.swing.border.Border.paintBorder()

        if (border != null) {
          // If it's a 3d border, switch it to a 2d one
          if (border instanceof CompoundBorder) {
            border = new LineBorder(Color.black, 1);
          }
            border.paintBorder(this, g, 0, 0, getWidth(), getHeight());
        }
    }
    //PM:11/04/08 JCT-534
    @Override
    protected void fireCaretUpdate(CaretEvent e) {
View Full Code Here

Examples of org.jvnet.substance.painter.border.FlatBorderPainter.paintBorder()

    gradPainter.paintContourBackground(g2, tree, dim - 1, dim - 1, contour,
        false, fillScheme, fillScheme, 0, false, false);
    borderScheme = new ShiftColorScheme(borderScheme, isDark ? borderScheme
        .getUltraLightColor() : borderScheme.getLightColor(), 0.5);
    fbp.paintBorder(g2, tree, dim - 1, dim - 1, contour, null,
        borderScheme, borderScheme, 0, false);

    g2.translate(-1, -1);

    Color signColor = isDark ? borderScheme.getUltraLightColor().brighter()
View Full Code Here

Examples of org.jvnet.substance.painter.border.SimplisticSoftBorderPainter.paintBorder()

      SimplisticGradientPainter.INSTANCE.paintContourBackground(result
          .createGraphics(), scrollBar, width, height, contour,
          false, mainScheme, mainScheme, 0, true, false);

      SubstanceBorderPainter borderPainter = new SimplisticSoftBorderPainter();
      borderPainter.paintBorder(result.getGraphics(), scrollBar, width,
          height, contour, null, mainBorderScheme, mainBorderScheme,
          0, false);

      SubstanceScrollBarUI.trackHorizontalMap.put(key, result);
    }
View Full Code Here

Examples of org.jvnet.substance.painter.border.SubstanceBorderPainter.paintBorder()

      GeneralPath contourInner = SubstanceOutlineUtilities
          .getBaseOutline(width + 1, height + 1, radius
              - borderThickness, null, borderThickness
              + borderDelta);
      borderPainter.paintBorder(cacheGraphics, slider, width + 1,
          height + 1, contour, contourInner, borderScheme,
          borderScheme, 0, false);

      trackCache.put(key, trackImage);
      cacheGraphics.dispose();
View Full Code Here

Examples of org.pushingpixels.substance.api.painter.border.FlatBorderPainter.paintBorder()

    gradPainter.paintContourBackground(g2, tree, dim - 1, dim - 1, contour,
        false, fillScheme, fillScheme, 0, false, false);
    borderScheme = new ShiftColorScheme(borderScheme, isDark ? borderScheme
        .getUltraLightColor() : borderScheme.getLightColor(), 0.5);
    fbp.paintBorder(g2, tree, dim - 1, dim - 1, contour, null,
        borderScheme, borderScheme, 0, false);

    g2.translate(-1, -1);

    Color signColor = isDark ? borderScheme.getUltraLightColor().brighter()
View Full Code Here

Examples of org.pushingpixels.substance.api.painter.border.SubstanceBorderPainter.paintBorder()

        .getBorderStrokeWidth(componentFontSize);
    GeneralPath contourInner = (c instanceof JTextComponent) ? null
        : SubstanceOutlineUtilities.getBaseOutline(width, height,
            radius - borderThickness, null, borderThickness
                + borderDelta);
    borderPainter.paintBorder(graphics, c, width, height, contour,
        contourInner, borderScheme1, borderScheme2, cyclePos,
        borderScheme1 != borderScheme2);
    graphics.translate(-x, -y);
  }
View Full Code Here

Examples of org.pushingpixels.substance.api.painter.border.SubstanceBorderPainter.paintBorder()

    dotGraphics.setComposite(AlphaComposite.getInstance(
        AlphaComposite.SRC_OVER, 0.4f));
    SubstanceBorderPainter borderPainter = SubstanceCoreUtilities
        .getBorderPainter(divider);
    borderPainter.paintBorder(dotGraphics, divider, width, height,
        new Ellipse2D.Float(0, 0, bumpDotDiameter - 1,
            bumpDotDiameter - 1), null, colorScheme1, colorScheme2,
        interpolationCyclePos, colorScheme1 != colorScheme2);

    graphics.setComposite(TransitionLayout.getAlphaComposite(divider, 0.8f,
View Full Code Here

Examples of org.pushingpixels.substance.api.painter.border.SubstanceBorderPainter.paintBorder()

        .getBaseOutline(width, height + dy, cornerRadius
            - borderThickness, straightSides, borderThickness
            + borderInsets)
        : null;

    borderPainter.paintBorder(resGraphics, tabPane, width, height + dy,
        contour, contourInner, borderScheme, borderScheme2, cyclePos,
        borderScheme != borderScheme2);

    resGraphics.dispose();
    return result;
View Full Code Here

Examples of org.pushingpixels.substance.api.painter.border.SubstanceBorderPainter.paintBorder()

        // finalGraphics.drawImage(background, 0, 0, null);
        SubstanceBorderPainter borderPainter = SubstanceCoreUtilities
            .getBorderPainter(tabPane);
        finalGraphics.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
            RenderingHints.VALUE_ANTIALIAS_ON);
        borderPainter.paintBorder(finalGraphics, tabPane, width,
            height, contour, null, markScheme, markScheme2,
            cyclePos, markScheme != markScheme2);
      }

      finalGraphics.setStroke(new BasicStroke(SubstanceSizeUtils
View Full Code Here

Examples of org.pushingpixels.substance.api.painter.border.SubstanceBorderPainter.paintBorder()

      GeneralPath contourInner = SubstanceOutlineUtilities
          .getBaseOutline(width + 1, height + 1, radius
              - borderThickness, null, borderThickness
              + borderDelta);
      borderPainter.paintBorder(cacheGraphics, slider, width + 1,
          height + 1, contour, contourInner, borderScheme,
          borderScheme, 0, false);

      trackCache.put(key, trackImage);
      cacheGraphics.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.