📄 swt.java
字号:
* invoke an SWT operation using a widget which had already * been disposed * (value is 24). */ public static final int ERROR_WIDGET_DISPOSED = 24; /** * SWT error constant indicating that a menu item which needed * to have the cascade style had some other style instead * (value is 27). */ public static final int ERROR_MENUITEM_NOT_CASCADE = 27; /** * SWT error constant indicating that the underlying operating * system was unable to set the selection of a widget * (value is 28). */ public static final int ERROR_CANNOT_SET_SELECTION = 28; /** * SWT error constant indicating that the underlying operating * system was unable to set the menu * (value is 29). */ public static final int ERROR_CANNOT_SET_MENU = 29; /** * SWT error constant indicating that the underlying operating * system was unable to set the enabled state * (value is 30). */ public static final int ERROR_CANNOT_SET_ENABLED = 30; /** * SWT error constant indicating that the underlying operating * system was unable to provide enabled/disabled state information * (value is 31). */ public static final int ERROR_CANNOT_GET_ENABLED = 31; /** * SWT error constant indicating that a provided widget can * not be used as a parent in the current operation * (value is 32). */ public static final int ERROR_INVALID_PARENT = 32; /** * SWT error constant indicating that a menu which needed * to have the menu bar style had some other style instead * (value is 33). */ public static final int ERROR_MENU_NOT_BAR = 33; /** * SWT error constant indicating that the underlying operating * system was unable to provide count information * (value is 36). */ public static final int ERROR_CANNOT_GET_COUNT = 36; /** * SWT error constant indicating that a menu which needed * to have the pop up menu style had some other style instead * (value is 37). */ public static final int ERROR_MENU_NOT_POP_UP = 37; /** * SWT error constant indicating that a graphics operation * was attempted with an image of an unsupported depth * (value is 38). */ public static final int ERROR_UNSUPPORTED_DEPTH = 38; /** * SWT error constant indicating that an input/output operation * failed during the execution of an SWT operation * (value is 39). */ public static final int ERROR_IO = 39; /** * SWT error constant indicating that a graphics operation * was attempted with an image having an invalid format * (value is 40). */ public static final int ERROR_INVALID_IMAGE = 40; /** * SWT error constant indicating that a graphics operation * was attempted with an image having a valid but unsupported * format * (value is 42). */ public static final int ERROR_UNSUPPORTED_FORMAT = 42; /** * 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). * * For additional information see the comment in * <code>Widget.checkSubclass()</code>. * * @see org.eclipse.swt.widgets.Widget#checkSubclass */ public static final int ERROR_INVALID_SUBCLASS = 43; /** * 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). */ public static final int ERROR_GRAPHIC_DISPOSED = 44; /** * 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). */ public static final int ERROR_DEVICE_DISPOSED = 45; /** * SWT error constant indicating that an exception happened * when executing a runnable * (value is 46). */ public static final int ERROR_FAILED_EXEC = 46; /** * SWT error constant indicating that an unsatisfied link * error occured while attempting to load a library * (value is 47). */ public static final int ERROR_FAILED_LOAD_LIBRARY = 47; /** * Traversal event detail field value indicating that no * traversal action should be taken * (value is 0). */ public static final int TRAVERSE_NONE = 0; /** * 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<<1). */ public static final int TRAVERSE_ESCAPE = 1 << 1; /** * 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<<2). */ public static final int TRAVERSE_RETURN = 1 << 2; /** * 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<<3). */ public static final int TRAVERSE_TAB_PREVIOUS = 1 << 3; /** * 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<<4). */ public static final int TRAVERSE_TAB_NEXT = 1 << 4; /** * 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<<5). */ public static final int TRAVERSE_ARROW_PREVIOUS = 1 << 5; /** * 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<<6). */ public static final int TRAVERSE_ARROW_NEXT = 1 << 6; /** * Traversal event detail field value indicating that a * mnemonic key sequence was pressed * (value is 1<<7). */ public static final int TRAVERSE_MNEMONIC = 1 << 7; /** * 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<<8). */ public static final int TRAVERSE_PAGE_PREVIOUS = 1 << 8; /** * 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<<9). */ public static final int TRAVERSE_PAGE_NEXT = 1 << 9; /** * Constant indicating that an image or operation is of type bitmap (value is 0). */ public static final int BITMAP = 0; /** * Constant indicating that an image or operation is of type icon (value is 1). */ public static final int ICON = 1; /** * 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). */ public static final int IMAGE_COPY = 0; /** * 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). */ public static final int IMAGE_DISABLE = 1; /** * 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). */ public static final int IMAGE_GRAY = 2; /** * The font style constant indicating a normal weight, non-italic font * (value is 0). */ public static final int NORMAL = 0; /** * The font style constant indicating a bold weight font * (value is 1<<0). */ public static final int BOLD = 1 << 0; /** * The font style constant indicating an italic font * (value is 1<<1). */ public static final int ITALIC = 1 << 1; /** * System arrow cursor (value is 0). */ public static final int CURSOR_ARROW = 0; /** * System wait cursor (value is 1). */ public static final int CURSOR_WAIT = 1; /** * System cross hair cursor (value is 2). */ public static final int CURSOR_CROSS = 2; /** * System app startup cursor (value is 3). */ public static final int CURSOR_APPSTARTING = 3; /** * System help cursor (value is 4). */ public static final int CURSOR_HELP = 4; /** * System resize all directions cursor (value is 5). */ public static final int CURSOR_SIZEALL = 5; /** * System resize north-east-south-west cursor (value is 6). */ public static final int CURSOR_SIZENESW = 6; /** * System resize north-south cursor (value is 7). */ public static final int CURSOR_SIZENS = 7; /** * System resize north-west-south-east cursor (value is 8). */ public static final int CURSOR_SIZENWSE = 8; /** * System resize west-east cursor (value is 9). */ public static final int CURSOR_SIZEWE = 9; /** * System resize north cursor (value is 10). */ public static final int CURSOR_SIZEN = 10; /** * System resize south cursor (value is 11). */ public static final int CURSOR_SIZES = 11; /** * System resize east cursor (value is 12). */ public static final int CURSOR_SIZEE = 12; /** * System resize west cursor (value is 13). */ public static final int CURSOR_SIZEW = 13; /** * System resize north-east cursor (value is 14). */ public static final int CURSOR_SIZENE = 14; /** * System resize south-east cursor (value is 15). */ public static final int CURSOR_SIZESE = 15; /** * System resize south-west cursor (value is 16). */ public static final int CURSOR_SIZESW = 16; /** * System resize north-west cursor (value is 17). */ public static final int CURSOR_SIZENW = 17; /** * System up arrow cursor (value is 18). */ public static final int CURSOR_UPARROW = 18; /** * System i-beam cursor (value is 19). */ public static final int CURSOR_IBEAM = 19; /** * System "not allowed" cursor (value is 20). */ public static final int CURSOR_NO = 20; /** * System hand cursor (value is 21). */ public static final int CURSOR_HAND = 21; /** * Line drawing style for solid lines (value is 1). */ public static final int LINE_SOLID = 1; /** * Line drawing style for dashed lines (value is 2). */ public static final int LINE_DASH = 2; /** * Line drawing style for dotted lines (value is 3). */ public static final int LINE_DOT = 3; /** * Line drawing style for alternating dash-dot lines (value is 4). */ public static final int LINE_DASHDOT = 4; /** * Line drawing style for dash-dot-dot lines (value is 5). */ public static final int LINE_DASHDOTDOT = 5; /** * Image format constant indicating an unknown image type (value is -1). */ public static final int IMAGE_UNDEFINED = -1; /** * Image format constant indicating a Windows BMP format image (value is 0). */ public static final int IMAGE_BMP = 0; /** * Image format constant indicating a run-length encoded * Windows BMP format image (value is 1). */ public static final int IMAGE_BMP_RLE = 1; /** * Image format constant indicating a GIF format image (value is 2). */ public static final int IMAGE_GIF = 2; /** * Image format constant indicating a ICO format image (value is 3). */ public static final int IMAGE_ICO = 3; /** * Image format constant indicating a JPEG format image (value is 4). */ public static final int IMAGE_JPEG = 4; /** * Image format constant indicating a PNG format image (value is 5). */ public static final int IMAGE_PNG = 5; /** * Image format constant indicating a TIFF format image (value is 6). */ public static final int IMAGE_TIFF = 6; /** * GIF image disposal method constants indicating that the * disposal method is unspecified (value is 0). */ public static final int DM_UNSPECIFIED = 0x0; /** * 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). */ public static final int DM_FILL_NONE = 0x1; /** * 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). */ public static final int DM_FILL_BACKGROUND = 0x2; /** * GIF image disposal method constants indicating that the * disposal method is to restore the previous picture * (value is 3). */ public static final int DM_FILL_PREVIOUS = 0x3; /** * Image transparency constant indicating that the image * contains no transparency information (value is 0). */ public static final int TRANSPARENCY_NONE = 0x0; /** * Image transparency constant indicating that the image * contains alpha transparency information (value is 1<&
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -