|
Eclipse JDT Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.jface.resource.ImageDescriptor org.eclipse.jface.resource.CompositeImageDescriptor org.eclipse.jdt.ui.JavaElementImageDescriptor
A JavaImageDescriptor consists of a base image and several adornments. The adornments are computed according to the flags either passed during creation or set via the method setAdornments.
This class may be instantiated; it is not intended to be subclassed.
Field Summary | |
static int | ABSTRACT
Flag to render the abstract adornment. |
static int | CONSTRUCTOR
Flag to render the 'constructor' adornment. |
static int | DEPRECATED
Flag to render the 'deprecated' adornment. |
static int | ERROR
Flag to render the error adornment. |
static int | FINAL
Flag to render the final adornment. |
static int | IMPLEMENTS
Flag to render the 'implements' adornment. |
static int | OVERRIDES
Flag to render the 'override' adornment. |
static int | RUNNABLE
Flag to render the runnable adornment. |
static int | STATIC
Flag to render the static adornment. |
static int | SYNCHRONIZED
Flag to render the synchronized adornment. |
static int | WARNING
Flag to render the warning adornment. |
Fields inherited from class org.eclipse.jface.resource.ImageDescriptor |
DEFAULT_IMAGE_DATA |
Constructor Summary | |
JavaElementImageDescriptor(ImageDescriptor baseImage,
int flags,
Point size)
Creates a new JavaElementImageDescriptor. |
Method Summary | |
protected void | drawCompositeImage(int width,
int height)
|
boolean | equals(Object object)
|
int | getAdronments()
Returns the current adornments. |
Point | getImageSize()
Returns the size of the image created by calling createImage(). |
protected Point | getSize()
|
int | hashCode()
|
void | setAdornments(int adornments)
Sets the descriptors adornments. |
void | setImageSize(Point size)
Sets the size of the image created by calling createImage(). |
Methods inherited from class org.eclipse.jface.resource.CompositeImageDescriptor |
drawImage, getImageData |
Methods inherited from class org.eclipse.jface.resource.ImageDescriptor |
createFromFile, createFromURL, createImage, createImage, createImage, createImage, getMissingImageDescriptor |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int ABSTRACT
public static final int FINAL
public static final int SYNCHRONIZED
public static final int STATIC
public static final int RUNNABLE
public static final int WARNING
public static final int ERROR
public static final int OVERRIDES
public static final int IMPLEMENTS
public static final int CONSTRUCTOR
public static final int DEPRECATED
Constructor Detail |
public JavaElementImageDescriptor(ImageDescriptor baseImage, int flags, Point size)
Method Detail |
public void setAdornments(int adornments)
public int getAdronments()
public void setImageSize(Point size)
public Point getImageSize()
protected Point getSize()
public boolean equals(Object object)
public int hashCode()
protected void drawCompositeImage(int width, int height)
|
Eclipse JDT Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |