public abstract class AbstractSWTWidget extends org.eclipse.swt.widgets.Canvas implements org.eclipse.swt.events.PaintListener, SWTToolkitComponent
ToolkitComponent that can be painted toolkit independent.
Custom components should not be inherited from this class, but from AbstractSWTComposite since that class
does not inherit from Canvas.
| Constructor and Description |
|---|
AbstractSWTWidget(TICComponent ticComponent,
org.eclipse.swt.widgets.Composite parent,
int style) |
| Modifier and Type | Method and Description |
|---|---|
TICComponent |
getIndependentComponent()
Returns the
TICComponent that is displayed by this GUI element. |
drawBackground, getCaret, getIME, scroll, setCaret, setFont, setIMEchanged, checkSubclass, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabListcomputeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBaraddControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, updateaddDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitassignSize, getLocationInParent, getSWTComponent, getTargetToolkit, getToolkitSize, isFocusOwner, repaint, requestFocuspublic AbstractSWTWidget(TICComponent ticComponent, org.eclipse.swt.widgets.Composite parent, int style)
public TICComponent getIndependentComponent()
ToolkitComponentTICComponent that is displayed by this GUI element.getIndependentComponent in interface ToolkitComponent