Class ImageList
java.lang.Object
org.eclipse.swt.internal.ImageList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintaddRef()voiddispose()get(int index) longgetHandle(int targetZoom) Returns size of Images in the ImageList in points.intbooleanisFittingFor(int style, int width, int height) voidStores the given image at the given index, replacing whatever is stored at that index.intintsize()
-
Constructor Details
-
ImageList
public ImageList(int style, int zoom) -
ImageList
public ImageList(int style, int width, int height, int zoom)
-
-
Method Details
-
add
-
addRef
public int addRef() -
dispose
public void dispose() -
get
-
getHandle
public long getHandle(int targetZoom) -
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
-
put
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()
-