Example usage for Java org.eclipse.jface.viewers ViewerCell fields, constructors, methods, implement or subclass
The text is from its open source code.
int | ABOVE Constant denoting the cell above current one (value is 1). |
int | BELOW Constant denoting the cell below current one (value is 2). |
int | LEFT Constant denoting the cell to the left of the current one (value is 4). |
int | RIGHT Constant denoting the cell to the right of the current one (value is 8). |
boolean | equals(Object obj) |
Color | getBackground() Gets the background color of the cell. |
Rectangle | getBounds() Get the bounds of the cell. |
int | getColumnIndex() Get the index of the cell. |
Control | getControl() Get the control for this cell. |
Object | getElement() Get the element this row represents. |
Font | getFont() Gets the font of the cell. |
Color | getForeground() Gets the foreground color of the cell. |
Image | getImage() Return the Image for the cell. |
Rectangle | getImageBounds() Returns the location and bounds of the area where the image is drawn |
Widget | getItem() Return the item for the receiver. |
ViewerCell | getNeighbor(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. |
String | getText() Return the text for the cell. |
Rectangle | getTextBounds() The location and bounds of the area where the text is drawn depends on various things (image displayed, control with SWT.CHECK) |
ViewerRow | getViewerRow() |
int | getVisualIndex() Get the current index. |
boolean | scrollIntoView() Scroll the cell into view |
void | setBackground(Color background) Set the background color of the cell. |
void | setFont(Font font) Set the font of the cell. |
void | setForeground(Color foreground) Set the foreground color of the cell. |
void | setImage(Image image) Set the Image for the cell. |
void | setStyleRanges(StyleRange[] styleRanges) Set the style ranges to be applied on the text label Note: Requires StyledCellLabelProvider with owner draw enabled. |
void | setText(String text) Set the text for the cell. |