Class TableComboViewerRow
- java.lang.Object
-
- org.eclipse.jface.viewers.ViewerRow
-
- org.eclipse.nebula.jface.tablecomboviewer.TableComboViewerRow
-
- All Implemented Interfaces:
java.lang.Cloneable
public class TableComboViewerRow extends org.eclipse.jface.viewers.ViewerRow
-
-
Field Summary
Fields Modifier and Type Field Description private org.eclipse.swt.widgets.TableItemitem
-
Constructor Summary
Constructors Constructor Description TableComboViewerRow(org.eclipse.swt.widgets.TableItem item)Create a new instance of the receiver from item.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()org.eclipse.swt.graphics.ColorgetBackground(int columnIndex)org.eclipse.swt.graphics.RectanglegetBounds()org.eclipse.swt.graphics.RectanglegetBounds(int columnIndex)intgetColumnCount()org.eclipse.swt.widgets.ControlgetControl()intgetCreationIndex(int visualIndex)java.lang.ObjectgetElement()org.eclipse.swt.graphics.FontgetFont(int columnIndex)org.eclipse.swt.graphics.ColorgetForeground(int columnIndex)org.eclipse.swt.graphics.ImagegetImage(int columnIndex)org.eclipse.swt.graphics.RectanglegetImageBounds(int index)org.eclipse.swt.widgets.WidgetgetItem()org.eclipse.jface.viewers.ViewerRowgetNeighbor(int direction, boolean sameLevel)private org.eclipse.jface.viewers.ViewerRowgetRowAbove()private org.eclipse.jface.viewers.ViewerRowgetRowBelow()java.lang.StringgetText(int columnIndex)org.eclipse.swt.graphics.RectanglegetTextBounds(int index)org.eclipse.jface.viewers.TreePathgetTreePath()intgetVisualIndex(int creationIndex)private booleanhasColumns()private booleanisValidOrderIndex(int currentIndex)protected booleanscrollCellIntoView(int columnIndex)voidsetBackground(int columnIndex, org.eclipse.swt.graphics.Color color)voidsetFont(int columnIndex, org.eclipse.swt.graphics.Font font)voidsetForeground(int columnIndex, org.eclipse.swt.graphics.Color color)voidsetImage(int columnIndex, org.eclipse.swt.graphics.Image image)(package private) voidsetItem(org.eclipse.swt.widgets.TableItem item)voidsetText(int columnIndex, java.lang.String text)
-
-
-
Method Detail
-
getBounds
public org.eclipse.swt.graphics.Rectangle getBounds(int columnIndex)
- Specified by:
getBoundsin classorg.eclipse.jface.viewers.ViewerRow
-
getBounds
public org.eclipse.swt.graphics.Rectangle getBounds()
- Specified by:
getBoundsin classorg.eclipse.jface.viewers.ViewerRow
-
getItem
public org.eclipse.swt.widgets.Widget getItem()
- Specified by:
getItemin classorg.eclipse.jface.viewers.ViewerRow
-
setItem
void setItem(org.eclipse.swt.widgets.TableItem item)
-
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCountin classorg.eclipse.jface.viewers.ViewerRow
-
getBackground
public org.eclipse.swt.graphics.Color getBackground(int columnIndex)
- Specified by:
getBackgroundin classorg.eclipse.jface.viewers.ViewerRow
-
getFont
public org.eclipse.swt.graphics.Font getFont(int columnIndex)
- Specified by:
getFontin classorg.eclipse.jface.viewers.ViewerRow
-
getForeground
public org.eclipse.swt.graphics.Color getForeground(int columnIndex)
- Specified by:
getForegroundin classorg.eclipse.jface.viewers.ViewerRow
-
getImage
public org.eclipse.swt.graphics.Image getImage(int columnIndex)
- Specified by:
getImagein classorg.eclipse.jface.viewers.ViewerRow
-
getText
public java.lang.String getText(int columnIndex)
- Specified by:
getTextin classorg.eclipse.jface.viewers.ViewerRow
-
setBackground
public void setBackground(int columnIndex, org.eclipse.swt.graphics.Color color)- Specified by:
setBackgroundin classorg.eclipse.jface.viewers.ViewerRow
-
setFont
public void setFont(int columnIndex, org.eclipse.swt.graphics.Font font)- Specified by:
setFontin classorg.eclipse.jface.viewers.ViewerRow
-
setForeground
public void setForeground(int columnIndex, org.eclipse.swt.graphics.Color color)- Specified by:
setForegroundin classorg.eclipse.jface.viewers.ViewerRow
-
setImage
public void setImage(int columnIndex, org.eclipse.swt.graphics.Image image)- Specified by:
setImagein classorg.eclipse.jface.viewers.ViewerRow
-
setText
public void setText(int columnIndex, java.lang.String text)- Specified by:
setTextin classorg.eclipse.jface.viewers.ViewerRow
-
getControl
public org.eclipse.swt.widgets.Control getControl()
- Specified by:
getControlin classorg.eclipse.jface.viewers.ViewerRow
-
getNeighbor
public org.eclipse.jface.viewers.ViewerRow getNeighbor(int direction, boolean sameLevel)- Specified by:
getNeighborin classorg.eclipse.jface.viewers.ViewerRow
-
getRowAbove
private org.eclipse.jface.viewers.ViewerRow getRowAbove()
-
getRowBelow
private org.eclipse.jface.viewers.ViewerRow getRowBelow()
-
getTreePath
public org.eclipse.jface.viewers.TreePath getTreePath()
- Specified by:
getTreePathin classorg.eclipse.jface.viewers.ViewerRow
-
clone
public java.lang.Object clone()
- Specified by:
clonein classorg.eclipse.jface.viewers.ViewerRow
-
getElement
public java.lang.Object getElement()
- Specified by:
getElementin classorg.eclipse.jface.viewers.ViewerRow
-
getVisualIndex
public int getVisualIndex(int creationIndex)
- Overrides:
getVisualIndexin classorg.eclipse.jface.viewers.ViewerRow
-
getCreationIndex
public int getCreationIndex(int visualIndex)
- Overrides:
getCreationIndexin classorg.eclipse.jface.viewers.ViewerRow
-
getTextBounds
public org.eclipse.swt.graphics.Rectangle getTextBounds(int index)
- Overrides:
getTextBoundsin classorg.eclipse.jface.viewers.ViewerRow
-
getImageBounds
public org.eclipse.swt.graphics.Rectangle getImageBounds(int index)
- Overrides:
getImageBoundsin classorg.eclipse.jface.viewers.ViewerRow
-
hasColumns
private boolean hasColumns()
-
isValidOrderIndex
private boolean isValidOrderIndex(int currentIndex)
-
scrollCellIntoView
protected boolean scrollCellIntoView(int columnIndex)
- Overrides:
scrollCellIntoViewin classorg.eclipse.jface.viewers.ViewerRow
-
-