Package com.iizix.swt
Class TTableItem
java.lang.Object
org.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Item
org.eclipse.swt.widgets.TableItem
com.iizix.swt.TTableItem
public class TTableItem extends org.eclipse.swt.widgets.TableItem
Text table item with corrections for image bounds (bug fix for Windows).
- Author:
- Christopher Mindus
Constructor Summary
ConstructorDescriptionTTableItem
(org.eclipse.swt.widgets.Table parent, int style, int index) Constructor.Method Summary
Modifier and TypeMethodDescriptionprotected void
Overridden to be able to subclass.org.eclipse.swt.graphics.Rectangle
getImageBounds
(int index) Error image bounds corrected.org.eclipse.swt.graphics.Rectangle
getTextBounds
(int index) Error in text bounds corrected.Methods inherited from class org.eclipse.swt.widgets.TableItem
getBackground, getBackground, getBounds, getBounds, getChecked, getFont, getFont, getForeground, getForeground, getGrayed, getImage, getImage, getImageIndent, getParent, getText, getText, setBackground, setBackground, setChecked, setFont, setFont, setForeground, setForeground, setGrayed, setImage, setImage, setImage, setImageIndent, setText, setText, setText
Methods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString
Constructor Details
TTableItem
public TTableItem(org.eclipse.swt.widgets.Table parent, int style, int index) Constructor.
Method Details
checkSubclass
protected void checkSubclass()Overridden to be able to subclass.- Overrides:
checkSubclass
in classorg.eclipse.swt.widgets.TableItem
getImageBounds
public org.eclipse.swt.graphics.Rectangle getImageBounds(int index) Error image bounds corrected.- Overrides:
getImageBounds
in classorg.eclipse.swt.widgets.TableItem
getTextBounds
public org.eclipse.swt.graphics.Rectangle getTextBounds(int index) Error in text bounds corrected.- Overrides:
getTextBounds
in classorg.eclipse.swt.widgets.TableItem