OLE

OLE contains all the constants used to create an ActiveX Control or an OLE Document.

<p>Definitions for these constants can be found in MSDN.

class OLE : SWT {
int S_FALSE;
int S_OK;
int E_FAIL;
int E_INVALIDARG;
int E_NOINTERFACE;
int E_NOTIMPL;
String IID_IUNKNOWN;
String IID_IDISPATCH;
int OLEIVERB_DISCARDUNDOSTATE;
int OLEIVERB_HIDE;
int OLEIVERB_INPLACEACTIVATE;
int OLEIVERB_OPEN;
int OLEIVERB_PRIMARY;
int OLEIVERB_PROPERTIES;
int OLEIVERB_SHOW;
int OLEIVERB_UIACTIVATE;
int PROPERTY_CHANGING;
int PROPERTY_CHANGED;
int OLECMDF_SUPPORTED;
int OLECMDF_ENABLED;
int OLECMDF_LATCHED;
int OLECMDF_NINCHED;
int OLECMDTEXTF_NONE;
int OLECMDTEXTF_NAME;
int OLECMDTEXTF_STATUS;
int OLECMDEXECOPT_DODEFAULT;
int OLECMDEXECOPT_PROMPTUSER;
int OLECMDEXECOPT_DONTPROMPTUSER;
int OLECMDEXECOPT_SHOWHELP;
int OLECMDID_OPEN;
int OLECMDID_NEW;
int OLECMDID_SAVE;
int OLECMDID_SAVEAS;
int OLECMDID_SAVECOPYAS;
int OLECMDID_PRINT;
int OLECMDID_PRINTPREVIEW;
int OLECMDID_PAGESETUP;
int OLECMDID_SPELL;
int OLECMDID_PROPERTIES;
int OLECMDID_CUT;
int OLECMDID_COPY;
int OLECMDID_PASTE;
int OLECMDID_PASTESPECIAL;
int OLECMDID_UNDO;
int OLECMDID_REDO;
int OLECMDID_SELECTALL;
int OLECMDID_CLEARSELECTION;
int OLECMDID_ZOOM;
int OLECMDID_GETZOOMRANGE;
int OLECMDID_UPDATECOMMANDS;
int OLECMDID_REFRESH;
int OLECMDID_STOP;
int OLECMDID_HIDETOOLBARS;
int OLECMDID_SETPROGRESSMAX;
int OLECMDID_SETPROGRESSPOS;
int OLECMDID_SETPROGRESSTEXT;
int OLECMDID_SETTITLE;
int OLECMDID_SETDOWNLOADSTATE;
int OLECMDID_STOPDOWNLOAD;
int VARFLAG_FREADONLY;
int VARFLAG_FSOURCE;
int VARFLAG_FBINDABLE;
int VARFLAG_FREQUESTEDIT;
int VARFLAG_FDISPLAYBIND;
int VARFLAG_FDEFAULTBIND;
int VARFLAG_FHIDDEN;
int VARFLAG_FRESTRICTED;
int VARFLAG_FDEFAULTCOLLELEM;
int VARFLAG_FUIDEFAULT;
int VARFLAG_FNONBROWSABLE;
int VARFLAG_FREPLACEABLE;
int VARFLAG_FIMMEDIATEBIND;
int VAR_PERINSTANCE;
int VAR_STATIC;
int VAR_CONST;
int VAR_DISPATCH;
short IDLFLAG_NONE;
short IDLFLAG_FIN;
short IDLFLAG_FOUT;
short IDLFLAG_FLCID;
short IDLFLAG_FRETVAL;
short VT_BOOL;
short VT_BSTR;
short VT_BYREF;
short VT_CY;
short VT_DATE;
short VT_DISPATCH;
short VT_EMPTY;
short VT_ERROR;
short VT_I2;
short VT_I4;
short VT_NULL;
short VT_R4;
short VT_R8;
short VT_UI1;
short VT_UI4;
short VT_UNKNOWN;
short VT_VARIANT;
short VT_PTR;
short VT_USERDEFINED;
short VT_HRESULT;
short VT_DECIMAL;
short VT_I1;
short VT_UI2;
short VT_I8;
short VT_UI8;
short VT_INT;
short VT_UINT;
short VT_VOID;
short VT_SAFEARRAY;
short VT_CARRAY;
short VT_LPSTR;
short VT_LPWSTR;
short VT_RECORD;
short VT_FILETIME;
short VT_BLOB;
short VT_STREAM;
short VT_STORAGE;
short VT_STREAMED_OBJECT;
short VT_STORED_OBJECT;
short VT_BLOB_OBJECT;
short VT_CF;
short VT_CLSID;
short VT_VERSIONED_STREAM;
short VT_BSTR_BLOB;
short VT_VECTOR;
short VT_ARRAY;
int INVOKE_FUNC;
int INVOKE_PROPERTYGET;
int INVOKE_PROPERTYPUT;
int INVOKE_PROPERTYPUTREF;
int FUNC_VIRTUAL;
int FUNC_PUREVIRTUAL;
int FUNC_NONVIRTUAL;
int FUNC_STATIC;
int FUNC_DISPATCH;
short FUNCFLAG_FRESTRICTED;
short FUNCFLAG_FSOURCE;
short FUNCFLAG_FBINDABLE;
short FUNCFLAG_FREQUESTEDIT;
short FUNCFLAG_FDISPLAYBIND;
short FUNCFLAG_FDEFAULTBIND;
short FUNCFLAG_FHIDDEN;
short FUNCFLAG_FUSESGETLASTERROR;
short FUNCFLAG_FDEFAULTCOLLELEM;
short FUNCFLAG_FUIDEFAULT;
short FUNCFLAG_FNONBROWSABLE;
short FUNCFLAG_FREPLACEABLE;
short FUNCFLAG_FIMMEDIATEBIND;
int CC_FASTCALL;
int CC_CDECL;
int CC_MSCPASCAL;
int CC_PASCAL;
int CC_MACPASCAL;
int CC_STDCALL;
int CC_FPFASTCALL;
int CC_SYSCALL;
int CC_MPWCDECL;
int CC_MPWPASCAL;
int CC_MAX;
String ERROR_NOT_IMPLEMENTED_MSG;
String ERROR_CANNOT_CREATE_FILE_MSG;
String ERROR_CANNOT_CREATE_OBJECT_MSG;
String ERROR_CANNOT_OPEN_FILE_MSG;
String ERROR_INTERFACE_NOT_FOUND_MSG;
String ERROR_INVALID_CLASSID_MSG;
String ERROR_CANNOT_ACCESS_CLASSFACTORY_MSG;
String ERROR_CANNOT_CREATE_LICENSED_OBJECT_MSG;
String ERROR_OUT_OF_MEMORY_MSG;
String ERROR_CANNOT_CHANGE_VARIANT_TYPE_MSG;
String ERROR_INVALID_INTERFACE_ADDRESS_MSG;
String ERROR_APPLICATION_NOT_FOUND_MSG;
String ERROR_ACTION_NOT_PERFORMED_MSG;
}

Members

Static functions

isOleFile
bool isOleFile(File file)

Returns true if the specified file has an OLE Storage format.

Static variables

ERROR_ACTION_NOT_PERFORMED
int ERROR_ACTION_NOT_PERFORMED;

Error code for OleError - Action can not be performed

ERROR_APPLICATION_NOT_FOUND
int ERROR_APPLICATION_NOT_FOUND;

Error code for OleError - Unable to find Application

ERROR_CANNOT_ACCESS_CLASSFACTORY
int ERROR_CANNOT_ACCESS_CLASSFACTORY;

Error code for OleError - Failed to get the class factory for the specified classID

ERROR_CANNOT_CHANGE_VARIANT_TYPE
int ERROR_CANNOT_CHANGE_VARIANT_TYPE;

Error code for OleError - Failed to change Variant type

ERROR_CANNOT_CREATE_FILE
int ERROR_CANNOT_CREATE_FILE;

Error code for OleError - Failed to create file

ERROR_CANNOT_CREATE_LICENSED_OBJECT
int ERROR_CANNOT_CREATE_LICENSED_OBJECT;

Error code for OleError - Failed to create Licensed instance

ERROR_CANNOT_CREATE_OBJECT
int ERROR_CANNOT_CREATE_OBJECT;

Error code for OleError - Failed to create Ole Client

ERROR_CANNOT_OPEN_FILE
int ERROR_CANNOT_OPEN_FILE;

Error code for OleError - File does not exist, is not accessible to user or does not have the correct format

ERROR_INTERFACE_NOT_FOUND
int ERROR_INTERFACE_NOT_FOUND;

Error code for OleError - Failed to find requested interface on OLE Object

ERROR_INVALID_CLASSID
int ERROR_INVALID_CLASSID;

Error code for OleError - Class ID not found in registry

ERROR_INVALID_INTERFACE_ADDRESS
int ERROR_INVALID_INTERFACE_ADDRESS;

Error code for OleError - Invalid address received for Ole Interface

ERROR_OUT_OF_MEMORY
int ERROR_OUT_OF_MEMORY;

Error code for OleError - Out of Memory

HRESULT_UNSPECIFIED
int HRESULT_UNSPECIFIED;

Error code for OleError - No specific error information available

Inherited Members

From SWT

None
int None;

The null event type (value is 0).

KeyDown
int KeyDown;

The key down event type (value is 1).

KeyUp
int KeyUp;

The key up event type (value is 2).

MouseDown
int MouseDown;

The mouse down event type (value is 3).

MouseUp
int MouseUp;

The mouse up event type (value is 4).

MouseMove
int MouseMove;

The mouse move event type (value is 5).

MouseEnter
int MouseEnter;

The mouse enter event type (value is 6).

MouseExit
int MouseExit;

The mouse exit event type (value is 7).

MouseDoubleClick
int MouseDoubleClick;

The mouse double click event type (value is 8).

Paint
int Paint;

The paint event type (value is 9).

Move
int Move;

The move event type (value is 10).

Resize
int Resize;

The resize event type (value is 11).

Dispose
int Dispose;

The dispose event type (value is 12).

Selection
int Selection;

The selection event type (value is 13).

DefaultSelection
int DefaultSelection;

The default selection event type (value is 14).

FocusIn
int FocusIn;

The focus in event type (value is 15).

FocusOut
int FocusOut;

The focus out event type (value is 16).

Expand
int Expand;

The expand event type (value is 17).

Collapse
int Collapse;

The collapse event type (value is 18).

Iconify
int Iconify;

The iconify event type (value is 19).

Deiconify
int Deiconify;

The de-iconify event type (value is 20).

Close
int Close;

The close event type (value is 21).

Show
int Show;

The show event type (value is 22).

Hide
int Hide;

The hide event type (value is 23).

Modify
int Modify;

The modify event type (value is 24).

Verify
int Verify;

The verify event type (value is 25).

Activate
int Activate;

The activate event type (value is 26).

Deactivate
int Deactivate;

The deactivate event type (value is 27).

Help
int Help;

The help event type (value is 28).

DragDetect
int DragDetect;

The drag detect event type (value is 29).

Arm
int Arm;

The arm event type (value is 30).

Traverse
int Traverse;

The traverse event type (value is 31).

MouseHover
int MouseHover;

The mouse hover event type (value is 32).

HardKeyDown
int HardKeyDown;

The hardware key down event type (value is 33).

HardKeyUp
int HardKeyUp;

The hardware key up event type (value is 34).

MenuDetect
int MenuDetect;

The menu detect event type (value is 35).

SetData
int SetData;

The set data event type (value is 36).

MouseWheel
int MouseWheel;

The mouse wheel event type (value is 37).

Settings
int Settings;

The settings changed event type (value is 39). <p> The settings changed event is sent when an operating system property, such as a system font or color, has been changed. The event occurs after the property has been changed, but before any widget is redrawn. Applications that cache operating system properties can use this event to update their caches. A specific property change can be detected by querying the new value of a property and comparing it with the equivalent cached value. The operating system automatically redraws and lays out all widgets after this event is sent. </p>

EraseItem
int EraseItem;

The erase item event type (value is 40).

MeasureItem
int MeasureItem;

The measure item event type (value is 41).

PaintItem
int PaintItem;

The paint item event type (value is 42).

ImeComposition
int ImeComposition;

The IME composition event type (value is 43). <p> The IME composition event is sent to allow custom text editors to implement in-line editing of international text. </p>

COMPOSITION_CHANGED
int COMPOSITION_CHANGED;

The IME composition event detail that indicates a change in the IME composition. The text field of the event is the new composition text. The start and end indicate the offsets where the composition text should be inserted. The styles and ranges are stored in the IME object (value is 1).

COMPOSITION_OFFSET
int COMPOSITION_OFFSET;

The IME composition event detail that indicates that the IME needs the offset for a given location. The x and y fields of the event are used by the application to determine the offset.

COMPOSITION_SELECTION
int COMPOSITION_SELECTION;

The IME composition event detail that indicates that IME needs the selected text and its start and end offsets (value is 3).

DRAG
int DRAG;

Indicates that a user-interface component is being dragged, for example dragging the thumb of a scroll bar (value is 1).

SELECTED
int SELECTED;

Event detail field that indicates a user-interface component state is selected (value is 1&lt;&lt;1).

FOCUSED
int FOCUSED;

Event detail field that indicates a user-interface component state is focused (value is 1&lt;&lt;2).

BACKGROUND
int BACKGROUND;

Event detail field that indicates a user-interface component draws the background (value is 1&lt;&lt;3).

FOREGROUND
int FOREGROUND;

Event detail field that indicates a user-interface component draws the foreground (value is 1&lt;&lt;4).

HOT
int HOT;

Event detail field that indicates a user-interface component state is hot (value is 1&lt;&lt;5).

TRAVERSE_NONE
int TRAVERSE_NONE;

Traversal event detail field value indicating that no traversal action should be taken (value is 0).

TRAVERSE_ESCAPE
int TRAVERSE_ESCAPE;

Traversal event detail field value indicating that the key which designates that a dialog should be cancelled was pressed; typically, this is the ESC key (value is 1&lt;&lt;1).

TRAVERSE_RETURN
int TRAVERSE_RETURN;

Traversal event detail field value indicating that the key which activates the default button in a dialog was pressed; typically, this is the ENTER key (value is 1&lt;&lt;2).

TRAVERSE_TAB_PREVIOUS
int TRAVERSE_TAB_PREVIOUS;

Traversal event detail field value indicating that the key which designates that focus should be given to the previous tab group was pressed; typically, this is the SHIFT-TAB key sequence (value is 1&lt;&lt;3).

TRAVERSE_TAB_NEXT
int TRAVERSE_TAB_NEXT;

Traversal event detail field value indicating that the key which designates that focus should be given to the next tab group was pressed; typically, this is the TAB key (value is 1&lt;&lt;4).

TRAVERSE_ARROW_PREVIOUS
int TRAVERSE_ARROW_PREVIOUS;

Traversal event detail field value indicating that the key which designates that focus should be given to the previous tab item was pressed; typically, this is either the LEFT-ARROW or UP-ARROW keys (value is 1&lt;&lt;5).

TRAVERSE_ARROW_NEXT
int TRAVERSE_ARROW_NEXT;

Traversal event detail field value indicating that the key which designates that focus should be given to the previous tab item was pressed; typically, this is either the RIGHT-ARROW or DOWN-ARROW keys (value is 1&lt;&lt;6).

TRAVERSE_MNEMONIC
int TRAVERSE_MNEMONIC;

Traversal event detail field value indicating that a mnemonic key sequence was pressed (value is 1&lt;&lt;7).

TRAVERSE_PAGE_PREVIOUS
int TRAVERSE_PAGE_PREVIOUS;

Traversal event detail field value indicating that the key which designates that the previous page of a multi-page window should be shown was pressed; typically, this is the CTRL-PAGEUP key sequence (value is 1&lt;&lt;8).

TRAVERSE_PAGE_NEXT
int TRAVERSE_PAGE_NEXT;

Traversal event detail field value indicating that the key which designates that the next page of a multi-page window should be shown was pressed; typically, this is the CTRL-PAGEDOWN key sequence (value is 1&lt;&lt;9).

NONE
int NONE;

A constant known to be zero (0), typically used in operations which take bit flags to indicate that "no bits are set".

NULL
int NULL;

A constant known to be zero (0), used in operations which take pointers to indicate a null argument.

DEFAULT
int DEFAULT;

Indicates that a default should be used (value is -1).

OFF
int OFF;

Indicates that a property is off (value is 0).

ON
int ON;

Indicates that a property is on (value is 1).

LOW
int LOW;

Indicates low quality (value is 1).

HIGH
int HIGH;

Indicates high quality (value is 2).

BAR
int BAR;

Style constant for menu bar behavior (value is 1&lt;&lt;1). <p><b>Used By:</b><ul> <li><code>Menu</code></li> </ul></p>

DROP_DOWN
int DROP_DOWN;

Style constant for drop down menu/list behavior (value is 1&lt;&lt;2). <p><b>Used By:</b><ul> <li><code>Menu</code></li> <li><code>ToolItem</code></li> <li><code>CoolItem</code></li> <li><code>Combo</code></li> </ul></p>

POP_UP
int POP_UP;

Style constant for pop up menu behavior (value is 1&lt;&lt;3). <p><b>Used By:</b><ul> <li><code>Menu</code></li> </ul></p>

SEPARATOR
int SEPARATOR;

Style constant for line separator behavior (value is 1&lt;&lt;1). <p><b>Used By:</b><ul> <li><code>Label</code></li> <li><code>MenuItem</code></li> <li><code>ToolItem</code></li> </ul></p>

TOGGLE
int TOGGLE;

Style constant for toggle button behavior (value is 1&lt;&lt;1). <p><b>Used By:</b><ul> <li><code>Button</code></li> </ul></p>

ARROW
int ARROW;

Style constant for arrow button behavior (value is 1&lt;&lt;2). <p><b>Used By:</b><ul> <li><code>Button</code></li> </ul></p>

PUSH
int PUSH;

Style constant for push button behavior (value is 1&lt;&lt;3). <p><b>Used By:</b><ul> <li><code>Button</code></li> <li><code>MenuItem</code></li> <li><code>ToolItem</code></li> </ul></p>

RADIO
int RADIO;

Style constant for radio button behavior (value is 1&lt;&lt;4). <p><b>Used By:</b><ul> <li><code>Button</code></li> <li><code>MenuItem</code></li> <li><code>ToolItem</code></li> </ul></p>

CHECK
int CHECK;

Style constant for check box behavior (value is 1&lt;&lt;5). <p><b>Used By:</b><ul> <li><code>Button</code></li> <li><code>MenuItem</code></li> <li><code>ToolItem</code></li> <li><code>Table</code></li> <li><code>Tree</code></li> </ul></p>

CASCADE
int CASCADE;

Style constant for cascade behavior (value is 1&lt;&lt;6). <p><b>Used By:</b><ul> <li><code>MenuItem</code></li> </ul></p>

MULTI
int MULTI;

Style constant for multi-selection behavior in lists and multiple line support on text fields (value is 1&lt;&lt;1). <p><b>Used By:</b><ul> <li><code>Text</code></li> <li><code>List</code></li> <li><code>FileDialog</code></li> </ul></p>

SINGLE
int SINGLE;

Style constant for single selection behavior in lists and single line support on text fields (value is 1&lt;&lt;2). <p><b>Used By:</b><ul> <li><code>Text</code></li> <li><code>List</code></li> <li><code>Table</code></li> <li><code>Tree</code></li> </ul></p>

READ_ONLY
int READ_ONLY;

Style constant for read-only behavior (value is 1&lt;&lt;3). <p><b>Used By:</b><ul> <li><code>Combo</code></li> <li><code>Text</code></li> </ul></p>

WRAP
int WRAP;

Style constant for automatic line wrap behavior (value is 1&lt;&lt;6). <p><b>Used By:</b><ul> <li><code>Label</code></li> <li><code>Text</code></li> <li><code>ToolBar</code></li> <li><code>Spinner</code></li> </ul></p>

SEARCH
int SEARCH;

Style constant for search behavior (value is 1&lt;&lt;7). <p><b>Used By:</b><ul> <li><code>Text</code></li> </ul></p>

SIMPLE
int SIMPLE;

Style constant for simple (not drop down) behavior (value is 1&lt;&lt;6). <p><b>Used By:</b><ul> <li><code>Combo</code></li> </ul></p>

PASSWORD
int PASSWORD;

Style constant for password behavior (value is 1&lt;&lt;22). <p><b>Used By:</b><ul> <li><code>Text</code></li> </ul></p>

SHADOW_IN
int SHADOW_IN;

Style constant for shadow in behavior (value is 1&lt;&lt;2). <br>Note that this is a <em>HINT</em>. <p><b>Used By:</b><ul> <li><code>Label</code></li> <li><code>Group</code></li> </ul></p>

SHADOW_OUT
int SHADOW_OUT;

Style constant for shadow out behavior (value is 1&lt;&lt;3). <br>Note that this is a <em>HINT</em>. <p><b>Used By:</b><ul> <li><code>Label</code></li> <li><code>Group</code></li> <li><code>ToolBar</code></li> </ul></p>

SHADOW_ETCHED_IN
int SHADOW_ETCHED_IN;

Style constant for shadow etched in behavior (value is 1&lt;&lt;4). <br>Note that this is a <em>HINT</em>. It is ignored on all platforms except Motif. <p><b>Used By:</b><ul> <li><code>Group</code></li> </ul></p>

SHADOW_ETCHED_OUT
int SHADOW_ETCHED_OUT;

Style constant for shadow etched out behavior (value is 1&lt;&lt;6). <br>Note that this is a <em>HINT</em>. It is ignored on all platforms except Motif. <p><b>Used By:</b><ul> <li><code>Group</code></li> </ul></p>

SHADOW_NONE
int SHADOW_NONE;

Style constant for no shadow behavior (value is 1&lt;&lt;5). <br>Note that this is a <em>HINT</em>. <p><b>Used By:</b><ul> <li><code>Label</code></li> <li><code>Group</code></li> </ul></p>

INDETERMINATE
int INDETERMINATE;

Style constant for progress bar behavior (value is 1&lt;&lt;1). <p><b>Used By:</b><ul> <li><code>ProgressBar</code></li> </ul></p>

TOOL
int TOOL;

Style constant for tool window behavior (value is 1&lt;&lt;2). <p> A tool window is a window intended to be used as a floating toolbar. It typically has a title bar that is shorter than a normal title bar, and the window title is typically drawn using a smaller font. <br>Note that this is a <em>HINT</em>. </p><p><b>Used By:</b><ul> <li><code>Decorations</code> and subclasses</li> </ul></p>

NO_TRIM
int NO_TRIM;

Style constant to ensure no trimmings are used (value is 1&lt;&lt;3). <br>Note that this overrides all other trim styles. <p><b>Used By:</b><ul> <li><code>Decorations</code> and subclasses</li> </ul></p>

RESIZE
int RESIZE;

Style constant for resize box trim (value is 1&lt;&lt;4). <p><b>Used By:</b><ul> <li><code>Decorations</code> and subclasses</li> <li><code>Tracker</code></li> </ul></p>

TITLE
int TITLE;

Style constant for title area trim (value is 1&lt;&lt;5). <p><b>Used By:</b><ul> <li><code>Decorations</code> and subclasses</li> </ul></p>

CLOSE
int CLOSE;

Style constant for close box trim (value is 1&lt;&lt;6, since we do not distinguish between CLOSE style and MENU style). <p><b>Used By:</b><ul> <li><code>Decorations</code> and subclasses</li> </ul></p>

MENU
int MENU;

Style constant for shell menu trim (value is 1&lt;&lt;6, since we do not distinguish between CLOSE style and MENU style). <p><b>Used By:</b><ul> <li><code>Decorations</code> and subclasses</li> </ul></p>

MIN
int MIN;

Style constant for minimize box trim (value is 1&lt;&lt;7). <p><b>Used By:</b><ul> <li><code>Decorations</code> and subclasses</li> </ul></p>

MAX
int MAX;

Style constant for maximize box trim (value is 1&lt;&lt;10). <p><b>Used By:</b><ul> <li><code>Decorations</code> and subclasses</li> </ul></p>

H_SCROLL
int H_SCROLL;

Style constant for horizontal scrollbar behavior (value is 1&lt;&lt;8). <p><b>Used By:</b><ul> <li><code>Scrollable</code> and subclasses</li> </ul></p>

V_SCROLL
int V_SCROLL;

Style constant for vertical scrollbar behavior (value is 1&lt;&lt;9). <p><b>Used By:</b><ul> <li><code>Scrollable</code> and subclasses</li> </ul></p>

NO_SCROLL
int NO_SCROLL;

Style constant for no scrollbar behavior (value is 1&lt;&lt;4). <p> When neither H_SCROLL or V_SCROLL are specified, controls are free to create the default scroll bars for the control. Using NO_SCROLL overrides the default and forces the control to have no scroll bars.

BORDER
int BORDER;

Style constant for bordered behavior (value is 1&lt;&lt;11). <br>Note that this is a <em>HINT</em>. <p><b>Used By:</b><ul> <li><code>Control</code> and subclasses</li> </ul></p>

CLIP_CHILDREN
int CLIP_CHILDREN;

Style constant indicating that the window manager should clip a widget's children with respect to its viewable area. (value is 1&lt;&lt;12). <br>Note that this is a <em>HINT</em>. <p><b>Used By:</b><ul> <li><code>Control</code> and subclasses</li> </ul></p>

CLIP_SIBLINGS
int CLIP_SIBLINGS;

Style constant indicating that the window manager should clip a widget's siblings with respect to its viewable area. (value is 1&lt;&lt;13). <br>Note that this is a <em>HINT</em>. <p><b>Used By:</b><ul> <li><code>Control</code> and subclasses</li> </ul></p>

ON_TOP
int ON_TOP;

Style constant for always on top behavior (value is 1&lt;&lt;14). <br>Note that this is a <em>HINT</em>. <p><b>Used By:</b><ul> <li><code>Shell</code> and subclasses</li> </ul></p>

SHELL_TRIM
int SHELL_TRIM;

Trim style convenience constant for the most common top level shell appearance (value is CLOSE|TITLE|MIN|MAX|RESIZE). <p><b>Used By:</b><ul> <li><code>Shell</code></li> </ul></p>

DIALOG_TRIM
int DIALOG_TRIM;

Trim style convenience constant for the most common dialog shell appearance (value is CLOSE|TITLE|BORDER). <p><b>Used By:</b><ul> <li><code>Shell</code></li> </ul></p>

MODELESS
int MODELESS;

Style constant for modeless behavior (value is 0). <br>Note that this is a <em>HINT</em>. <p><b>Used By:</b><ul> <li><code>Dialog</code></li> <li><code>Shell</code></li> </ul></p>

PRIMARY_MODAL
int PRIMARY_MODAL;

Style constant for primary modal behavior (value is 1&lt;&lt;15). <br>Note that this is a <em>HINT</em>. <p><b>Used By:</b><ul> <li><code>Dialog</code></li> <li><code>Shell</code></li> </ul></p>

APPLICATION_MODAL
int APPLICATION_MODAL;

Style constant for application modal behavior (value is 1&lt;&lt;16). <br>Note that this is a <em>HINT</em>. <p><b>Used By:</b><ul> <li><code>Dialog</code></li> <li><code>Shell</code></li> </ul></p>

SYSTEM_MODAL
int SYSTEM_MODAL;

Style constant for system modal behavior (value is 1&lt;&lt;17). <br>Note that this is a <em>HINT</em>. <p><b>Used By:</b><ul> <li><code>Dialog</code></li> <li><code>Shell</code></li> </ul></p>

HIDE_SELECTION
int HIDE_SELECTION;

Style constant for selection hiding behavior when the widget loses focus (value is 1&lt;&lt;15). <br>Note that this is a <em>HINT</em>. <p><b>Used By:</b><ul> <li><code>Table</code></li> </ul></p>

FULL_SELECTION
int FULL_SELECTION;

Style constant for full row selection behavior and selection constant indicating that a full line should be drawn. (value is 1&lt;&lt;16). <br>Note that for some widgets this is a <em>HINT</em>. <p><b>Used By:</b><ul> <li><code>Table</code></li> <li><code>Tree</code></li> <li><code>StyledText</code></li> <li><code>TextLayout</code></li> </ul></p>

FLAT
int FLAT;

Style constant for flat appearance. (value is 1&lt;&lt;23). <br>Note that this is a <em>HINT</em>. <p><b>Used By:</b><ul> <li><code>Button</code></li> <li><code>ToolBar</code></li> </ul></p>

SMOOTH
int SMOOTH;

Style constant for smooth appearance. (value is 1&lt;&lt;16). <br>Note that this is a <em>HINT</em>. <p><b>Used By:</b><ul> <li><code>ProgressBar</code></li> <li><code>Sash</code></li> </ul></p>

NO_BACKGROUND
int NO_BACKGROUND;

Style constant for no background behavior (value is 1&lt;&lt;18). <p> By default, before a widget paints, the client area is filled with the current background. When this style is specified, the background is not filled, and the application is responsible for filling every pixel of the client area. This style might be used as an alternative to "double-buffering" in order to reduce flicker. This style does not mean "transparent" - widgets that are obscured will not draw through. </p><p><b>Used By:</b><ul> <li><code>Composite</code></li> </ul></p>

NO_FOCUS
int NO_FOCUS;

Style constant for no focus from the mouse behavior (value is 1&lt;&lt;19). <p> Normally, when the user clicks on a control, focus is assigned to that control, providing the control has no children. Some controls, such as tool bars and sashes, don't normally take focus when the mouse is clicked or accept focus when assigned from within the program. This style allows Composites to implement "no focus" mouse behavior.

NO_REDRAW_RESIZE
int NO_REDRAW_RESIZE;

Style constant for no redraw on resize behavior (value is 1&lt;&lt;20). <p> This style stops the entire client area from being invalidated when the size of the Canvas changes. Specifically, when the size of the Canvas gets smaller, the SWT.Paint event is not sent. When it gets bigger, an SWT.Paint event is sent with a GC clipped to only the new areas to be painted. Without this style, the entire client area will be repainted.

NO_MERGE_PAINTS
int NO_MERGE_PAINTS;

Style constant for no paint event merging behavior (value is 1&lt;&lt;21).

NO_RADIO_GROUP
int NO_RADIO_GROUP;

Style constant for preventing child radio group behavior (value is 1&lt;&lt;22). <p><b>Used By:</b><ul> <li><code>Composite</code></li> </ul></p>

LEFT_TO_RIGHT
int LEFT_TO_RIGHT;

Style constant for left to right orientation (value is 1&lt;&lt;25). <p> When orientation is not explicitly specified, orientation is inherited. This means that children will be assigned the orientation of their parent. To override this behavior and force an orientation for a child, explicitly set the orientation of the child when that child is created. <br>Note that this is a <em>HINT</em>. </p> <p><b>Used By:</b><ul> <li><code>Control</code></li> <li><code>Menu</code></li> <li><code>GC</code></li> </ul></p>

RIGHT_TO_LEFT
int RIGHT_TO_LEFT;

Style constant for right to left orientation (value is 1&lt;&lt;26). <p> When orientation is not explicitly specified, orientation is inherited. This means that children will be assigned the orientation of their parent. To override this behavior and force an orientation for a child, explicitly set the orientation of the child when that child is created. <br>Note that this is a <em>HINT</em>. </p> <p><b>Used By:</b><ul> <li><code>Control</code></li> <li><code>Menu</code></li> <li><code>GC</code></li> </ul></p>

MIRRORED
int MIRRORED;

Style constant to indicate coordinate mirroring (value is 1&lt;&lt;27). <p><b>Used By:</b><ul> <li><code>Control</code></li> <li><code>Menu</code></li> </ul></p>

EMBEDDED
int EMBEDDED;

Style constant to allow embedding (value is 1&lt;&lt;24). <p><b>Used By:</b><ul> <li><code>Composite</code></li> </ul></p>

VIRTUAL
int VIRTUAL;

Style constant to allow virtual data (value is 1&lt;&lt;28). <p><b>Used By:</b><ul> <li><code>Table</code></li> <li><code>Tree</code></li> </ul></p>

DOUBLE_BUFFERED
int DOUBLE_BUFFERED;

Style constant to indicate double buffering (value is 1&lt;&lt;29). <p><b>Used By:</b><ul> <li><code>Control</code></li> </ul></p>

TRANSPARENT
int TRANSPARENT;

Style constant for transparent behavior (value is 1&lt;&lt;30). <p> By default, before a widget paints, the client area is filled with the current background. When this style is specified, the background is not filled and widgets that are obscured will draw through. </p><p><b>Used By:</b><ul> <li><code>Composite</code></li> </ul></p>

UP
int UP;

Style constant for align up behavior (value is 1&lt;&lt;7, since align UP and align TOP are considered the same). <p><b>Used By:</b><ul> <li><code>Button</code> with <code>ARROW</code> style</li> <li><code>Tracker</code></li> <li><code>Table</code></li> <li><code>Tree</code></li> </ul></p>

UNDERLINE_SINGLE
int UNDERLINE_SINGLE;

Style constant to indicate single underline (value is 0). <p><b>Used By:</b><ul> <li><code>TextStyle</code></li> </ul></p>

UNDERLINE_DOUBLE
int UNDERLINE_DOUBLE;

Style constant to indicate double underline (value is 1). <p><b>Used By:</b><ul> <li><code>TextStyle</code></li> </ul></p>

UNDERLINE_ERROR
int UNDERLINE_ERROR;

Style constant to indicate error underline (value is 2). <p><b>Used By:</b><ul> <li><code>TextStyle</code></li> </ul></p>

UNDERLINE_SQUIGGLE
int UNDERLINE_SQUIGGLE;

Style constant to indicate squiggle underline (value is 3). <p><b>Used By:</b><ul> <li><code>TextStyle</code></li> </ul></p>

BORDER_SOLID
int BORDER_SOLID;

Style constant to indicate solid border (value is 1). <p><b>Used By:</b><ul> <li><code>TextStyle</code></li> </ul></p>

BORDER_DASH
int BORDER_DASH;

Style constant to indicate dashed border (value is 2). <p><b>Used By:</b><ul> <li><code>TextStyle</code></li> </ul></p>

BORDER_DOT
int BORDER_DOT;

Style constant to indicate dotted border (value is 4). <p><b>Used By:</b><ul> <li><code>TextStyle</code></li> </ul></p>

TOP
int TOP;

Style constant for align top behavior (value is 1&lt;&lt;7, since align UP and align TOP are considered the same). <p><b>Used By:</b><ul> <li><code>FormAttachment</code> in a <code>FormLayout</code></li> </ul></p>

DOWN
int DOWN;

Style constant for align down behavior (value is 1&lt;&lt;10, since align DOWN and align BOTTOM are considered the same). <p><b>Used By:</b><ul> <li><code>Button</code> with <code>ARROW</code> style</li> <li><code>Tracker</code></li> <li><code>Table</code></li> <li><code>Tree</code></li> </ul></p>

BOTTOM
int BOTTOM;

Style constant for align bottom behavior (value is 1&lt;&lt;10, since align DOWN and align BOTTOM are considered the same). <p><b>Used By:</b><ul> <li><code>FormAttachment</code> in a <code>FormLayout</code></li> </ul></p>

LEAD
int LEAD;

Style constant for leading alignment (value is 1&lt;&lt;14). <p><b>Used By:</b><ul> <li><code>Button</code></li> <li><code>Label</code></li> <li><code>TableColumn</code></li> <li><code>Tracker</code></li> <li><code>FormAttachment</code> in a <code>FormLayout</code></li> </ul></p>

LEFT
int LEFT;

Style constant for align left behavior (value is 1&lt;&lt;14). This is a synonym for LEAD (value is 1&lt;&lt;14). Newer applications should use LEAD instead of LEFT to make code more understandable on right-to-left platforms.

TRAIL
int TRAIL;

Style constant for trailing alignment (value is 1&lt;&lt;17). <p><b>Used By:</b><ul> <li><code>Button</code></li> <li><code>Label</code></li> <li><code>TableColumn</code></li> <li><code>Tracker</code></li> <li><code>FormAttachment</code> in a <code>FormLayout</code></li> </ul></p>

RIGHT
int RIGHT;

Style constant for align right behavior (value is 1&lt;&lt;17). This is a synonym for TRAIL (value is 1&lt;&lt;17). Newer applications should use TRAIL instead of RIGHT to make code more understandable on right-to-left platforms.

CENTER
int CENTER;

Style constant for align center behavior (value is 1&lt;&lt;24). <p><b>Used By:</b><ul> <li><code>Button</code></li> <li><code>Label</code></li> <li><code>TableColumn</code></li> <li><code>FormAttachment</code> in a <code>FormLayout</code></li> </ul></p>

HORIZONTAL
int HORIZONTAL;

Style constant for horizontal alignment or orientation behavior (value is 1&lt;&lt;8). <p><b>Used By:</b><ul> <li><code>Label</code></li> <li><code>ProgressBar</code></li> <li><code>Sash</code></li> <li><code>Scale</code></li> <li><code>ScrollBar</code></li> <li><code>Slider</code></li> <li><code>ToolBar</code></li> <li><code>FillLayout</code> type</li> <li><code>RowLayout</code> type</li> </ul></p>

VERTICAL
int VERTICAL;

Style constant for vertical alignment or orientation behavior (value is 1&lt;&lt;9). <p><b>Used By:</b><ul> <li><code>Label</code></li> <li><code>ProgressBar</code></li> <li><code>Sash</code></li> <li><code>Scale</code></li> <li><code>ScrollBar</code></li> <li><code>Slider</code></li> <li><code>ToolBar</code></li> <li><code>CoolBar</code></li> <li><code>FillLayout</code> type</li> <li><code>RowLayout</code> type</li> </ul></p>

DATE
int DATE;

Style constant for date display (value is 1&lt;&lt;5). <p><b>Used By:</b><ul> <li><code>DateTime</code></li> </ul></p>

TIME
int TIME;

Style constant for time display (value is 1&lt;&lt;7). <p><b>Used By:</b><ul> <li><code>DateTime</code></li> </ul></p>

CALENDAR
int CALENDAR;

Style constant for calendar display (value is 1&lt;&lt;10). <p><b>Used By:</b><ul> <li><code>DateTime</code></li> </ul></p>

SHORT
int SHORT;

Style constant for short date/time format (value is 1&lt;&lt;15). <p> A short date displays the month and year. A short time displays hours and minutes. <br>Note that this is a <em>HINT</em>. </p> <p><b>Used By:</b><ul> <li><code>DateTime</code></li> </ul></p>

MEDIUM
int MEDIUM;

Style constant for medium date/time format (value is 1&lt;&lt;16). <p> A medium date displays the day, month and year. A medium time displays hours, minutes, and seconds. <br>Note that this is a <em>HINT</em>. </p> <p><b>Used By:</b><ul> <li><code>DateTime</code></li> </ul></p>

LONG
int LONG;

Style constant for long date/time format (value is 1&lt;&lt;28). <p> A long date displays the day, month and year. A long time displays hours, minutes, and seconds. The day and month names may be displayed. <br>Note that this is a <em>HINT</em>. </p> <p><b>Used By:</b><ul> <li><code>DateTime</code></li> </ul></p>

MOZILLA
int MOZILLA;

Style constant specifying that a Browser should use a Mozilla GRE for rendering its content (value is 1&lt;&lt;15). <p> <p><b>Used By:</b><ul> <li><code>Browser</code></li> </ul></p>

BALLOON
int BALLOON;

Style constant for balloon behavior (value is 1&lt;&lt;12). <p><b>Used By:</b><ul> <li><code>ToolTip</code></li> </ul></p>

BEGINNING
int BEGINNING;

Style constant for vertical alignment or orientation behavior (value is 1). <p><b>Used By:</b><ul> <li><code>GridLayout</code> type</li> </ul></p>

FILL
int FILL;

Style constant for vertical alignment or orientation behavior (value is 4). <p><b>Used By:</b><ul> <li><code>GridLayout</code> type</li> </ul></p>

DBCS
int DBCS;

Input Method Editor style constant for double byte input behavior (value is 1&lt;&lt;1).

ALPHA
int ALPHA;

Input Method Editor style constant for alpha input behavior (value is 1&lt;&lt;2).

NATIVE
int NATIVE;

Input Method Editor style constant for native input behavior (value is 1&lt;&lt;3).

PHONETIC
int PHONETIC;

Input Method Editor style constant for phonetic input behavior (value is 1&lt;&lt;4).

ROMAN
int ROMAN;

Input Method Editor style constant for romanicized input behavior (value is 1&lt;&lt;5).

BS
char BS;

ASCII character convenience constant for the backspace character (value is the <code>char</code> '\b').

CR
char CR;

ASCII character convenience constant for the carriage return character (value is the <code>char</code> '\r').

DEL
char DEL;

ASCII character convenience constant for the delete character (value is the <code>char</code> with value 127).

ESC
char ESC;

ASCII character convenience constant for the escape character (value is the <code>char</code> with value 27).

LF
char LF;

ASCII character convenience constant for the line feed character (value is the <code>char</code> '\n').

TAB
char TAB;

ASCII character convenience constant for the tab character (value is the <code>char</code> '\t').

ALT
int ALT;

keyboard and/or mouse event mask indicating that the ALT key was pushed on the keyboard when the event was generated (value is 1&lt;&lt;16).

SHIFT
int SHIFT;

Keyboard and/or mouse event mask indicating that the SHIFT key was pushed on the keyboard when the event was generated (value is 1&lt;&lt;17).

CTRL
int CTRL;

Keyboard and/or mouse event mask indicating that the CTRL key was pushed on the keyboard when the event was generated (value is 1&lt;&lt;18).

CONTROL
int CONTROL;

Keyboard and/or mouse event mask indicating that the CTRL key was pushed on the keyboard when the event was generated. This is a synonym for CTRL (value is 1&lt;&lt;18).

COMMAND
int COMMAND;

Keyboard and/or mouse event mask indicating that the COMMAND key was pushed on the keyboard when the event was generated (value is 1&lt;&lt;22).

MODIFIER_MASK
int MODIFIER_MASK;

Keyboard and/or mouse event mask indicating all possible keyboard modifiers.

BUTTON1
int BUTTON1;

Keyboard and/or mouse event mask indicating that mouse button one was pushed when the event was generated. (value is 1&lt;&lt;19).

BUTTON2
int BUTTON2;

Keyboard and/or mouse event mask indicating that mouse button two was pushed when the event was generated. (value is 1&lt;&lt;20).

BUTTON3
int BUTTON3;

Keyboard and/or mouse event mask indicating that mouse button three was pushed when the event was generated. (value is 1&lt;&lt;21).

BUTTON4
int BUTTON4;

Keyboard and/or mouse event mask indicating that mouse button four was pushed when the event was generated. (value is 1&lt;&lt;23).

BUTTON5
int BUTTON5;

Keyboard and/or mouse event mask indicating that mouse button five was pushed when the event was generated. (value is 1&lt;&lt;25).

BUTTON_MASK
int BUTTON_MASK;

Keyboard and/or mouse event mask indicating all possible mouse buttons.

MOD1
int MOD1;

Keyboard and/or mouse event mask indicating that the MOD1 key was pushed on the keyboard when the event was generated.

MOD2
int MOD2;

Keyboard and/or mouse event mask indicating that the MOD2 key was pushed on the keyboard when the event was generated.

MOD3
int MOD3;

Keyboard and/or mouse event mask indicating that the MOD3 key was pushed on the keyboard when the event was generated.

MOD4
int MOD4;

Keyboard and/or mouse event mask indicating that the MOD4 key was pushed on the keyboard when the event was generated.

SCROLL_LINE
int SCROLL_LINE;

Constants to indicate line scrolling (value is 1). <p><b>Used By:</b><ul> <li><code>Control</code></li> </ul></p>

SCROLL_PAGE
int SCROLL_PAGE;

Constants to indicate page scrolling (value is 2). <p><b>Used By:</b><ul> <li><code>Control</code></li> </ul></p>

KEYCODE_BIT
int KEYCODE_BIT;

Accelerator constant used to differentiate a key code from a unicode character.

KEY_MASK
int KEY_MASK;

Accelerator constant used to extract the key stroke portion of an accelerator.

ARROW_UP
int ARROW_UP;

Keyboard event constant representing the UP ARROW key (value is (1&lt;&lt;24)+1).

ARROW_DOWN
int ARROW_DOWN;

Keyboard event constant representing the DOWN ARROW key (value is (1&lt;&lt;24)+2).

ARROW_LEFT
int ARROW_LEFT;

Keyboard event constant representing the LEFT ARROW key (value is (1&lt;&lt;24)+3).

ARROW_RIGHT
int ARROW_RIGHT;

Keyboard event constant representing the RIGHT ARROW key (value is (1&lt;&lt;24)+4).

PAGE_UP
int PAGE_UP;

Keyboard event constant representing the PAGE UP key (value is (1&lt;&lt;24)+5).

PAGE_DOWN
int PAGE_DOWN;

Keyboard event constant representing the PAGE DOWN key (value is (1&lt;&lt;24)+6).

HOME
int HOME;

Keyboard event constant representing the HOME key (value is (1&lt;&lt;24)+7).

END
int END;

Keyboard event constant representing the END key (value is (1&lt;&lt;24)+8).

INSERT
int INSERT;

Keyboard event constant representing the INSERT key (value is (1&lt;&lt;24)+9).

F1
int F1;

Keyboard event constant representing the F1 key (value is (1&lt;&lt;24)+10).

F2
int F2;

Keyboard event constant representing the F2 key (value is (1&lt;&lt;24)+11).

F3
int F3;

Keyboard event constant representing the F3 key (value is (1&lt;&lt;24)+12).

F4
int F4;

Keyboard event constant representing the F4 key (value is (1&lt;&lt;24)+13).

F5
int F5;

Keyboard event constant representing the F5 key (value is (1&lt;&lt;24)+14).

F6
int F6;

Keyboard event constant representing the F6 key (value is (1&lt;&lt;24)+15).

F7
int F7;

Keyboard event constant representing the F7 key (value is (1&lt;&lt;24)+16).

F8
int F8;

Keyboard event constant representing the F8 key (value is (1&lt;&lt;24)+17).

F9
int F9;

Keyboard event constant representing the F9 key (value is (1&lt;&lt;24)+18).

F10
int F10;

Keyboard event constant representing the F10 key (value is (1&lt;&lt;24)+19).

F11
int F11;

Keyboard event constant representing the F11 key (value is (1&lt;&lt;24)+20).

F12
int F12;

Keyboard event constant representing the F12 key (value is (1&lt;&lt;24)+21).

F13
int F13;

Keyboard event constant representing the F13 key (value is (1&lt;&lt;24)+22).

F14
int F14;

Keyboard event constant representing the F14 key (value is (1&lt;&lt;24)+23).

F15
int F15;

Keyboard event constant representing the F15 key (value is (1&lt;&lt;24)+24).

KEYPAD_MULTIPLY
int KEYPAD_MULTIPLY;

Keyboard event constant representing the numeric key pad multiply key (value is (1&lt;&lt;24)+42).

KEYPAD_ADD
int KEYPAD_ADD;

Keyboard event constant representing the numeric key pad add key (value is (1&lt;&lt;24)+43).

KEYPAD_SUBTRACT
int KEYPAD_SUBTRACT;

Keyboard event constant representing the numeric key pad subtract key (value is (1&lt;&lt;24)+45).

KEYPAD_DECIMAL
int KEYPAD_DECIMAL;

Keyboard event constant representing the numeric key pad decimal key (value is (1&lt;&lt;24)+46).

KEYPAD_DIVIDE
int KEYPAD_DIVIDE;

Keyboard event constant representing the numeric key pad divide key (value is (1&lt;&lt;24)+47).

KEYPAD_0
int KEYPAD_0;

Keyboard event constant representing the numeric key pad zero key (value is (1&lt;&lt;24)+48).

KEYPAD_1
int KEYPAD_1;

Keyboard event constant representing the numeric key pad one key (value is (1&lt;&lt;24)+49).

KEYPAD_2
int KEYPAD_2;

Keyboard event constant representing the numeric key pad two key (value is (1&lt;&lt;24)+50).

KEYPAD_3
int KEYPAD_3;

Keyboard event constant representing the numeric key pad three key (value is (1&lt;&lt;24)+51).

KEYPAD_4
int KEYPAD_4;

Keyboard event constant representing the numeric key pad four key (value is (1&lt;&lt;24)+52).

KEYPAD_5
int KEYPAD_5;

Keyboard event constant representing the numeric key pad five key (value is (1&lt;&lt;24)+53).

KEYPAD_6
int KEYPAD_6;

Keyboard event constant representing the numeric key pad six key (value is (1&lt;&lt;24)+54).

KEYPAD_7
int KEYPAD_7;

Keyboard event constant representing the numeric key pad seven key (value is (1&lt;&lt;24)+55).

KEYPAD_8
int KEYPAD_8;

Keyboard event constant representing the numeric key pad eight key (value is (1&lt;&lt;24)+56).

KEYPAD_9
int KEYPAD_9;

Keyboard event constant representing the numeric key pad nine key (value is (1&lt;&lt;24)+57).

KEYPAD_EQUAL
int KEYPAD_EQUAL;

Keyboard event constant representing the numeric key pad equal key (value is (1&lt;&lt;24)+61).

KEYPAD_CR
int KEYPAD_CR;

Keyboard event constant representing the numeric key pad enter key (value is (1&lt;&lt;24)+80).

HELP
int HELP;

Keyboard event constant representing the help key (value is (1&lt;&lt;24)+81).

CAPS_LOCK
int CAPS_LOCK;

Keyboard event constant representing the caps lock key (value is (1&lt;&lt;24)+82).

NUM_LOCK
int NUM_LOCK;

Keyboard event constant representing the num lock key (value is (1&lt;&lt;24)+83).

SCROLL_LOCK
int SCROLL_LOCK;

Keyboard event constant representing the scroll lock key (value is (1&lt;&lt;24)+84).

PAUSE
int PAUSE;

Keyboard event constant representing the pause key (value is (1&lt;&lt;24)+85).

BREAK
int BREAK;

Keyboard event constant representing the break key (value is (1&lt;&lt;24)+86).

PRINT_SCREEN
int PRINT_SCREEN;

Keyboard event constant representing the print screen key (value is (1&lt;&lt;24)+87).

ICON_ERROR
int ICON_ERROR;

The <code>MessageBox</code> style constant for error icon behavior (value is 1).

ICON_INFORMATION
int ICON_INFORMATION;

The <code>MessageBox</code> style constant for information icon behavior (value is 1&lt;&lt;1).

ICON_QUESTION
int ICON_QUESTION;

The <code>MessageBox</code> style constant for question icon behavior (value is 1&lt;&lt;2).

ICON_WARNING
int ICON_WARNING;

The <code>MessageBox</code> style constant for warning icon behavior (value is 1&lt;&lt;3).

ICON_WORKING
int ICON_WORKING;

The <code>MessageBox</code> style constant for "working" icon behavior (value is 1&lt;&lt;4).

OK
int OK;

The <code>MessageBox</code> style constant for an OK button; valid combinations are OK, OK|CANCEL (value is 1&lt;&lt;5).

YES
int YES;

The <code>MessageBox</code> style constant for YES button; valid combinations are YES|NO, YES|NO|CANCEL (value is 1&lt;&lt;6).

NO
int NO;

The <code>MessageBox</code> style constant for NO button; valid combinations are YES|NO, YES|NO|CANCEL (value is 1&lt;&lt;7).

CANCEL
int CANCEL;

The <code>MessageBox</code> style constant for a CANCEL button; valid combinations are OK|CANCEL, YES|NO|CANCEL, RETRY|CANCEL (value is 1&lt;&lt;8). This style constant is also used with <code>Text</code> in combination with SEARCH.

ABORT
int ABORT;

The <code>MessageBox</code> style constant for an ABORT button; the only valid combination is ABORT|RETRY|IGNORE (value is 1&lt;&lt;9).

RETRY
int RETRY;

The <code>MessageBox</code> style constant for a RETRY button; valid combinations are ABORT|RETRY|IGNORE, RETRY|CANCEL (value is 1&lt;&lt;10).

IGNORE
int IGNORE;

The <code>MessageBox</code> style constant for an IGNORE button; the only valid combination is ABORT|RETRY|IGNORE (value is 1&lt;&lt;11).

OPEN
int OPEN;

The <code>FileDialog</code> style constant for open file dialog behavior (value is 1&lt;&lt;12).

SAVE
int SAVE;

The <code>FileDialog</code> style constant for save file dialog behavior (value is 1&lt;&lt;13).

INHERIT_NONE
int INHERIT_NONE;

The <code>Composite</code> constant to indicate that an attribute (such as background) is not inherited by the children (value is 0).

INHERIT_DEFAULT
int INHERIT_DEFAULT;

The <code>Composite</code> constant to indicate that an attribute (such as background) is inherited by children who choose this value as their "default" (value is 1). For example, a label child will typically choose to inherit the background color of a composite while a list or table will not.

INHERIT_FORCE
int INHERIT_FORCE;

The <code>Composite</code> constant to indicate that an attribute (such as background) is inherited by all children.

COLOR_WHITE
int COLOR_WHITE;

Default color white (value is 1).

COLOR_BLACK
int COLOR_BLACK;

Default color black (value is 2).

COLOR_RED
int COLOR_RED;

Default color red (value is 3).

COLOR_DARK_RED
int COLOR_DARK_RED;

Default color dark red (value is 4).

COLOR_GREEN
int COLOR_GREEN;

Default color green (value is 5).

COLOR_DARK_GREEN
int COLOR_DARK_GREEN;

Default color dark green (value is 6).

COLOR_YELLOW
int COLOR_YELLOW;

Default color yellow (value is 7).

COLOR_DARK_YELLOW
int COLOR_DARK_YELLOW;

Default color dark yellow (value is 8).

COLOR_BLUE
int COLOR_BLUE;

Default color blue (value is 9).

COLOR_DARK_BLUE
int COLOR_DARK_BLUE;

Default color dark blue (value is 10).

COLOR_MAGENTA
int COLOR_MAGENTA;

Default color magenta (value is 11).

COLOR_DARK_MAGENTA
int COLOR_DARK_MAGENTA;

Default color dark magenta (value is 12).

COLOR_CYAN
int COLOR_CYAN;

Default color cyan (value is 13).

COLOR_DARK_CYAN
int COLOR_DARK_CYAN;

Default color dark cyan (value is 14).

COLOR_GRAY
int COLOR_GRAY;

Default color gray (value is 15).

COLOR_DARK_GRAY
int COLOR_DARK_GRAY;

Default color dark gray (value is 16).

COLOR_WIDGET_DARK_SHADOW
int COLOR_WIDGET_DARK_SHADOW;

System color used to paint dark shadow areas (value is 17).

COLOR_WIDGET_NORMAL_SHADOW
int COLOR_WIDGET_NORMAL_SHADOW;

System color used to paint normal shadow areas (value is 18).

COLOR_WIDGET_LIGHT_SHADOW
int COLOR_WIDGET_LIGHT_SHADOW;

System color used to paint light shadow areas (value is 19).

COLOR_WIDGET_HIGHLIGHT_SHADOW
int COLOR_WIDGET_HIGHLIGHT_SHADOW;

System color used to paint highlight shadow areas (value is 20).

COLOR_WIDGET_FOREGROUND
int COLOR_WIDGET_FOREGROUND;

System color used to paint foreground areas (value is 21).

COLOR_WIDGET_BACKGROUND
int COLOR_WIDGET_BACKGROUND;

System color used to paint background areas (value is 22).

COLOR_WIDGET_BORDER
int COLOR_WIDGET_BORDER;

System color used to paint border areas (value is 23).

COLOR_LIST_FOREGROUND
int COLOR_LIST_FOREGROUND;

System color used to paint list foreground areas (value is 24).

COLOR_LIST_BACKGROUND
int COLOR_LIST_BACKGROUND;

System color used to paint list background areas (value is 25).

COLOR_LIST_SELECTION
int COLOR_LIST_SELECTION;

System color used to paint list selection background areas (value is 26).

COLOR_LIST_SELECTION_TEXT
int COLOR_LIST_SELECTION_TEXT;

System color used to paint list selected text (value is 27).

COLOR_INFO_FOREGROUND
int COLOR_INFO_FOREGROUND;

System color used to paint tooltip text (value is 28).

COLOR_INFO_BACKGROUND
int COLOR_INFO_BACKGROUND;

System color used to paint tooltip background areas (value is 29).

COLOR_TITLE_FOREGROUND
int COLOR_TITLE_FOREGROUND;

System color used to paint title text (value is 30).

COLOR_TITLE_BACKGROUND
int COLOR_TITLE_BACKGROUND;

System color used to paint title background areas (value is 31).

COLOR_TITLE_BACKGROUND_GRADIENT
int COLOR_TITLE_BACKGROUND_GRADIENT;

System color used to paint title background gradient (value is 32).

COLOR_TITLE_INACTIVE_FOREGROUND
int COLOR_TITLE_INACTIVE_FOREGROUND;

System color used to paint inactive title text (value is 33).

COLOR_TITLE_INACTIVE_BACKGROUND
int COLOR_TITLE_INACTIVE_BACKGROUND;

System color used to paint inactive title background areas (value is 34).

COLOR_TITLE_INACTIVE_BACKGROUND_GRADIENT
int COLOR_TITLE_INACTIVE_BACKGROUND_GRADIENT;

System color used to paint inactive title background gradient (value is 35).

DRAW_TRANSPARENT
int DRAW_TRANSPARENT;

Draw constant indicating whether the drawing operation should fill the background (value is 1&lt;&lt;0).

DRAW_DELIMITER
int DRAW_DELIMITER;

Draw constant indicating whether the string drawing operation should handle line-delimiters (value is 1&lt;&lt;1).

DRAW_TAB
int DRAW_TAB;

Draw constant indicating whether the string drawing operation should expand TAB characters (value is 1&lt;&lt;2).

DRAW_MNEMONIC
int DRAW_MNEMONIC;

Draw constant indicating whether the string drawing operation should handle mnemonics (value is 1&lt;&lt;3).

DELIMITER_SELECTION
int DELIMITER_SELECTION;

Selection constant indicating that a line delimiter should be drawn (value is 1&lt;&lt;17).

LAST_LINE_SELECTION
int LAST_LINE_SELECTION;

Selection constant indicating that the last line is selected to the end and should be drawn using either a line delimiter or full line selection (value is 1&lt;&lt;20).

ERROR_UNSPECIFIED
int ERROR_UNSPECIFIED;

SWT error constant indicating that no error number was specified (value is 1).

ERROR_NO_HANDLES
int ERROR_NO_HANDLES;

SWT error constant indicating that no more handles for an operating system resource are available (value is 2).

ERROR_NO_MORE_CALLBACKS
int ERROR_NO_MORE_CALLBACKS;

SWT error constant indicating that no more callback resources are available (value is 3).

ERROR_NULL_ARGUMENT
int ERROR_NULL_ARGUMENT;

SWT error constant indicating that a null argument was passed in (value is 4).

ERROR_INVALID_ARGUMENT
int ERROR_INVALID_ARGUMENT;

SWT error constant indicating that an invalid argument was passed in (value is 5).

ERROR_INVALID_RANGE
int ERROR_INVALID_RANGE;

SWT error constant indicating that a value was found to be outside the allowable range (value is 6).

ERROR_CANNOT_BE_ZERO
int ERROR_CANNOT_BE_ZERO;

SWT error constant indicating that a value which can not be zero was found to be (value is 7).

ERROR_CANNOT_GET_ITEM
int ERROR_CANNOT_GET_ITEM;

SWT error constant indicating that the underlying operating system was unable to provide the value of an item (value is 8).

ERROR_CANNOT_GET_SELECTION
int ERROR_CANNOT_GET_SELECTION;

SWT error constant indicating that the underlying operating system was unable to provide the selection (value is 9).

ERROR_CANNOT_INVERT_MATRIX
int ERROR_CANNOT_INVERT_MATRIX;

SWT error constant indicating that the matrix is not invertible (value is 10).

ERROR_CANNOT_GET_ITEM_HEIGHT
int ERROR_CANNOT_GET_ITEM_HEIGHT;

SWT error constant indicating that the underlying operating system was unable to provide the height of an item (value is 11).

ERROR_CANNOT_GET_TEXT
int ERROR_CANNOT_GET_TEXT;

SWT error constant indicating that the underlying operating system was unable to provide the text of a widget (value is 12).

ERROR_CANNOT_SET_TEXT
int ERROR_CANNOT_SET_TEXT;

SWT error constant indicating that the underlying operating system was unable to set the text of a widget (value is 13).

ERROR_ITEM_NOT_ADDED
int ERROR_ITEM_NOT_ADDED;

SWT error constant indicating that the underlying operating system was unable to add an item (value is 14).

ERROR_ITEM_NOT_REMOVED
int ERROR_ITEM_NOT_REMOVED;

SWT error constant indicating that the underlying operating system was unable to remove an item (value is 15).

ERROR_NO_GRAPHICS_LIBRARY
int ERROR_NO_GRAPHICS_LIBRARY;

SWT error constant indicating that the graphics library is not available (value is 16).

ERROR_NOT_IMPLEMENTED
int ERROR_NOT_IMPLEMENTED;

SWT error constant indicating that a particular feature has not been implemented on this platform (value is 20).

ERROR_MENU_NOT_DROP_DOWN
int ERROR_MENU_NOT_DROP_DOWN;

SWT error constant indicating that a menu which needed to have the drop down style had some other style instead (value is 21).

ERROR_THREAD_INVALID_ACCESS
int ERROR_THREAD_INVALID_ACCESS;

SWT error constant indicating that an attempt was made to invoke an SWT operation which can only be executed by the user-interface thread from some other thread (value is 22).

ERROR_WIDGET_DISPOSED
int ERROR_WIDGET_DISPOSED;

SWT error constant indicating that an attempt was made to invoke an SWT operation using a widget which had already been disposed (value is 24).

ERROR_MENUITEM_NOT_CASCADE
int ERROR_MENUITEM_NOT_CASCADE;

SWT error constant indicating that a menu item which needed to have the cascade style had some other style instead (value is 27).

ERROR_CANNOT_SET_SELECTION
int ERROR_CANNOT_SET_SELECTION;

SWT error constant indicating that the underlying operating system was unable to set the selection of a widget (value is 28).

ERROR_CANNOT_SET_MENU
int ERROR_CANNOT_SET_MENU;

SWT error constant indicating that the underlying operating system was unable to set the menu (value is 29).

ERROR_CANNOT_SET_ENABLED
int ERROR_CANNOT_SET_ENABLED;

SWT error constant indicating that the underlying operating system was unable to set the enabled state (value is 30).

ERROR_CANNOT_GET_ENABLED
int ERROR_CANNOT_GET_ENABLED;

SWT error constant indicating that the underlying operating system was unable to provide enabled/disabled state information (value is 31).

ERROR_INVALID_PARENT
int ERROR_INVALID_PARENT;

SWT error constant indicating that a provided widget can not be used as a parent in the current operation (value is 32).

ERROR_MENU_NOT_BAR
int ERROR_MENU_NOT_BAR;

SWT error constant indicating that a menu which needed to have the menu bar style had some other style instead (value is 33).

ERROR_CANNOT_GET_COUNT
int ERROR_CANNOT_GET_COUNT;

SWT error constant indicating that the underlying operating system was unable to provide count information (value is 36).

ERROR_MENU_NOT_POP_UP
int ERROR_MENU_NOT_POP_UP;

SWT error constant indicating that a menu which needed to have the pop up menu style had some other style instead (value is 37).

ERROR_UNSUPPORTED_DEPTH
int ERROR_UNSUPPORTED_DEPTH;

SWT error constant indicating that a graphics operation was attempted with an image of an unsupported depth (value is 38).

ERROR_IO
int ERROR_IO;

SWT error constant indicating that an input/output operation failed during the execution of an SWT operation (value is 39).

ERROR_INVALID_IMAGE
int ERROR_INVALID_IMAGE;

SWT error constant indicating that a graphics operation was attempted with an image having an invalid format (value is 40).

ERROR_UNSUPPORTED_FORMAT
int ERROR_UNSUPPORTED_FORMAT;

SWT error constant indicating that a graphics operation was attempted with an image having a valid but unsupported format (value is 42).

ERROR_INVALID_SUBCLASS
int ERROR_INVALID_SUBCLASS;

SWT error constant indicating that an attempt was made to subclass an SWT widget class without implementing the <code>checkSubclass()</code> method (value is 43).

ERROR_GRAPHIC_DISPOSED
int ERROR_GRAPHIC_DISPOSED;

SWT error constant indicating that an attempt was made to invoke an SWT operation using a graphics object which had already been disposed (value is 44).

ERROR_DEVICE_DISPOSED
int ERROR_DEVICE_DISPOSED;

SWT error constant indicating that an attempt was made to invoke an SWT operation using a device which had already been disposed (value is 45).

ERROR_FAILED_EXEC
int ERROR_FAILED_EXEC;

SWT error constant indicating that an exception happened when executing a runnable (value is 46).

ERROR_FAILED_LOAD_LIBRARY
int ERROR_FAILED_LOAD_LIBRARY;

SWT error constant indicating that an unsatisfied link error occurred while attempting to load a library (value is 47).

ERROR_INVALID_FONT
int ERROR_INVALID_FONT;

SWT error constant indicating that a font is not valid (value is 48).

BITMAP
int BITMAP;

Constant indicating that an image or operation is of type bitmap (value is 0).

ICON
int ICON;

Constant indicating that an image or operation is of type icon (value is 1).

IMAGE_COPY
int IMAGE_COPY;

The <code>Image</code> constructor argument indicating that the new image should be a copy of the image provided as an argument (value is 0).

IMAGE_DISABLE
int IMAGE_DISABLE;

The <code>Image</code> constructor argument indicating that the new image should have the appearance of a "disabled" (using the platform's rules for how this should look) copy of the image provided as an argument (value is 1).

IMAGE_GRAY
int IMAGE_GRAY;

The <code>Image</code> constructor argument indicating that the new image should have the appearance of a "gray scaled" copy of the image provided as an argument (value is 2).

ERROR
int ERROR;

Constant to indicate an error state (value is 1). <p><b>Used By:</b><ul> <li><code>ProgressBar</code></li> </ul></p>

PAUSED
int PAUSED;

Constant to a indicate a paused state (value is 4). <p><b>Used By:</b><ul> <li><code>ProgressBar</code></li> </ul></p>

NORMAL
int NORMAL;

The font style constant indicating a normal weight, non-italic font (value is 0). This constant is also used with <code>ProgressBar</code> to indicate a normal state. <p><b>Used By:</b><ul> <li><code>ProgressBar</code></li> </ul></p>

BOLD
int BOLD;

The font style constant indicating a bold weight font (value is 1&lt;&lt;0).

ITALIC
int ITALIC;

The font style constant indicating an italic font (value is 1&lt;&lt;1).

CURSOR_ARROW
int CURSOR_ARROW;

System arrow cursor (value is 0).

CURSOR_WAIT
int CURSOR_WAIT;

System wait cursor (value is 1).

CURSOR_CROSS
int CURSOR_CROSS;

System cross hair cursor (value is 2).

CURSOR_APPSTARTING
int CURSOR_APPSTARTING;

System app startup cursor (value is 3).

CURSOR_HELP
int CURSOR_HELP;

System help cursor (value is 4).

CURSOR_SIZEALL
int CURSOR_SIZEALL;

System resize all directions cursor (value is 5).

CURSOR_SIZENESW
int CURSOR_SIZENESW;

System resize north-east-south-west cursor (value is 6).

CURSOR_SIZENS
int CURSOR_SIZENS;

System resize north-south cursor (value is 7).

CURSOR_SIZENWSE
int CURSOR_SIZENWSE;

System resize north-west-south-east cursor (value is 8).

CURSOR_SIZEWE
int CURSOR_SIZEWE;

System resize west-east cursor (value is 9).

CURSOR_SIZEN
int CURSOR_SIZEN;

System resize north cursor (value is 10).

CURSOR_SIZES
int CURSOR_SIZES;

System resize south cursor (value is 11).

CURSOR_SIZEE
int CURSOR_SIZEE;

System resize east cursor (value is 12).

CURSOR_SIZEW
int CURSOR_SIZEW;

System resize west cursor (value is 13).

CURSOR_SIZENE
int CURSOR_SIZENE;

System resize north-east cursor (value is 14).

CURSOR_SIZESE
int CURSOR_SIZESE;

System resize south-east cursor (value is 15).

CURSOR_SIZESW
int CURSOR_SIZESW;

System resize south-west cursor (value is 16).

CURSOR_SIZENW
int CURSOR_SIZENW;

System resize north-west cursor (value is 17).

CURSOR_UPARROW
int CURSOR_UPARROW;

System up arrow cursor (value is 18).

CURSOR_IBEAM
int CURSOR_IBEAM;

System i-beam cursor (value is 19).

CURSOR_NO
int CURSOR_NO;

System "not allowed" cursor (value is 20).

CURSOR_HAND
int CURSOR_HAND;

System hand cursor (value is 21).

CAP_FLAT
int CAP_FLAT;

Line drawing style for flat end caps (value is 1).

CAP_ROUND
int CAP_ROUND;

Line drawing style for rounded end caps (value is 2).

CAP_SQUARE
int CAP_SQUARE;

Line drawing style for square end caps (value is 3).

JOIN_MITER
int JOIN_MITER;

Line drawing style for miter joins (value is 1).

JOIN_ROUND
int JOIN_ROUND;

Line drawing style for rounded joins (value is 2).

JOIN_BEVEL
int JOIN_BEVEL;

Line drawing style for bevel joins (value is 3).

LINE_SOLID
int LINE_SOLID;

Line drawing style for solid lines (value is 1).

LINE_DASH
int LINE_DASH;

Line drawing style for dashed lines (value is 2).

LINE_DOT
int LINE_DOT;

Line drawing style for dotted lines (value is 3).

LINE_DASHDOT
int LINE_DASHDOT;

Line drawing style for alternating dash-dot lines (value is 4).

LINE_DASHDOTDOT
int LINE_DASHDOTDOT;

Line drawing style for dash-dot-dot lines (value is 5).

LINE_CUSTOM
int LINE_CUSTOM;

Line drawing style for custom dashed lines (value is 6).

PATH_MOVE_TO
int PATH_MOVE_TO;

Path constant that represents a "move to" operation (value is 1).

PATH_LINE_TO
int PATH_LINE_TO;

Path constant that represents a "line to" operation (value is 2).

PATH_QUAD_TO
int PATH_QUAD_TO;

Path constant that represents a "quadratic curve to" operation (value is 3).

PATH_CUBIC_TO
int PATH_CUBIC_TO;

Path constant that represents a "cubic curve to" operation (value is 4).

PATH_CLOSE
int PATH_CLOSE;

Path constant that represents a "close" operation (value is 5).

FILL_EVEN_ODD
int FILL_EVEN_ODD;

Even odd rule for filling operations (value is 1).

FILL_WINDING
int FILL_WINDING;

Winding rule for filling operations (value is 2).

IMAGE_UNDEFINED
int IMAGE_UNDEFINED;

Image format constant indicating an unknown image type (value is -1).

IMAGE_BMP
int IMAGE_BMP;

Image format constant indicating a Windows BMP format image (value is 0).

IMAGE_BMP_RLE
int IMAGE_BMP_RLE;

Image format constant indicating a run-length encoded Windows BMP format image (value is 1).

IMAGE_GIF
int IMAGE_GIF;

Image format constant indicating a GIF format image (value is 2).

IMAGE_ICO
int IMAGE_ICO;

Image format constant indicating a ICO format image (value is 3).

IMAGE_JPEG
int IMAGE_JPEG;

Image format constant indicating a JPEG format image (value is 4).

IMAGE_PNG
int IMAGE_PNG;

Image format constant indicating a PNG format image (value is 5).

IMAGE_TIFF
int IMAGE_TIFF;

Image format constant indicating a TIFF format image (value is 6).

IMAGE_OS2_BMP
int IMAGE_OS2_BMP;

Image format constant indicating an OS/2 BMP format image (value is 7).

DM_UNSPECIFIED
int DM_UNSPECIFIED;

GIF image disposal method constants indicating that the disposal method is unspecified (value is 0).

DM_FILL_NONE
int DM_FILL_NONE;

GIF image disposal method constants indicating that the disposal method is to do nothing; that is, to leave the previous image in place (value is 1).

DM_FILL_BACKGROUND
int DM_FILL_BACKGROUND;

GIF image disposal method constants indicating that the the previous images should be covered with the background color before displaying the next image (value is 2).

DM_FILL_PREVIOUS
int DM_FILL_PREVIOUS;

GIF image disposal method constants indicating that the disposal method is to restore the previous picture (value is 3).

TRANSPARENCY_NONE
int TRANSPARENCY_NONE;

Image transparency constant indicating that the image contains no transparency information (value is 0).

TRANSPARENCY_ALPHA
int TRANSPARENCY_ALPHA;

Image transparency constant indicating that the image contains alpha transparency information (value is 1&lt;&lt;0).

TRANSPARENCY_MASK
int TRANSPARENCY_MASK;

Image transparency constant indicating that the image contains a transparency mask (value is 1&lt;&lt;1).

TRANSPARENCY_PIXEL
int TRANSPARENCY_PIXEL;

Image transparency constant indicating that the image contains a transparent pixel (value is 1&lt;&lt;2).

MOVEMENT_CHAR
int MOVEMENT_CHAR;

The character movement type (value is 1&lt;&lt;0). This constant is used to move a text offset over a character.

MOVEMENT_CLUSTER
int MOVEMENT_CLUSTER;

The cluster movement type (value is 1&lt;&lt;1). This constant is used to move a text offset over a cluster. A cluster groups one or more characters. A cluster is undivisible, this means that a caret offset can not be placed in the middle of a cluster.

MOVEMENT_WORD
int MOVEMENT_WORD;

The word movement type (value is 1&lt;&lt;2). This constant is used to move a text offset over a word. The behavior of this constant depends on the platform and on the direction of the movement. For example, on Windows the stop is always at the start of the word. On GTK and Mac the stop is at the end of the word if the direction is next and at the start of the word if the direction is previous.

MOVEMENT_WORD_END
int MOVEMENT_WORD_END;

The word end movement type (value is 1&lt;&lt;3). This constant is used to move a text offset to the next or previous word end. The behavior of this constant does not depend on the platform.

MOVEMENT_WORD_START
int MOVEMENT_WORD_START;

The word start movement type (value is 1&lt;&lt;4). This constant is used to move a text offset to the next or previous word start. The behavior of this constant does not depend on the platform.

findErrorText
String findErrorText(int code)

Answers a concise, human readable description of the error code.

getMessage
String getMessage(String key)

Returns the NLS'ed message for the given argument.

getPlatform
String getPlatform()

Returns the SWT platform name.

getVersion
int getVersion()

Returns the SWT version number as an integer.

error
void error(String file, long line, int code)

Throws an appropriate exception based on the passed in error code.

error
void error(int code, Exception throwable)

Throws an appropriate exception based on the passed in error code. The <code>throwable</code> argument should be either null, or the throwable which caused SWT to throw an exception. <p> In SWT, errors are reported by throwing one of three exceptions: <dl> <dd>java.lang.IllegalArgumentException</dd> <dt>thrown whenever one of the API methods is invoked with an illegal argument</dt> <dd>org.eclipse.swt.SWTException (extends java.lang.RuntimeException)</dd> <dt>thrown whenever a recoverable error happens internally in SWT</dt> <dd>org.eclipse.swt.SWTError (extends java.lang.Error)</dd> <dt>thrown whenever a <b>non-recoverable</b> error happens internally in SWT</dt> </dl> This method provides the logic which maps between error codes and one of the above exceptions. </p>

error
void error(int code, Exception throwable, String detail)

Throws an appropriate exception based on the passed in error code. The <code>throwable</code> argument should be either null, or the throwable which caused SWT to throw an exception. <p> In SWT, errors are reported by throwing one of three exceptions: <dl> <dd>java.lang.IllegalArgumentException</dd> <dt>thrown whenever one of the API methods is invoked with an illegal argument</dt> <dd>org.eclipse.swt.SWTException (extends java.lang.RuntimeException)</dd> <dt>thrown whenever a recoverable error happens internally in SWT</dt> <dd>org.eclipse.swt.SWTError (extends java.lang.Error)</dd> <dt>thrown whenever a <b>non-recoverable</b> error happens internally in SWT</dt> </dl> This method provides the logic which maps between error codes and one of the above exceptions. </p>

Meta