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) intintgetCreationIndex(int visualIndex) getFont(int columnIndex) getForeground(int columnIndex) getImage(int columnIndex) getItem()ViewerRowgetNeighbor(int direction, boolean sameLevel) getText(int columnIndex) TreePathintgetVisualIndex(int creationIndex) protected booleanisColumnVisible(int columnIndex) Check if the column of the cell is part of is visiblevoidsetBackground(int columnIndex, Color color) voidvoidsetForeground(int columnIndex, Color color) voidvoid
-
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:
trueif the column is visible
-