Class ImageList

java.lang.Object
org.eclipse.swt.internal.ImageList

public class ImageList extends Object
  • Constructor Details

    • ImageList

      public ImageList(int style, int zoom)
    • ImageList

      public ImageList(int style, int width, int height, int zoom)
  • Method Details

    • add

      public int add(Image image)
    • addRef

      public int addRef()
    • dispose

      public void dispose()
    • get

      public Image get(int index)
    • getHandle

      public long getHandle(int targetZoom)
    • getImageSize

      public Point getImageSize()
      Returns size of Images in the ImageList in points.
      Returns:
      size of Images in the ImageList in points
    • isFittingFor

      public boolean isFittingFor(int style, int width, int height)
    • indexOf

      public int indexOf(Image image)
    • put

      public void put(int index, Image image)
      Stores the given image at the given index, replacing whatever is stored at that index. Passing no image clears the index. The index may also address the slot right after the last one, in which case a new slot is appended for the given image. Nothing happens for any other index outside the list's current size.
    • removeRef

      public int removeRef()
    • size

      public int size()