Uses of Class
org.eclipse.swt.graphics.Image
-
Packages that use Image Package Description org.eclipse.swt.custom org.eclipse.swt.dnd org.eclipse.swt.graphics org.eclipse.swt.internal org.eclipse.swt.widgets -
-
Uses of Image in org.eclipse.swt.custom
Methods in org.eclipse.swt.custom that return Image Modifier and Type Method Description Image
CTabItem. getDisabledImage()
Deprecated.the disabled image is not usedImage
CLabel. getImage()
Return the CLabel's image ornull
.Methods in org.eclipse.swt.custom with parameters of type Image Modifier and Type Method Description void
CLabel. setBackground(Image image)
Set the image to be drawn in the background of the label.void
CTabFolder. setBackgroundImage(Image image)
void
CTabItem. setDisabledImage(Image image)
Deprecated.This image is not usedvoid
CLabel. setImage(Image image)
Set the label's Image.void
CTabItem. setImage(Image image)
void
CTabFolder. setSelectionBackground(Image image)
Set the image to be drawn in the background of the selected tab. -
Uses of Image in org.eclipse.swt.dnd
Fields in org.eclipse.swt.dnd declared as Image Modifier and Type Field Description Image
DragSourceEvent. image
The drag source image to be displayed during the drag. -
Uses of Image in org.eclipse.swt.graphics
Fields in org.eclipse.swt.graphics declared as Image Modifier and Type Field Description Image
GCData. image
Methods in org.eclipse.swt.graphics that return Image Modifier and Type Method Description static Image
Image. gtk_new(Device device, int type, long imageHandle, long mask)
Invokes platform specific functionality to allocate a new image.static Image
Image. gtk_new_from_pixbuf(Device device, int type, long pixbuf)
Invokes platform specific functionality to allocate a new image.Methods in org.eclipse.swt.graphics with parameters of type Image Modifier and Type Method Description void
GC. copyArea(Image image, int x, int y)
Copies a rectangular area of the receiver at the specified position into the image, which must be of typeSWT.BITMAP
.void
GC. drawImage(Image image, int x, int y)
Draws the given image in the receiver at the specified coordinates.void
GC. drawImage(Image image, int srcX, int srcY, int srcWidth, int srcHeight, int destX, int destY, int destWidth, int destHeight)
Copies a rectangular area from the source image into a (potentially different sized) rectangular area in the receiver.Constructors in org.eclipse.swt.graphics with parameters of type Image Constructor Description Image(Device device, Image srcImage, int flag)
Constructs a new instance of this class based on the provided image, with an appearance that varies depending on the value of the flag.Pattern(Device device, Image image)
Constructs a new Pattern given an image. -
Uses of Image in org.eclipse.swt.internal
Methods in org.eclipse.swt.internal that return Image Modifier and Type Method Description Image
ImageList. get(int index)
Methods in org.eclipse.swt.internal with parameters of type Image Modifier and Type Method Description int
ImageList. add(Image image)
static long
ImageList. convertSurface(Image image)
static long
ImageList. createPixbuf(Image image)
int
ImageList. indexOf(Image image)
void
ImageList. put(int index, Image image)
void
ImageList. remove(Image image)
-
Uses of Image in org.eclipse.swt.widgets
Methods in org.eclipse.swt.widgets that return Image Modifier and Type Method Description Image
Control. getBackgroundImage()
Returns the receiver's background image.Image
ToolItem. getDisabledImage()
Returns the receiver's disabled image if it has one, or null if it does not.Image
TrayItem. getHighlightImage()
Returns the receiver's highlight image if it has one, or null if it does not.Image
ToolItem. getHotImage()
Returns the receiver's hot image if it has one, or null if it does not.Image
Button. getImage()
Returns the receiver's image if it has one, or null if it does not.Image
Caret. getImage()
Returns the image that the receiver will use to paint the caret.Image
Decorations. getImage()
Returns the receiver's image if it had previously been set usingsetImage()
.Image
Item. getImage()
Returns the receiver's image if it has one, or null if it does not.Image
Label. getImage()
Returns the receiver's image if it has one, or null if it does not.Image
TableItem. getImage()
Image
TableItem. getImage(int index)
Returns the image stored at the given column index in the receiver, or null if the image has not been set or if the column does not exist.Image
ToolItem. getImage()
Returns the receiver's enabled image if it has one, or null if it does not.Image
TreeItem. getImage()
Image
TreeItem. getImage(int index)
Returns the image stored at the given column index in the receiver, or null if the image has not been set or if the column does not exist.Image[]
Decorations. getImages()
Returns the receiver's images if they had previously been set usingsetImages()
.Image
TaskItem. getOverlayImage()
Returns the receiver's overlay image if it has one, or null if it does not.Image
Display. getSystemImage(int id)
Returns the matching standard platform image for the given constant, which should be one of the icon constants specified in classSWT
.Methods in org.eclipse.swt.widgets with parameters of type Image Modifier and Type Method Description void
Control. setBackgroundImage(Image image)
Sets the receiver's background image to the image specified by the argument, or to the default system color for the control if the argument is null.void
ToolItem. setDisabledImage(Image image)
Sets the receiver's disabled image to the argument, which may be null indicating that no disabled image should be displayed.void
TrayItem. setHighlightImage(Image image)
Sets the receiver's highlight image.void
ToolItem. setHotImage(Image image)
Sets the receiver's hot image to the argument, which may be null indicating that no hot image should be displayed.void
Button. setImage(Image image)
Sets the receiver's image to the argument, which may benull
indicating that no image should be displayed.void
Caret. setImage(Image image)
Sets the image that the receiver will use to paint the caret to the image specified by the argument, or to the default which is a filled rectangle if the argument is nullvoid
Decorations. setImage(Image image)
Sets the receiver's image to the argument, which may be null.void
ExpandItem. setImage(Image image)
void
Item. setImage(Image image)
Sets the receiver's image to the argument, which may be null indicating that no image should be displayed.void
Label. setImage(Image image)
Sets the receiver's image to the argument, which may be null indicating that no image should be displayed.void
MenuItem. setImage(Image image)
Sets the receiver's image to the argument, which may be null indicating that no image should be displayed.void
TabItem. setImage(Image image)
void
TableColumn. setImage(Image image)
void
TableItem. setImage(int index, Image image)
Sets the receiver's image at a column.void
TableItem. setImage(Image image)
void
TableItem. setImage(Image[] images)
Sets the image for multiple columns in the table.void
ToolItem. setImage(Image image)
void
TrayItem. setImage(Image image)
Sets the receiver's image.void
TreeColumn. setImage(Image image)
void
TreeItem. setImage(int index, Image image)
Sets the receiver's image at a column.void
TreeItem. setImage(Image image)
void
TreeItem. setImage(Image[] images)
Sets the image for multiple columns in the tree.void
Decorations. setImages(Image[] images)
Sets the receiver's images to the argument, which may be an empty array.void
TaskItem. setOverlayImage(Image overlayImage)
Sets the receiver's overlay image, which may be null indicating that no image should be displayed.
-