Class GridViewerRow
java.lang.Object
ViewerRow
org.eclipse.nebula.jface.gridviewer.GridViewerRow
public class GridViewerRow
extends ViewerRow
GridViewerRow is the concrete implementation of the part that represents items in a Grid.
-
Method Summary
Modifier and TypeMethodDescriptionclone()
getBackground
(int columnIndex) getBounds
(int columnIndex) int
int
getCreationIndex
(int visualIndex) getFont
(int columnIndex) getForeground
(int columnIndex) getImage
(int columnIndex) getItem()
ViewerRow
getNeighbor
(int direction, boolean sameLevel) getText
(int columnIndex) TreePath
int
getVisualIndex
(int creationIndex) protected boolean
isColumnVisible
(int columnIndex) Check if the column of the cell is part of is visiblevoid
setBackground
(int columnIndex, Color color) void
void
setForeground
(int columnIndex, Color color) void
void
-
Method Details
-
getBounds
-
getBounds
-
getColumnCount
public int getColumnCount() -
getBackground
-
getFont
-
getForeground
-
getImage
-
getText
-
setBackground
-
setFont
-
setForeground
-
setImage
-
setText
-
getControl
-
getNeighbor
public ViewerRow getNeighbor(int direction, boolean sameLevel) -
getTreePath
public TreePath getTreePath() -
clone
-
getElement
-
getItem
-
getVisualIndex
public int getVisualIndex(int creationIndex) -
getCreationIndex
public int getCreationIndex(int visualIndex) -
isColumnVisible
protected boolean isColumnVisible(int columnIndex) Check if the column of the cell is part of is visible- Parameters:
columnIndex
- the column index- Returns:
true
if the column is visible
-