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.TableItemText table item with corrections for image bounds (bug fix for Windows).- Author:
- Christopher Mindus
Constructor Summary
Constructors Constructor Description TTableItem(org.eclipse.swt.widgets.Table parent, int style, int index)Constructor.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckSubclass()Overridden to be able to subclass.org.eclipse.swt.graphics.RectanglegetImageBounds(int index)Error image bounds corrected.org.eclipse.swt.graphics.RectanglegetTextBounds(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
Method Detail
checkSubclass
protected void checkSubclass()
Overridden to be able to subclass.- Overrides:
checkSubclassin classorg.eclipse.swt.widgets.TableItem
getImageBounds
public org.eclipse.swt.graphics.Rectangle getImageBounds(int index)
Error image bounds corrected.- Overrides:
getImageBoundsin classorg.eclipse.swt.widgets.TableItem
getTextBounds
public org.eclipse.swt.graphics.Rectangle getTextBounds(int index)
Error in text bounds corrected.- Overrides:
getTextBoundsin classorg.eclipse.swt.widgets.TableItem