Package | Description |
---|---|
org.eclipse.swt.custom | |
org.eclipse.swt.dnd | |
org.eclipse.swt.graphics | |
org.eclipse.swt.internal | |
org.eclipse.swt.internal.theme | |
org.eclipse.swt.widgets |
Modifier and Type | Method and Description |
---|---|
Image |
CTabItem.getDisabledImage()
Deprecated.
the disabled image is not used
|
Image |
TableTreeItem.getImage()
Deprecated.
Gets the first image.
|
Image |
CLabel.getImage()
Return the CLabel's image or
null . |
Image |
TableTreeItem.getImage(int index)
Deprecated.
Gets the image at the specified index.
|
Modifier and Type | Method and 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 used
|
void |
TableTreeItem.setImage(Image image)
Deprecated.
Sets the first image.
|
void |
CTabItem.setImage(Image image) |
void |
CLabel.setImage(Image image)
Set the label's Image.
|
void |
TableTreeItem.setImage(int index,
Image image)
Deprecated.
Sets the image at an index.
|
void |
CTabFolder.setSelectionBackground(Image image)
Set the image to be drawn in the background of the selected tab.
|
Modifier and Type | Field and Description |
---|---|
Image |
DragSourceEvent.image
The drag source image to be displayed during the drag.
|
Modifier and Type | Field and Description |
---|---|
Image |
GCData.image |
Modifier and Type | Method and Description |
---|---|
static Image |
Image.win32_new(Device device,
int type,
long handle)
Invokes platform specific functionality to allocate a new image.
|
Modifier and Type | Method and 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 type
SWT.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.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Image |
ImageList.get(int index) |
Modifier and Type | Method and Description |
---|---|
int |
ImageList.add(Image image) |
int |
ImageList.indexOf(Image image) |
void |
ImageList.put(int index,
Image image) |
Modifier and Type | Method and Description |
---|---|
void |
Theme.drawImage(GC gc,
Rectangle bounds,
DrawData data,
Image image,
int flags) |
Modifier and Type | Method and 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 |
TreeItem.getImage() |
Image |
TableItem.getImage() |
Image |
Label.getImage()
Returns the receiver's image if it has one, or null
if it does not.
|
Image |
Item.getImage()
Returns the receiver's image if it has one, or null
if it does not.
|
Image |
Decorations.getImage()
Returns the receiver's image if it had previously been
set using
setImage() . |
Image |
Caret.getImage()
Returns the image that the receiver will use to paint the caret.
|
Image |
Button.getImage()
Returns the receiver's image if it has one, or null
if it does not.
|
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 |
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[] |
Decorations.getImages()
Returns the receiver's images if they had previously been
set using
setImages() . |
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 class
SWT . |
Modifier and Type | Method and 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 |
TreeItem.setImage(Image image) |
void |
TreeColumn.setImage(Image image) |
void |
TrayItem.setImage(Image image)
Sets the receiver's image.
|
void |
ToolItem.setImage(Image image) |
void |
TableItem.setImage(Image image) |
void |
TableColumn.setImage(Image image) |
void |
TabItem.setImage(Image image) |
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 |
Label.setImage(Image image)
Sets the receiver's image to the argument, which may be
null indicating that no image should be displayed.
|
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 |
ExpandItem.setImage(Image image) |
void |
Decorations.setImage(Image image)
Sets the receiver's image to the argument, which may
be null.
|
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 null
|
void |
Button.setImage(Image image)
Sets the receiver's image to the argument, which may be
null indicating that no image should be displayed. |
void |
TreeItem.setImage(Image[] images)
Sets the image for multiple columns in the tree.
|
void |
TableItem.setImage(Image[] images)
Sets the image for multiple columns in the table.
|
void |
TreeItem.setImage(int index,
Image image)
Sets the receiver's image at a column.
|
void |
TableItem.setImage(int index,
Image image)
Sets the receiver's image at a column.
|
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.
|
Copyright © 2017. All Rights Reserved.