public abstract class AbstractTableOrTreeItemWrapper extends Object
| Constructor and Description | 
|---|
| AbstractTableOrTreeItemWrapper() | 
| Modifier and Type | Method and Description | 
|---|---|
| static AbstractTableOrTreeItemWrapper | create(org.eclipse.swt.widgets.Item item)Create an ItemWrapper from an Item. | 
| abstract org.eclipse.swt.graphics.Rectangle | getBounds()returns the bounds (as Rectangle) of the Item. | 
| Object | getData()Returns the data associated to the Item. | 
| abstract org.eclipse.swt.graphics.Image | getImage(int index)Returns the image stored at the given column index in the receiver, or null if the image has not been
 set or if the column does not exist. | 
| abstract org.eclipse.swt.graphics.Rectangle | getImageBounds(int index)Returns a rectangle describing the size and location relative to its parent of an image at a column in
 the tree or the table. | 
| protected abstract org.eclipse.swt.widgets.Item | getItem()Returns the wrapped Item. | 
| abstract org.eclipse.swt.widgets.Scrollable | getParent()Returns the parent of the Item. | 
| abstract int | getParentColumnCount()Returns the number of columns contained in the receiver. | 
| abstract AbstractTableOrTreeItemWrapper | getParentItem()Returns the parent Item of the receiver. | 
| abstract int | getParentItemHeight()Returns the height of the area which would be used to display the parent item of an Item of the tree or
 the table. | 
| abstract String | getText(int index)Returns the text stored at the given column index in the receiver, or empty string if the text has not
 been set. | 
| abstract org.eclipse.swt.graphics.Rectangle | getTextBounds(int index)Returns a rectangle describing the size and location relative to its parent of the text at a column in
 the tree or the table. | 
public static AbstractTableOrTreeItemWrapper create(org.eclipse.swt.widgets.Item item)
item - the given Item.protected abstract org.eclipse.swt.widgets.Item getItem()
public abstract org.eclipse.swt.graphics.Rectangle getBounds()
public abstract org.eclipse.swt.widgets.Scrollable getParent()
public abstract int getParentColumnCount()
public abstract org.eclipse.swt.graphics.Rectangle getImageBounds(int index)
index - the index that specifies the column.public abstract org.eclipse.swt.graphics.Rectangle getTextBounds(int index)
index - the index that specifies the column.public abstract String getText(int index)
index - the index that specifies the column.public abstract org.eclipse.swt.graphics.Image getImage(int index)
index - the index that specifies the column.public abstract AbstractTableOrTreeItemWrapper getParentItem()
public abstract int getParentItemHeight()
public Object getData()
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.