public class GalleryViewerRow
extends org.eclipse.jface.viewers.ViewerRow
Constructor | Description |
---|---|
GalleryViewerRow(GalleryItem item) |
Constructs a ViewerRow adapter for a GalleryItem.
|
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() |
|
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.widgets.Widget |
getItem() |
|
org.eclipse.jface.viewers.ViewerRow |
getNeighbor(int direction,
boolean sameLevel) |
|
java.lang.String |
getText(int columnIndex) |
|
org.eclipse.jface.viewers.TreePath |
getTreePath() |
|
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) |
|
void |
setItem(GalleryItem item) |
|
void |
setText(int columnIndex,
java.lang.String text) |
public GalleryViewerRow(GalleryItem item)
item
- the GalleryItem to adaptpublic void setItem(GalleryItem item)
public java.lang.Object clone()
clone
in class org.eclipse.jface.viewers.ViewerRow
public org.eclipse.swt.graphics.Color getBackground(int columnIndex)
getBackground
in class org.eclipse.jface.viewers.ViewerRow
public org.eclipse.swt.graphics.Rectangle getBounds()
getBounds
in class org.eclipse.jface.viewers.ViewerRow
public org.eclipse.swt.graphics.Rectangle getBounds(int columnIndex)
getBounds
in class org.eclipse.jface.viewers.ViewerRow
public int getColumnCount()
getColumnCount
in class org.eclipse.jface.viewers.ViewerRow
public org.eclipse.swt.widgets.Control getControl()
getControl
in class org.eclipse.jface.viewers.ViewerRow
public java.lang.Object getElement()
getElement
in class org.eclipse.jface.viewers.ViewerRow
public org.eclipse.swt.graphics.Font getFont(int columnIndex)
getFont
in class org.eclipse.jface.viewers.ViewerRow
public org.eclipse.swt.graphics.Color getForeground(int columnIndex)
getForeground
in class org.eclipse.jface.viewers.ViewerRow
public org.eclipse.swt.graphics.Image getImage(int columnIndex)
getImage
in class org.eclipse.jface.viewers.ViewerRow
public org.eclipse.swt.widgets.Widget getItem()
getItem
in class org.eclipse.jface.viewers.ViewerRow
public org.eclipse.jface.viewers.ViewerRow getNeighbor(int direction, boolean sameLevel)
getNeighbor
in class org.eclipse.jface.viewers.ViewerRow
public java.lang.String getText(int columnIndex)
getText
in class org.eclipse.jface.viewers.ViewerRow
public org.eclipse.jface.viewers.TreePath getTreePath()
getTreePath
in class org.eclipse.jface.viewers.ViewerRow
public void setBackground(int columnIndex, org.eclipse.swt.graphics.Color color)
setBackground
in class org.eclipse.jface.viewers.ViewerRow
public void setFont(int columnIndex, org.eclipse.swt.graphics.Font font)
setFont
in class org.eclipse.jface.viewers.ViewerRow
public void setForeground(int columnIndex, org.eclipse.swt.graphics.Color color)
setForeground
in class org.eclipse.jface.viewers.ViewerRow
public void setImage(int columnIndex, org.eclipse.swt.graphics.Image image)
setImage
in class org.eclipse.jface.viewers.ViewerRow
public void setText(int columnIndex, java.lang.String text)
setText
in class org.eclipse.jface.viewers.ViewerRow