- _addListener
void _addListener(int eventType, Listener listener)
Undocumented in source. Be warned that the author may not have intended to support it.
- addDisposeListener
void addDisposeListener(DisposeListener listener)
Adds the listener to the collection of listeners who will
be notified when the widget is disposed. When the widget is
disposed, the listener is notified by sending it the
<code>widgetDisposed()</code> message.
- addListener
void addListener(int eventType, Listener listener)
Adds the listener to the collection of listeners who will
be notified when an event of the given type occurs. When the
event does occur in the widget, the listener is notified by
sending it the <code>handleEvent()</code> message. The event
type is one of the event constants defined in class <code>SWT</code>.
- cellDataProc
void cellDataProc(GtkTreeViewColumn* tree_column, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter, void* data)
Undocumented in source. Be warned that the author may not have intended to support it.
- checkOpen
void checkOpen()
Undocumented in source. Be warned that the author may not have intended to support it.
- checkOrientation
void checkOrientation(Widget parent)
Undocumented in source. Be warned that the author may not have intended to support it.
- checkParent
void checkParent(Widget parent)
Throws an exception if the specified widget can not be
used as a parent for the receiver.
- checkSubclass
void checkSubclass()
Checks that this class can be subclassed.
<p>
The SWT class library is intended to be subclassed
only at specific, controlled points (most notably,
<code>Composite</code> and <code>Canvas</code> when
implementing new widgets). This method enforces this
rule unless it is overridden.
</p><p>
<em>IMPORTANT:</em> By providing an implementation of this
method that allows a subclass of a class which does not
normally allow subclassing to be created, the implementer
agrees to be fully responsible for the fact that any such
subclass will likely fail between SWT releases and will be
strongly platform specific. No support is provided for
user-written classes which are implemented in this fashion.
</p><p>
The ability to subclass outside of the allowed SWT classes
is intended purely to enable those not on the SWT development
team to implement patches in order to get around specific
limitations in advance of when those limitations can be
addressed by the team. Subclassing should not be attempted
without an intimate and detailed understanding of the hierarchy.
</p>
- checkWidget
void checkWidget()
Throws an <code>SWTException</code> if the receiver can not
be accessed by the caller. This may include both checks on
the state of the receiver and more generally on the entire
execution context. This method <em>should</em> be called by
widget implementors to enforce the standard SWT invariants.
<p>
Currently, it is an error to invoke any method (other than
<code>isDisposed()</code>) on a widget that has had its
<code>dispose()</code> method called. It is also an error
to call widget methods from any thread that is different
from the thread that created the widget.
</p><p>
In future releases of SWT, there may be more or fewer error
checks and exceptions may be thrown for different reasons.
</p>
- createHandle
void createHandle(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
- createWidget
void createWidget(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
- deregister
void deregister()
Undocumented in source. Be warned that the author may not have intended to support it.
- destroyWidget
void destroyWidget()
Undocumented in source. Be warned that the author may not have intended to support it.
- dispose
void dispose()
Disposes of the operating system resources associated with
the receiver and all its descendants. After this method has
been invoked, the receiver and all descendants will answer
<code>true</code> when sent the message <code>isDisposed()</code>.
Any internal connections between the widgets in the tree will
have been removed to facilitate garbage collection.
<p>
NOTE: This method is not called recursively on the descendants
of the receiver. This means that, widget implementers can not
detect when a widget is being disposed of by re-implementing
this method, but should instead listen for the <code>Dispose</code>
event.
</p>
- error
void error(int code)
Undocumented in source. Be warned that the author may not have intended to support it.
- filterProc
int filterProc(XEvent* xEvent, GdkEvent* gdkEvent, void* data)
Undocumented in source. Be warned that the author may not have intended to support it.
- filters
bool filters(int eventType)
Undocumented in source. Be warned that the author may not have intended to support it.
- fixMnemonic
char[] fixMnemonic(String str, bool replace)
Undocumented in source. Be warned that the author may not have intended to support it.
- fixMnemonic
char[] fixMnemonic(String str)
Undocumented in source. Be warned that the author may not have intended to support it.
- fixedMapProc
int fixedMapProc(GtkWidget* widget)
Undocumented in source. Be warned that the author may not have intended to support it.
- fixedSizeAllocateProc
void fixedSizeAllocateProc(GtkWidget* widget, GtkAllocation* allocationPtr)
Undocumented in source. Be warned that the author may not have intended to support it.
- fontHeight
int fontHeight(PangoFontDescription* font, GtkWidget* widgetHandle)
Undocumented in source. Be warned that the author may not have intended to support it.
- getData
Object getData(String key)
Returns the application defined property of the receiver
with the specified name, or null if it has not been set.
<p>
Applications may have associated arbitrary objects with the
receiver in this fashion. If the objects stored in the
properties need to be notified when the widget is disposed
of, it is the application's responsibility to hook the
Dispose event on the widget and do so.
</p>
- getData
Object getData()
Returns the application defined widget data associated
with the receiver, or null if it has not been set. The
<em>widget data</em> is a single, unnamed field that is
stored with every widget.
<p>
Applications may put arbitrary objects in this field. If
the object stored in the widget data needs to be notified
when the widget is disposed of, it is the application's
responsibility to hook the Dispose event on the widget and
do so.
</p>
- getDataStr
String getDataStr(String key)
Undocumented in source. Be warned that the author may not have intended to support it.
- getDataStr
String getDataStr()
Undocumented in source. Be warned that the author may not have intended to support it.
- getDisplay
Display getDisplay()
Returns the <code>Display</code> that is associated with
the receiver.
<p>
A widget's display is either provided when it is created
(for example, top level <code>Shell</code>s) or is the
same as its parent's display.
</p>
- getListeners
Listener[] getListeners(int eventType)
Returns an array of listeners who will be notified when an event
of the given type occurs. The event type is one of the event constants
defined in class <code>SWT</code>.
- getName
String getName()
Undocumented in source. Be warned that the author may not have intended to support it.
- getNameText
String getNameText()
Undocumented in source. Be warned that the author may not have intended to support it.
- getStyle
int getStyle()
Returns the receiver's style information.
<p>
Note that the value which is returned by this method <em>may
not match</em> the value which was provided to the constructor
when the receiver was created. This can occur when the underlying
operating system does not support a particular combination of
requested styles. For example, if the platform widget used to
implement a particular SWT widget always has scroll bars, the
result of calling this method would always have the
<code>SWT.H_SCROLL</code> and <code>SWT.V_SCROLL</code> bits set.
</p>
- gtk_activate
int gtk_activate(GtkWidget* widget)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_button_press_event
int gtk_button_press_event(GtkWidget* widget, GdkEventButton* event)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_button_release_event
int gtk_button_release_event(GtkWidget* widget, GdkEventButton* event)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_change_value
int gtk_change_value(GtkWidget* widget, int scroll, double value1, void* user_data)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_changed
int gtk_changed(GtkWidget* widget)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_clicked
int gtk_clicked(GtkWidget* widget)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_commit
int gtk_commit(GtkIMContext* imcontext, char* text)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_configure_event
int gtk_configure_event(GtkWidget* widget, ptrdiff_t event)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_day_selected
int gtk_day_selected(GtkWidget* widget)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_delete_event
int gtk_delete_event(GtkWidget* widget, ptrdiff_t event)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_delete_range
int gtk_delete_range(GtkWidget* widget, ptrdiff_t iter1, ptrdiff_t iter2)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_delete_text
int gtk_delete_text(GtkWidget* widget, ptrdiff_t start_pos, ptrdiff_t end_pos)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_enter_notify_event
int gtk_enter_notify_event(GtkWidget* widget, GdkEventCrossing* event)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_event
int gtk_event(GtkWidget* widget, GdkEvent* event)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_event_after
int gtk_event_after(GtkWidget* widget, GdkEvent* event)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_expand_collapse_cursor_row
int gtk_expand_collapse_cursor_row(GtkWidget* widget, ptrdiff_t logical, ptrdiff_t expand, ptrdiff_t open_all)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_expose_event
int gtk_expose_event(GtkWidget* widget, GdkEventExpose* event)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_focus
int gtk_focus(GtkWidget* widget, ptrdiff_t directionType)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_focus_in_event
int gtk_focus_in_event(GtkWidget* widget, GdkEventFocus* event)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_focus_out_event
int gtk_focus_out_event(GtkWidget* widget, GdkEventFocus* event)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_grab_focus
int gtk_grab_focus(GtkWidget* widget)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_hide
int gtk_hide(GtkWidget* widget)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_input
int gtk_input(GtkWidget* widget, ptrdiff_t arg1)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_insert_text
int gtk_insert_text(GtkEditable* widget, char* new_text, ptrdiff_t new_text_length, ptrdiff_t position)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_key_press_event
int gtk_key_press_event(GtkWidget* widget, GdkEventKey* event)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_key_release_event
int gtk_key_release_event(GtkWidget* widget, GdkEventKey* event)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_leave_notify_event
int gtk_leave_notify_event(GtkWidget* widget, GdkEventCrossing* event)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_map
int gtk_map(GtkWidget* widget)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_map_event
int gtk_map_event(GtkWidget* widget, ptrdiff_t event)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_mnemonic_activate
int gtk_mnemonic_activate(GtkWidget* widget, ptrdiff_t arg1)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_month_changed
int gtk_month_changed(GtkWidget* widget)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_motion_notify_event
int gtk_motion_notify_event(GtkWidget* widget, GdkEventMotion* event)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_move_focus
int gtk_move_focus(GtkWidget* widget, ptrdiff_t directionType)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_output
int gtk_output(GtkWidget* widget)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_populate_popup
int gtk_populate_popup(GtkWidget* widget, GtkWidget* menu)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_popup_menu
int gtk_popup_menu(GtkWidget* widget)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_preedit_changed
int gtk_preedit_changed(GtkIMContext* imcontext)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_realize
int gtk_realize(GtkWidget* widget)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_row_activated
void gtk_row_activated(GtkTreeView* tree, GtkTreePath* path, GtkTreeViewColumn* column)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_scroll_child
int gtk_scroll_child(GtkWidget* widget, ptrdiff_t scrollType, ptrdiff_t horizontal)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_scroll_event
int gtk_scroll_event(GtkWidget* widget, GdkEventScroll* event)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_select
int gtk_select(int item)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_show
int gtk_show(GtkWidget* widget)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_show_help
int gtk_show_help(GtkWidget* widget, ptrdiff_t helpType)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_size_allocate
int gtk_size_allocate(GtkWidget* widget, ptrdiff_t allocation)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_style_set
int gtk_style_set(GtkWidget* widget, ptrdiff_t previousStyle)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_switch_page
int gtk_switch_page(GtkWidget* widget, ptrdiff_t page, ptrdiff_t page_num)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_test_collapse_row
int gtk_test_collapse_row(GtkTreeView* tree_view, GtkTreeIter* iter, GtkTreePath* path)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_test_expand_row
int gtk_test_expand_row(GtkTreeView* tree_view, GtkTreeIter* iter, GtkTreePath* path)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_text_buffer_insert_text
int gtk_text_buffer_insert_text(GtkTextBuffer* buffer, GtkTextIter* iter, char* text, ptrdiff_t len)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_timer
int gtk_timer()
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_toggled
int gtk_toggled(int renderer, char* pathStr)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_unmap
int gtk_unmap(GtkWidget* widget)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_unmap_event
int gtk_unmap_event(GtkWidget* widget, ptrdiff_t event)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_unrealize
int gtk_unrealize(GtkWidget* widget)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_value_changed
int gtk_value_changed(int adjustment)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_visibility_notify_event
int gtk_visibility_notify_event(GtkWidget* widget, GdkEventVisibility* event)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_window_state_event
int gtk_window_state_event(GtkWidget* widget, GdkEventWindowState* event)
Undocumented in source. Be warned that the author may not have intended to support it.
- hookEvents
void hookEvents()
Undocumented in source. Be warned that the author may not have intended to support it.
- hooks
bool hooks(int eventType)
Undocumented in source. Be warned that the author may not have intended to support it.
- hoverProc
int hoverProc(GtkWidget* widget)
Undocumented in source. Be warned that the author may not have intended to support it.
- isDisposed
bool isDisposed()
Returns <code>true</code> if the widget has been disposed,
and <code>false</code> otherwise.
<p>
This method gets the dispose state for the widget.
When a widget has been disposed, it is an error to
invoke any other method using the widget.
</p>
- isListening
bool isListening(int eventType)
Returns <code>true</code> if there are any listeners
for the specified event type associated with the receiver,
and <code>false</code> otherwise. The event type is one of
the event constants defined in class <code>SWT</code>.
- isValidSubclass
bool isValidSubclass()
Undocumented in source. Be warned that the author may not have intended to support it.
- isValidThread
bool isValidThread()
Undocumented in source. Be warned that the author may not have intended to support it.
- menuPositionProc
void menuPositionProc(GtkMenu* menu, int* x, int* y, int* push_in, void* user_data)
Undocumented in source. Be warned that the author may not have intended to support it.
- mnemonicHit
bool mnemonicHit(GtkWidget* mnemonicHandle, wchar key)
Undocumented in source. Be warned that the author may not have intended to support it.
- mnemonicMatch
bool mnemonicMatch(GtkWidget* mnemonicHandle, wchar key)
Undocumented in source. Be warned that the author may not have intended to support it.
- modifyStyle
void modifyStyle(GtkWidget* handle, GtkRcStyle* style)
Undocumented in source. Be warned that the author may not have intended to support it.
- notifyListeners
void notifyListeners(int eventType, Event event)
Notifies all of the receiver's listeners for events
of the given type that one such event has occurred by
invoking their <code>handleEvent()</code> method. The
event type is one of the event constants defined in class
<code>SWT</code>.
- paintWindow
GdkWindow* paintWindow()
Undocumented in source. Be warned that the author may not have intended to support it.
- postEvent
void postEvent(int eventType)
Undocumented in source. Be warned that the author may not have intended to support it.
- postEvent
void postEvent(int eventType, Event event)
Undocumented in source. Be warned that the author may not have intended to support it.
- register
void register()
Undocumented in source. Be warned that the author may not have intended to support it.
- release
void release(bool destroy)
Undocumented in source. Be warned that the author may not have intended to support it.
- releaseChildren
void releaseChildren(bool destroy)
Undocumented in source. Be warned that the author may not have intended to support it.
- releaseHandle
void releaseHandle()
Undocumented in source. Be warned that the author may not have intended to support it.
- releaseParent
void releaseParent()
Undocumented in source. Be warned that the author may not have intended to support it.
- releaseWidget
void releaseWidget()
Undocumented in source. Be warned that the author may not have intended to support it.
- removeDisposeListener
void removeDisposeListener(DisposeListener listener)
Removes the listener from the collection of listeners who will
be notified when the widget is disposed.
- removeListener
void removeListener(int eventType, Listener handler)
Removes the listener from the collection of listeners who will
be notified when an event of the given type occurs. The event
type is one of the event constants defined in class <code>SWT</code>.
- removeListener
void removeListener(int eventType, SWTEventListener handler)
Removes the listener from the collection of listeners who will
be notified when an event of the given type occurs.
<p>
<b>IMPORTANT:</b> This method is <em>not</em> part of the SWT
public API. It is marked public only so that it can be shared
within the packages provided by SWT. It should never be
referenced from application code.
</p>
- rendererGetSizeProc
void rendererGetSizeProc(GtkCellRenderer* cell, GtkWidget* widget, GdkRectangle* cell_area, int* x_offset, int* y_offset, int* width, int* height)
Undocumented in source. Be warned that the author may not have intended to support it.
- rendererRenderProc
void rendererRenderProc(GtkCellRenderer* cell, GdkDrawable* window, GtkWidget* widget, GdkRectangle* background_area, GdkRectangle* cell_area, GdkRectangle* expose_area, int flags)
Undocumented in source. Be warned that the author may not have intended to support it.
- sendEvent
void sendEvent(Event event)
Undocumented in source. Be warned that the author may not have intended to support it.
- sendEvent
void sendEvent(int eventType)
Undocumented in source. Be warned that the author may not have intended to support it.
- sendEvent
void sendEvent(int eventType, Event event)
Undocumented in source. Be warned that the author may not have intended to support it.
- sendEvent
void sendEvent(int eventType, Event event, bool send)
Undocumented in source. Be warned that the author may not have intended to support it.
- sendIMKeyEvent
char[] sendIMKeyEvent(int type, GdkEventKey* keyEvent, char[] chars)
Undocumented in source. Be warned that the author may not have intended to support it.
- sendKeyEvent
bool sendKeyEvent(int type, GdkEventKey* keyEvent)
Undocumented in source. Be warned that the author may not have intended to support it.
- setData
void setData(Object data)
Sets the application defined widget data associated
with the receiver to be the argument. The <em>widget
data</em> is a single, unnamed field that is stored
with every widget.
<p>
Applications may put arbitrary objects in this field. If
the object stored in the widget data needs to be notified
when the widget is disposed of, it is the application's
responsibility to hook the Dispose event on the widget and
do so.
</p>
- setData
void setData(String key, Object value)
Sets the application defined property of the receiver
with the specified name to the given value.
<p>
Applications may associate arbitrary objects with the
receiver in this fashion. If the objects stored in the
properties need to be notified when the widget is disposed
of, it is the application's responsibility to hook the
Dispose event on the widget and do so.
</p>
- setDataStr
void setDataStr(String data)
Undocumented in source. Be warned that the author may not have intended to support it.
- setDataStr
void setDataStr(String key, String value)
Undocumented in source. Be warned that the author may not have intended to support it.
- setForegroundColor
void setForegroundColor(GtkWidget* handle, GdkColor* color)
Undocumented in source. Be warned that the author may not have intended to support it.
- setInputState
bool setInputState(Event event, int state)
Undocumented in source. Be warned that the author may not have intended to support it.
- setKeyState
bool setKeyState(Event event, GdkEventKey* keyEvent)
Undocumented in source. Be warned that the author may not have intended to support it.
- setOrientation
void setOrientation()
Undocumented in source. Be warned that the author may not have intended to support it.
- shellMapProc
int shellMapProc(GtkWidget* handle, ptrdiff_t arg0, ptrdiff_t user_data)
Undocumented in source. Be warned that the author may not have intended to support it.
- sizeAllocateProc
int sizeAllocateProc(GtkWidget* handle, ptrdiff_t arg0, ptrdiff_t user_data)
Undocumented in source. Be warned that the author may not have intended to support it.
- sizeRequestProc
int sizeRequestProc(GtkWidget* handle, ptrdiff_t arg0, ptrdiff_t user_data)
Undocumented in source. Be warned that the author may not have intended to support it.
- timerProc
int timerProc(GtkWidget* widget)
Undocumented in source. Be warned that the author may not have intended to support it.
- toString
String toString()
Returns a string containing a concise, human-readable
description of the receiver.
- topHandle
GtkWidget* topHandle()
Undocumented in source. Be warned that the author may not have intended to support it.
- translateTraversal
bool translateTraversal(int event)
Undocumented in source. Be warned that the author may not have intended to support it.
- treeSelectionProc
void treeSelectionProc(GtkTreeModel* model, GtkTreePath* path, GtkTreeIter* iter, int[] selection, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
- windowProc
int windowProc(GtkWidget* handle, ptrdiff_t arg0, ptrdiff_t user_data)
Undocumented in source. Be warned that the author may not have intended to support it.
- windowProc
int windowProc(GtkWidget* handle, ptrdiff_t user_data)
Undocumented in source. Be warned that the author may not have intended to support it.
- windowProc
int windowProc(GtkWidget* handle, ptrdiff_t arg0, ptrdiff_t arg1, ptrdiff_t user_data)
Undocumented in source. Be warned that the author may not have intended to support it.
- windowProc
int windowProc(GtkWidget* handle, ptrdiff_t arg0, ptrdiff_t arg1, ptrdiff_t arg2, ptrdiff_t user_data)
Undocumented in source. Be warned that the author may not have intended to support it.
This class is the abstract superclass of all user interface objects. Widgets are created, disposed and issue notification to listeners when events occur which affect them. <dl> <dt><b>Styles:</b></dt> <dd>(none)</dd> <dt><b>Events:</b></dt> <dd>Dispose</dd> </dl> <p> IMPORTANT: This class is intended to be subclassed <em>only</em> within the SWT implementation. However, it has not been marked final to allow those outside of the SWT development team to implement patched versions of the class in order to get around specific limitations in advance of when those limitations can be addressed by the team. Any class built using subclassing to access the internals of this class will likely fail to compile or run between releases and may be strongly platform specific. Subclassing should not be attempted without an intimate and detailed understanding of the workings of the hierarchy. No support is provided for user-written classes which are implemented as subclasses of this class. </p>
@see #checkSubclass @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>