|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectutils.GtkStockIcon
utils.GtkStockIconSWT
public class GtkStockIconSWT
| Field Summary |
|---|
| Method Summary | |
|---|---|
org.eclipse.swt.graphics.ImageData |
createImage(java.lang.String name,
int size,
int orientation)
Returns the matching standard GTK stock image for the given constant image name, which should be one of the icon constants specified in class GtkStockIcon,
the given constant image size, which should be one of
the icon size constants specified in class OS,
and the given constant image orientation, which should
be one of the icon orientation constants specified in
class OS. |
static GtkStockIcon |
getInstance()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static GtkStockIcon getInstance()
public org.eclipse.swt.graphics.ImageData createImage(java.lang.String name,
int size,
int orientation)
GtkStockIconGtkStockIcon,
the given constant image size, which should be one of
the icon size constants specified in class OS,
and the given constant image orientation, which should
be one of the icon orientation constants specified in
class OS.
This image should not be free'd because it was allocated
by the system, not the application. A value of null
will be returned if error occurred.
createImage in class GtkStockIconname - the GtkStockIcon icon constantsize - the OS icon size constantorientation - the OS icon orientation constant
nullicon size constants use:,
OS.GTK_ICON_SIZE_DIALOG,
OS.GTK_ICON_SIZE_LARGE_TOOLBAR,
OS.GTK_ICON_SIZE_MENU,
OS.GTK_ICON_SIZE_SMALL_TOOLBAR,
icon orientation constants use:,
OS.GTK_TEXT_DIR_LTR,
OS.GTK_TEXT_DIR_NONE,
OS.GTK_TEXT_DIR_RTL
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||