Java org.eclipse.jface.viewers IDecoration fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jface.viewers IDecoration fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jface.viewers IDecoration.

The text is from its open source code.

Implementation

org.eclipse.jface.viewers.IDecoration has the following implementations.
Click this link to see all its implementation.

Field

intTOP_LEFT
Constants for placement of image decorations.
intTOP_RIGHT
Constant for the top right quadrant.
intBOTTOM_LEFT
Constant for the bottom left quadrant.
intBOTTOM_RIGHT
Constant for the bottom right quadrant.
intUNDERLAY
Constant for the underlay.
intREPLACE
Constant for replacing the original image.
StringENABLE_REPLACE
Constant that is used as the property key on an IDecorationContext .

Constructor

Method

voidaddOverlay(ImageDescriptor overlay, int quadrant)
Adds an overlay to the element's image.
voidaddOverlay(ImageDescriptor overlay)
Adds an overlay to the element's image.
voidaddPrefix(String prefix)
Adds a prefix to the element's label.
voidaddSuffix(String suffix)
Adds a suffix to the element's label.
IDecorationContextgetDecorationContext()
Return the decoration context in which this decoration will be applied.
voidsetBackgroundColor(Color color)
Set the background color for this decoration.
voidsetFont(Font font)
Set the font for this decoration.
voidsetForegroundColor(Color color)
Set the foreground color for this decoration.