Examples of paintIcon()


Examples of com.alee.utils.ninepatch.NinePatchIcon.paintIcon()

            // Calculate shade bounds and paint it
            final int x = actualPaintLeft ? 0 : -shadeWidth * 2;
            final int width = w + ( actualPaintLeft ? 0 : shadeWidth * 2 ) + ( actualPaintRight ? 0 : shadeWidth * 2 );
            final int y = paintTop ? 0 : -shadeWidth * 2;
            final int height = h + ( paintTop ? 0 : shadeWidth * 2 ) + ( paintBottom ? 0 : shadeWidth * 2 );
            shade.paintIcon ( g2d, x, y, width, height );
        }
    }

    /**
     * Paints decoration background.
View Full Code Here

Examples of com.cburch.logisim.comp.ComponentFactory.paintIcon()

    }
   
    ComponentFactory source = getFactory();
    if (source != null) {
      AttributeSet base = getBaseAttributes();
      source.paintIcon(c, x, y, base);
    }
  }

  private void expose(java.awt.Component c, int x, int y) {
    Bounds bds = getBounds();
View Full Code Here

Examples of com.kitfox.svg.app.beans.SVGIcon.paintIcon()

            g.setColor(bgColor);
            g.fillRect(0, 0, width, height);
        }

        g.setClip(0, 0, width, height);
        icon.paintIcon(null, g, 0, 0);
        g.dispose();

        File outFile = destDir == null ? new File(baseDir, shortName)
                : new File(destDir, shortName);
        if (verbose)
View Full Code Here

Examples of com.seaglasslookandfeel.icons.DesktopPane.paintIcon()

    }

    protected void doPaint(Graphics2D g, JComponent c, int width, int height, Object[] extendedCacheKeys) {
        DesktopPane panePainter = new DesktopPane();
        panePainter.setDimension(new Dimension(width, height));
        panePainter.paintIcon(c, g, 0, 0);
    }

    protected final PaintContext getPaintContext() {
        return ctx;
    }
View Full Code Here

Examples of com.seaglasslookandfeel.icons.ErrorSign.paintIcon()

    }

    private void paintErrorSign(Graphics2D g, JComponent c, int width, int height) {
        ErrorSign icon = new ErrorSign();
        icon.setDimension(new Dimension(width, height));
        icon.paintIcon(c, g, 0, 0);
    }

    /**
     * {@inheritDoc}
     */
 
View Full Code Here

Examples of com.seaglasslookandfeel.icons.FileIcon.paintIcon()

    }

    private void paintFileIcon(Graphics2D g, JComponent c, int width, int height) {
        FileIcon icon = new FileIcon();
        icon.setDimension(new Dimension(width, height));
        icon.paintIcon(c, g, 0, 0);
    }

    /**
     * {@inheritDoc}
     */
 
View Full Code Here

Examples of com.seaglasslookandfeel.icons.FloppyDiskIcon.paintIcon()

    }

    private void paintFloppyDiskIcon(Graphics2D g, JComponent c, int width, int height) {
        FloppyDiskIcon icon = new FloppyDiskIcon();
        icon.setDimension(new Dimension(width, height));
        icon.paintIcon(c, g, 0, 0);
    }

    private void paintHardDriveIcon(Graphics2D g, JComponent c, int width, int height) {
        HardDiskIcon icon = new HardDiskIcon();
        icon.setDimension(new Dimension(width, height));
View Full Code Here

Examples of com.seaglasslookandfeel.icons.FolderHomeIcon.paintIcon()

    }

    private void paintHomeFolderIcon(Graphics2D g, JComponent c, int width, int height) {
        FolderHomeIcon icon = new FolderHomeIcon();
        icon.setDimension(new Dimension(width, height));
        icon.paintIcon(c, g, 0, 0);
    }

    private void paintNewFolderIcon(Graphics2D g, JComponent c, int width, int height) {
        FolderNewIcon icon = new FolderNewIcon();
        icon.setDimension(new Dimension(width, height));
View Full Code Here

Examples of com.seaglasslookandfeel.icons.FolderIcon.paintIcon()

    }

    private void paintDirectoryIcon(Graphics2D g, JComponent c, int width, int height) {
        FolderIcon icon = new FolderIcon();
        icon.setDimension(new Dimension(width, height));
        icon.paintIcon(c, g, 0, 0);
    }

    private void paintFileIcon(Graphics2D g, JComponent c, int width, int height) {
        FileIcon icon = new FileIcon();
        icon.setDimension(new Dimension(width, height));
View Full Code Here

Examples of com.seaglasslookandfeel.icons.FolderNewIcon.paintIcon()

    }

    private void paintNewFolderIcon(Graphics2D g, JComponent c, int width, int height) {
        FolderNewIcon icon = new FolderNewIcon();
        icon.setDimension(new Dimension(width, height));
        icon.paintIcon(c, g, 0, 0);
    }

    private void paintUpFolderIcon(Graphics2D g, JComponent c, int width, int height) {
        FolderUpIcon icon = new FolderUpIcon();
        icon.setDimension(new Dimension(width, height));
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.