Class GalleryViewerRow
- java.lang.Object
-
- org.eclipse.jface.viewers.ViewerRow
-
- org.eclipse.nebula.jface.galleryviewer.GalleryViewerRow
-
- All Implemented Interfaces:
java.lang.Cloneable
public class GalleryViewerRow extends org.eclipse.jface.viewers.ViewerRowViewerRow adapter for the Nebula Gallery widget.- Since:
- Dec 5, 2007
-
-
Field Summary
Fields Modifier and Type Field Description protected GalleryItemitem
-
Constructor Summary
Constructors Constructor Description GalleryViewerRow(GalleryItem item)Constructs a ViewerRow adapter for a GalleryItem.
-
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()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.widgets.WidgetgetItem()org.eclipse.jface.viewers.ViewerRowgetNeighbor(int direction, boolean sameLevel)protected org.eclipse.jface.viewers.ViewerRowgetRowAbove()protected org.eclipse.jface.viewers.ViewerRowgetRowBelow()java.lang.StringgetText(int columnIndex)org.eclipse.jface.viewers.TreePathgetTreePath()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)voidsetItem(GalleryItem item)voidsetText(int columnIndex, java.lang.String text)
-
-
-
Field Detail
-
item
protected GalleryItem item
-
-
Constructor Detail
-
GalleryViewerRow
public GalleryViewerRow(GalleryItem item)
Constructs a ViewerRow adapter for a GalleryItem.- Parameters:
item- the GalleryItem to adapt
-
-
Method Detail
-
setItem
public void setItem(GalleryItem item)
-
clone
public java.lang.Object clone()
- Specified by:
clonein classorg.eclipse.jface.viewers.ViewerRow- See Also:
ViewerRow.clone()
-
getBackground
public org.eclipse.swt.graphics.Color getBackground(int columnIndex)
- Specified by:
getBackgroundin classorg.eclipse.jface.viewers.ViewerRow- See Also:
ViewerRow.getBackground(int)
-
getBounds
public org.eclipse.swt.graphics.Rectangle getBounds()
- Specified by:
getBoundsin classorg.eclipse.jface.viewers.ViewerRow- See Also:
ViewerRow.getBounds()
-
getBounds
public org.eclipse.swt.graphics.Rectangle getBounds(int columnIndex)
- Specified by:
getBoundsin classorg.eclipse.jface.viewers.ViewerRow- See Also:
ViewerRow.getBounds(int)
-
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCountin classorg.eclipse.jface.viewers.ViewerRow- See Also:
ViewerRow.getColumnCount()
-
getControl
public org.eclipse.swt.widgets.Control getControl()
- Specified by:
getControlin classorg.eclipse.jface.viewers.ViewerRow- See Also:
ViewerRow.getControl()
-
getElement
public java.lang.Object getElement()
- Specified by:
getElementin classorg.eclipse.jface.viewers.ViewerRow- See Also:
ViewerRow.getElement()
-
getFont
public org.eclipse.swt.graphics.Font getFont(int columnIndex)
- Specified by:
getFontin classorg.eclipse.jface.viewers.ViewerRow- See Also:
ViewerRow.getFont(int)
-
getForeground
public org.eclipse.swt.graphics.Color getForeground(int columnIndex)
- Specified by:
getForegroundin classorg.eclipse.jface.viewers.ViewerRow- See Also:
ViewerRow.getForeground(int)
-
getImage
public org.eclipse.swt.graphics.Image getImage(int columnIndex)
- Specified by:
getImagein classorg.eclipse.jface.viewers.ViewerRow- See Also:
ViewerRow.getImage(int)
-
getItem
public org.eclipse.swt.widgets.Widget getItem()
- Specified by:
getItemin classorg.eclipse.jface.viewers.ViewerRow- See Also:
ViewerRow.getItem()
-
getNeighbor
public org.eclipse.jface.viewers.ViewerRow getNeighbor(int direction, boolean sameLevel)- Specified by:
getNeighborin classorg.eclipse.jface.viewers.ViewerRow- See Also:
ViewerRow.getNeighbor(int, boolean)
-
getRowAbove
protected org.eclipse.jface.viewers.ViewerRow getRowAbove()
-
getRowBelow
protected org.eclipse.jface.viewers.ViewerRow getRowBelow()
-
getText
public java.lang.String getText(int columnIndex)
- Specified by:
getTextin classorg.eclipse.jface.viewers.ViewerRow- See Also:
ViewerRow.getText(int)
-
getTreePath
public org.eclipse.jface.viewers.TreePath getTreePath()
- Specified by:
getTreePathin classorg.eclipse.jface.viewers.ViewerRow- See Also:
ViewerRow.getTreePath()
-
setBackground
public void setBackground(int columnIndex, org.eclipse.swt.graphics.Color color)- Specified by:
setBackgroundin 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:
setFontin 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:
setForegroundin 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:
setImagein 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:
setTextin classorg.eclipse.jface.viewers.ViewerRow- See Also:
ViewerRow.setText(int, java.lang.String)
-
-