Examples of paintIcon()


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

    }

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

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

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

    }

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

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

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

    }

    private void paintInfoSign(Graphics2D g, JComponent c, int width, int height) {
        InfoSign icon = new InfoSign();
        icon.setDimension(new Dimension(width, height));
        icon.paintIcon(c, g, -3, -3);
    }

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

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

    }

    private void paintQuestionSign(Graphics2D g, JComponent c, int width, int height) {
        QuestionSign icon = new QuestionSign();
        icon.setDimension(new Dimension(width, height));
        icon.paintIcon(c, g, -3, -3);
    }

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

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

    }

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

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

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

    }

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

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

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

    }

    private void paintWarningSign(Graphics2D g, JComponent c, int width, int height) {
        WarningSign icon = new WarningSign();
        icon.setDimension(new Dimension(width, height));
        icon.paintIcon(c, g, -3, -3);
    }

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

Examples of javax.swing.Icon.paintIcon()

    Graphics g = painter.getGraphics();
    g.setColor(Color.black);
    if (painter.getGateShape() == AppPreferences.SHAPE_RECTANGULAR) {
      Icon iconRect = getIconRectangular();
      if (iconRect != null) {
        iconRect.paintIcon(painter.getDestination(), g, 2, 2);
      } else {
        paintIconRectangular(painter);
      }
    } else if (painter.getGateShape() == AppPreferences.SHAPE_DIN40700) {
      Icon iconDin = getIconDin40700();
View Full Code Here

Examples of javax.swing.Icon.paintIcon()

        paintIconRectangular(painter);
      }
    } else if (painter.getGateShape() == AppPreferences.SHAPE_DIN40700) {
      Icon iconDin = getIconDin40700();
      if (iconDin != null) {
        iconDin.paintIcon(painter.getDestination(), g, 2, 2);
      } else {
        paintIconRectangular(painter);
      }
    } else {
      Icon iconShaped = getIconShaped();
View Full Code Here

Examples of javax.swing.Icon.paintIcon()

  @Override
  public void paintIcon(InstancePainter painter) {
    Graphics g = painter.getGraphics();
    Icon icon = isInverter ? ICON_INVERTER : ICON_BUFFER;
    if (icon != null) {
      icon.paintIcon(painter.getDestination(), g, 2, 2);
    } else {
      int x = isInverter ? 0 : 2;
      g.setColor(Color.BLACK);
      int[] xp = new int[] { x + 15, x + 1, x + 1, x + 15 };
      int[] yp = new int[] { 10,     3,     17,    10 };
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.