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

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

Introduction

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

The text is from its open source code.

Field

intABOVE
Constant denoting the cell above current one (value is 1).
intBELOW
Constant denoting the cell below current one (value is 2).
intLEFT
Constant denoting the cell to the left of the current one (value is 4).
intRIGHT
Constant denoting the cell to the right of the current one (value is 8).

Method

booleanequals(Object obj)
ColorgetBackground()
Gets the background color of the cell.
RectanglegetBounds()
Get the bounds of the cell.
intgetColumnIndex()
Get the index of the cell.
ControlgetControl()
Get the control for this cell.
ObjectgetElement()
Get the element this row represents.
FontgetFont()
Gets the font of the cell.
ColorgetForeground()
Gets the foreground color of the cell.
ImagegetImage()
Return the Image for the cell.
RectanglegetImageBounds()
Returns the location and bounds of the area where the image is drawn
WidgetgetItem()
Return the item for the receiver.
ViewerCellgetNeighbor(int directionMask, boolean sameLevel)
Returns the specified neighbor of this cell, or null if no neighbor exists in the given direction.
StyleRange[]getStyleRanges()
Returns the style ranges to be applied on the text label or null if no style ranges have been set.
StringgetText()
Return the text for the cell.
RectanglegetTextBounds()
The location and bounds of the area where the text is drawn depends on various things (image displayed, control with SWT.CHECK)
ViewerRowgetViewerRow()
intgetVisualIndex()
Get the current index.
booleanscrollIntoView()
Scroll the cell into view
voidsetBackground(Color background)
Set the background color of the cell.
voidsetFont(Font font)
Set the font of the cell.
voidsetForeground(Color foreground)
Set the foreground color of the cell.
voidsetImage(Image image)
Set the Image for the cell.
voidsetStyleRanges(StyleRange[] styleRanges)
Set the style ranges to be applied on the text label Note: Requires StyledCellLabelProvider with owner draw enabled.
voidsetText(String text)
Set the text for the cell.