Class CTreeComboViewerRow
java.lang.Object
org.eclipse.jface.viewers.ViewerRow
org.eclipse.nebula.widgets.ctreecombo.viewer.CTreeComboViewerRow
- All Implemented Interfaces:
java.lang.Cloneable
public class CTreeComboViewerRow
extends org.eclipse.jface.viewers.ViewerRow
CTreeComboViewerRow represents items in a CTreeCombo widget.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CTreeComboViewerRow(CTreeComboItem item)
Create a new instance of the receiver. -
Method Summary
Modifier and Type Method Description java.lang.Object
clone()
org.eclipse.swt.graphics.Color
getBackground(int columnIndex)
org.eclipse.swt.graphics.Rectangle
getBounds()
org.eclipse.swt.graphics.Rectangle
getBounds(int columnIndex)
int
getColumnCount()
org.eclipse.swt.widgets.Control
getControl()
int
getCreationIndex(int visualIndex)
java.lang.Object
getElement()
org.eclipse.swt.graphics.Font
getFont(int columnIndex)
org.eclipse.swt.graphics.Color
getForeground(int columnIndex)
org.eclipse.swt.graphics.Image
getImage(int columnIndex)
org.eclipse.swt.graphics.Rectangle
getImageBounds(int index)
org.eclipse.swt.widgets.Widget
getItem()
org.eclipse.jface.viewers.ViewerRow
getNeighbor(int direction, boolean sameLevel)
java.lang.String
getText(int columnIndex)
org.eclipse.swt.graphics.Rectangle
getTextBounds(int index)
org.eclipse.jface.viewers.TreePath
getTreePath()
int
getVisualIndex(int creationIndex)
void
setBackground(int columnIndex, org.eclipse.swt.graphics.Color color)
void
setFont(int columnIndex, org.eclipse.swt.graphics.Font font)
void
setForeground(int columnIndex, org.eclipse.swt.graphics.Color color)
void
setImage(int columnIndex, org.eclipse.swt.graphics.Image image)
(package private) void
setItem(CTreeComboItem item)
void
setText(int columnIndex, java.lang.String text)
-
Constructor Details
-
CTreeComboViewerRow
CTreeComboViewerRow(CTreeComboItem item)Create a new instance of the receiver.- Parameters:
item
-
-
-
Method Details
-
getBounds
public org.eclipse.swt.graphics.Rectangle getBounds(int columnIndex)- Specified by:
getBounds
in classorg.eclipse.jface.viewers.ViewerRow
- See Also:
ViewerRow.getBounds(int)
-
getBounds
public org.eclipse.swt.graphics.Rectangle getBounds()- Specified by:
getBounds
in classorg.eclipse.jface.viewers.ViewerRow
- See Also:
ViewerRow.getBounds()
-
getColumnCount
public int getColumnCount()- Specified by:
getColumnCount
in classorg.eclipse.jface.viewers.ViewerRow
- See Also:
ViewerRow.getColumnCount()
-
getItem
public org.eclipse.swt.widgets.Widget getItem()- Specified by:
getItem
in classorg.eclipse.jface.viewers.ViewerRow
- See Also:
ViewerRow.getItem()
-
getBackground
public org.eclipse.swt.graphics.Color getBackground(int columnIndex)- Specified by:
getBackground
in classorg.eclipse.jface.viewers.ViewerRow
- See Also:
ViewerRow.getBackground(int)
-
getFont
public org.eclipse.swt.graphics.Font getFont(int columnIndex)- Specified by:
getFont
in classorg.eclipse.jface.viewers.ViewerRow
- See Also:
ViewerRow.getFont(int)
-
getForeground
public org.eclipse.swt.graphics.Color getForeground(int columnIndex)- Specified by:
getForeground
in classorg.eclipse.jface.viewers.ViewerRow
- See Also:
ViewerRow.getForeground(int)
-
getImage
public org.eclipse.swt.graphics.Image getImage(int columnIndex)- Specified by:
getImage
in classorg.eclipse.jface.viewers.ViewerRow
- See Also:
ViewerRow.getImage(int)
-
getText
public java.lang.String getText(int columnIndex)- Specified by:
getText
in classorg.eclipse.jface.viewers.ViewerRow
- See Also:
ViewerRow.getText(int)
-
setBackground
public void setBackground(int columnIndex, org.eclipse.swt.graphics.Color color)- Specified by:
setBackground
in classorg.eclipse.jface.viewers.ViewerRow
- See Also:
ViewerRow.setBackground(int, org.eclipse.swt.graphics.Color)
-
setFont
public void setFont(int columnIndex, org.eclipse.swt.graphics.Font font)- Specified by:
setFont
in classorg.eclipse.jface.viewers.ViewerRow
- See Also:
ViewerRow.setFont(int, org.eclipse.swt.graphics.Font)
-
setForeground
public void setForeground(int columnIndex, org.eclipse.swt.graphics.Color color)- Specified by:
setForeground
in classorg.eclipse.jface.viewers.ViewerRow
- See Also:
ViewerRow.setForeground(int, org.eclipse.swt.graphics.Color)
-
setImage
public void setImage(int columnIndex, org.eclipse.swt.graphics.Image image)- Specified by:
setImage
in classorg.eclipse.jface.viewers.ViewerRow
- See Also:
ViewerRow.setImage(int, org.eclipse.swt.graphics.Image)
-
setText
public void setText(int columnIndex, java.lang.String text)- Specified by:
setText
in classorg.eclipse.jface.viewers.ViewerRow
- See Also:
ViewerRow.setText(int, java.lang.String)
-
getControl
public org.eclipse.swt.widgets.Control getControl()- Specified by:
getControl
in classorg.eclipse.jface.viewers.ViewerRow
- See Also:
ViewerRow.getControl()
-
getNeighbor
public org.eclipse.jface.viewers.ViewerRow getNeighbor(int direction, boolean sameLevel)- Specified by:
getNeighbor
in classorg.eclipse.jface.viewers.ViewerRow
- See Also:
ViewerRow.getNeighbor(int, boolean)
-
getTreePath
public org.eclipse.jface.viewers.TreePath getTreePath()- Specified by:
getTreePath
in classorg.eclipse.jface.viewers.ViewerRow
- See Also:
ViewerRow.getTreePath()
-
setItem
-
clone
public java.lang.Object clone()- Specified by:
clone
in classorg.eclipse.jface.viewers.ViewerRow
- See Also:
ViewerRow.clone()
-
getElement
public java.lang.Object getElement()- Specified by:
getElement
in classorg.eclipse.jface.viewers.ViewerRow
- See Also:
ViewerRow.getElement()
-
getVisualIndex
public int getVisualIndex(int creationIndex)- Overrides:
getVisualIndex
in classorg.eclipse.jface.viewers.ViewerRow
- See Also:
ViewerRow.getVisualIndex(int)
-
getCreationIndex
public int getCreationIndex(int visualIndex)- Overrides:
getCreationIndex
in classorg.eclipse.jface.viewers.ViewerRow
- See Also:
ViewerRow.getCreationIndex(int)
-
getTextBounds
public org.eclipse.swt.graphics.Rectangle getTextBounds(int index)- Overrides:
getTextBounds
in classorg.eclipse.jface.viewers.ViewerRow
- See Also:
ViewerRow.getTextBounds(int)
-
getImageBounds
public org.eclipse.swt.graphics.Rectangle getImageBounds(int index)- Overrides:
getImageBounds
in classorg.eclipse.jface.viewers.ViewerRow
- See Also:
ViewerRow.getImageBounds(int)
-