Package entagged.tageditor.tools.gui

Examples of entagged.tageditor.tools.gui.MultiIcon$IconInfo


   * @param fileType
   *            The file type which will be handled.
   */
  public void addFileTypeIcons(String iconKey, String fileType, ImageIcon errorIcon) {
    ImageIcon defaultIcon = ResourcesRepository.getImageIcon(fileType + "-icon.png");
    MultiIcon multi = new MultiIcon();
    multi.addIcon(defaultIcon, MultiIcon.CENTER);
    multi.addIcon(errorIcon, MultiIcon.CENTER);
    icons.put(iconKey, defaultIcon);
    icons.put(iconKey + "-error", multi);
  }
View Full Code Here


    int transparentPixel = -1, alpha = -1;
    int /* long */hMask = 0, hBitmap = 0;
    byte[] alphaData = null;
    switch (image.type) {
    case SWT.ICON:
      ICONINFO info = new ICONINFO();
      Extension.GetIconInfo(image.handle, info);
      hBitmap = info.hbmColor;
      hMask = info.hbmMask;
      break;
    case SWT.BITMAP:
View Full Code Here

TOP

Related Classes of entagged.tageditor.tools.gui.MultiIcon$IconInfo

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.