Package com.iizix.swt

Class 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

      Constructors 
      ConstructorDescription
      TTableItem​(org.eclipse.swt.widgets.Table parent, int style, int index)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TTableItem

        public TTableItem​(org.eclipse.swt.widgets.Table parent,
                          int style,
                          int index)
        Constructor.
    • Method Detail

      • checkSubclass

        protected void checkSubclass()
        Overridden to be able to subclass.
        Overrides:
        checkSubclass in class org.eclipse.swt.widgets.TableItem
      • getImageBounds

        public org.eclipse.swt.graphics.Rectangle getImageBounds​(int index)
        Error image bounds corrected.
        Overrides:
        getImageBounds in class org.eclipse.swt.widgets.TableItem
      • getTextBounds

        public org.eclipse.swt.graphics.Rectangle getTextBounds​(int index)
        Error in text bounds corrected.
        Overrides:
        getTextBounds in class org.eclipse.swt.widgets.TableItem