org.eclipse.swt.win32.win32.x86_64_3.100.1.v4236b

16:47:47.742 INFO  jd.cli.Main - Decompiling org.eclipse.swt.win32.win32.x86_64_3.100.1.v4236b.jar
package org.eclipse.swt;

import org.eclipse.swt.internal.Compatibility;
import org.eclipse.swt.internal.Library;
import org.eclipse.swt.internal.Platform;

public class SWT
{
  public static final int None = 0;
  public static final int KeyDown = 1;
  public static final int KeyUp = 2;
  public static final int MouseDown = 3;
  public static final int MouseUp = 4;
  public static final int MouseMove = 5;
  public static final int MouseEnter = 6;
  public static final int MouseExit = 7;
  public static final int MouseDoubleClick = 8;
  public static final int Paint = 9;
  public static final int Move = 10;
  public static final int Resize = 11;
  public static final int Dispose = 12;
  public static final int Selection = 13;
  public static final int DefaultSelection = 14;
  public static final int FocusIn = 15;
  public static final int FocusOut = 16;
  public static final int Expand = 17;
  public static final int Collapse = 18;
  public static final int Iconify = 19;
  public static final int Deiconify = 20;
  public static final int Close = 21;
  public static final int Show = 22;
  public static final int Hide = 23;
  public static final int Modify = 24;
  public static final int Verify = 25;
  public static final int Activate = 26;
  public static final int Deactivate = 27;
  public static final int Help = 28;
  public static final int DragDetect = 29;
  public static final int Arm = 30;
  public static final int Traverse = 31;
  public static final int MouseHover = 32;
  public static final int HardKeyDown = 33;
  public static final int HardKeyUp = 34;
  public static final int MenuDetect = 35;
  public static final int SetData = 36;
  public static final int MouseVerticalWheel = 37;
  public static final int MouseHorizontalWheel = 38;
  public static final int MouseWheel = 37;
  public static final int Settings = 39;
  public static final int EraseItem = 40;
  public static final int MeasureItem = 41;
  public static final int PaintItem = 42;
  public static final int ImeComposition = 43;
  public static final int OrientationChange = 44;
  public static final int Skin = 45;
  public static final int OpenDocument = 46;
  public static final int Touch = 47;
  public static final int Gesture = 48;
  public static final int Segments = 49;
  public static final int COMPOSITION_CHANGED = 1;
  public static final int COMPOSITION_OFFSET = 2;
  public static final int COMPOSITION_SELECTION = 3;
  public static final int DRAG = 1;
  public static final int SELECTED = 2;
  public static final int FOCUSED = 4;
  public static final int BACKGROUND = 8;
  public static final int FOREGROUND = 16;
  public static final int HOT = 32;
  public static final int TRAVERSE_NONE = 0;
  public static final int TRAVERSE_ESCAPE = 2;
  public static final int TRAVERSE_RETURN = 4;
  public static final int TRAVERSE_TAB_PREVIOUS = 8;
  public static final int TRAVERSE_TAB_NEXT = 16;
  public static final int TRAVERSE_ARROW_PREVIOUS = 32;
  public static final int TRAVERSE_ARROW_NEXT = 64;
  public static final int TRAVERSE_MNEMONIC = 128;
  public static final int TRAVERSE_PAGE_PREVIOUS = 256;
  public static final int TRAVERSE_PAGE_NEXT = 512;
  public static final int GESTURE_BEGIN = 2;
  public static final int GESTURE_END = 4;
  public static final int GESTURE_ROTATE = 8;
  public static final int GESTURE_SWIPE = 16;
  public static final int GESTURE_MAGNIFY = 32;
  public static final int GESTURE_PAN = 64;
  public static final int TOUCHSTATE_DOWN = 1;
  public static final int TOUCHSTATE_MOVE = 2;
  public static final int TOUCHSTATE_UP = 4;
  public static final int MENU_MOUSE = 0;
  public static final int MENU_KEYBOARD = 1;
  public static final int CHANGED = 2;
  public static final int DEFER = 4;
  public static final int NONE = 0;
  public static final int NULL = 0;
  public static final int DEFAULT = -1;
  public static final int OFF = 0;
  public static final int ON = 1;
  public static final int LOW = 1;
  public static final int HIGH = 2;
  public static final int BAR = 2;
  public static final int DROP_DOWN = 4;
  public static final int POP_UP = 8;
  public static final int SEPARATOR = 2;
  public static final int SEPARATOR_FILL = -2;
  public static final int TOGGLE = 2;
  public static final int ARROW = 4;
  public static final int PUSH = 8;
  public static final int RADIO = 16;
  public static final int CHECK = 32;
  public static final int CASCADE = 64;
  public static final int MULTI = 2;
  public static final int SINGLE = 4;
  public static final int READ_ONLY = 8;
  public static final int WRAP = 64;
  public static final int SEARCH = 128;
  public static final int SIMPLE = 64;
  public static final int PASSWORD = 4194304;
  public static final int SHADOW_IN = 4;
  public static final int SHADOW_OUT = 8;
  public static final int SHADOW_ETCHED_IN = 16;
  public static final int SHADOW_ETCHED_OUT = 64;
  public static final int SHADOW_NONE = 32;
  public static final int INDETERMINATE = 2;
  public static final int TOOL = 4;
  public static final int NO_TRIM = 8;
  public static final int RESIZE = 16;
  public static final int TITLE = 32;
  public static final int CLOSE = 64;
  public static final int MENU = 64;
  public static final int MIN = 128;
  public static final int MAX = 1024;
  public static final int H_SCROLL = 256;
  public static final int V_SCROLL = 512;
  public static final int NO_SCROLL = 16;
  public static final int BORDER = 2048;
  public static final int CLIP_CHILDREN = 4096;
  public static final int CLIP_SIBLINGS = 8192;
  public static final int ON_TOP = 16384;
  public static final int SHEET = 268435456;
  public static final int SHELL_TRIM = 1264;
  public static final int DIALOG_TRIM = 2144;
  public static final int MODELESS = 0;
  public static final int PRIMARY_MODAL = 32768;
  public static final int APPLICATION_MODAL = 65536;
  public static final int SYSTEM_MODAL = 131072;
  public static final int HIDE_SELECTION = 32768;
  public static final int FULL_SELECTION = 65536;
  public static final int FLAT = 8388608;
  public static final int SMOOTH = 65536;
  public static final int NO_BACKGROUND = 262144;
  public static final int NO_FOCUS = 524288;
  public static final int NO_REDRAW_RESIZE = 1048576;
  public static final int NO_MERGE_PAINTS = 2097152;
  public static final int NO_RADIO_GROUP = 4194304;
  public static final int LEFT_TO_RIGHT = 33554432;
  public static final int RIGHT_TO_LEFT = 67108864;
  public static final int MIRRORED = 134217728;
  public static final int EMBEDDED = 16777216;
  public static final int VIRTUAL = 268435456;
  public static final int DOUBLE_BUFFERED = 536870912;
  public static final int TRANSPARENT = 1073741824;
  public static final int UP = 128;
  public static final int UNDERLINE_SINGLE = 0;
  public static final int UNDERLINE_DOUBLE = 1;
  public static final int UNDERLINE_ERROR = 2;
  public static final int UNDERLINE_SQUIGGLE = 3;
  public static final int UNDERLINE_LINK = 4;
  public static final int BORDER_SOLID = 1;
  public static final int BORDER_DASH = 2;
  public static final int BORDER_DOT = 4;
  public static final int TOP = 128;
  public static final int DOWN = 1024;
  public static final int BOTTOM = 1024;
  public static final int LEAD = 16384;
  public static final int LEFT = 16384;
  public static final int TRAIL = 131072;
  public static final int RIGHT = 131072;
  public static final int CENTER = 16777216;
  public static final int HORIZONTAL = 256;
  public static final int VERTICAL = 512;
  public static final int DATE = 32;
  public static final int TIME = 128;
  public static final int CALENDAR = 1024;
  public static final int SHORT = 32768;
  public static final int MEDIUM = 65536;
  public static final int LONG = 268435456;
  public static final int MOZILLA = 32768;
  public static final int WEBKIT = 65536;
  public static final int BALLOON = 4096;
  public static final int BEGINNING = 1;
  public static final int FILL = 4;
  public static final int DBCS = 2;
  public static final int ALPHA = 4;
  public static final int NATIVE = 8;
  public static final int PHONETIC = 16;
  public static final int ROMAN = 32;
  public static final char BS = '\b';
  public static final char CR = '\r';
  public static final char DEL = '';
  public static final char ESC = '\033';
  public static final char LF = '\n';
  public static final char TAB = '\t';
  public static final char SPACE = ' ';
  public static final int ALT = 65536;
  public static final int SHIFT = 131072;
  public static final int CTRL = 262144;
  public static final int CONTROL = 262144;
  public static final int COMMAND = 4194304;
  public static final int MODIFIER_MASK;
  public static final int BUTTON1 = 524288;
  public static final int BUTTON2 = 1048576;
  public static final int BUTTON3 = 2097152;
  public static final int BUTTON4 = 8388608;
  public static final int BUTTON5 = 33554432;
  
  public static boolean isLoadable()
  {
    return Platform.isLoadable();
  }
  
  static String findErrorText(int code)
  {
    switch (code)
    {
    case 1: 
      return "Unspecified error";
    case 2: 
      return "No more handles";
    case 3: 
      return "No more callbacks";
    case 4: 
      return "Argument cannot be null";
    case 5: 
      return "Argument not valid";
    case 51: 
      return "Return value not valid";
    case 6: 
      return "Index out of bounds";
    case 7: 
      return "Argument cannot be zero";
    case 8: 
      return "Cannot get item";
    case 9: 
      return "Cannot get selection";
    case 11: 
      return "Cannot get item height";
    case 12: 
      return "Cannot get text";
    case 13: 
      return "Cannot set text";
    case 14: 
      return "Item not added";
    case 15: 
      return "Item not removed";
    case 20: 
      return "Not implemented";
    case 21: 
      return "Menu must be a drop down";
    case 22: 
      return "Invalid thread access";
    case 24: 
      return "Widget is disposed";
    case 27: 
      return "Menu item is not a CASCADE";
    case 28: 
      return "Cannot set selection";
    case 29: 
      return "Cannot set menu";
    case 30: 
      return "Cannot set the enabled state";
    case 31: 
      return "Cannot get the enabled state";
    case 32: 
      return "Widget has the wrong parent";
    case 33: 
      return "Menu is not a BAR";
    case 36: 
      return "Cannot get count";
    case 37: 
      return "Menu is not a POP_UP";
    case 38: 
      return "Unsupported color depth";
    case 39: 
      return "i/o error";
    case 40: 
      return "Invalid image";
    case 42: 
      return "Unsupported or unrecognized format";
    case 43: 
      return "Subclassing not allowed";
    case 44: 
      return "Graphic is disposed";
    case 45: 
      return "Device is disposed";
    case 49: 
      return "BrowserFunction is disposed";
    case 46: 
      return "Failed to execute runnable";
    case 50: 
      return "Failed to evaluate javascript expression";
    case 47: 
      return "Unable to load library";
    case 10: 
      return "Cannot invert matrix";
    case 16: 
      return "Unable to load graphics library";
    case 48: 
      return "Font not valid";
    }
    return "Unknown error";
  }
  
  public static String getMessage(String key)
  {
    return Compatibility.getMessage(key);
  }
  
  public static String getMessage(String key, Object[] args)
  {
    return Compatibility.getMessage(key, args);
  }
  
  public static String getPlatform()
  {
    return "win32";
  }
  
  public static int getVersion()
  {
    return Library.SWT_VERSION;
  }
  
  public static void error(int code)
  {
    error(code, null);
  }
  
  public static void error(int code, Throwable throwable)
  {
    error(code, throwable, null);
  }
  
  public static void error(int code, Throwable throwable, String detail)
  {
    if (code != 46)
    {
      if ((throwable instanceof SWTError)) {
        throw ((SWTError)throwable);
      }
      if ((throwable instanceof SWTException)) {
        throw ((SWTException)throwable);
      }
    }
    String message = findErrorText(code);
    if (detail != null) {
      message = message + detail;
    }
    switch (code)
    {
    case 4: 
    case 5: 
    case 6: 
    case 7: 
    case 21: 
    case 27: 
    case 32: 
    case 33: 
    case 37: 
      throw new IllegalArgumentException(message);
    case 10: 
    case 16: 
    case 22: 
    case 24: 
    case 38: 
    case 39: 
    case 40: 
    case 42: 
    case 43: 
    case 44: 
    case 45: 
    case 46: 
    case 49: 
    case 50: 
    case 51: 
      SWTException exception = new SWTException(code, message);
      throwable = throwable;
      throw exception;
    case 1: 
    case 2: 
    case 3: 
    case 8: 
    case 9: 
    case 11: 
    case 12: 
    case 13: 
    case 14: 
    case 15: 
    case 20: 
    case 28: 
    case 29: 
    case 30: 
    case 31: 
    case 36: 
    case 47: 
      SWTError error = new SWTError(code, message);
      throwable = throwable;
      throw error;
    }
    SWTError error = new SWTError(code, message);
    throwable = throwable;
    throw error;
  }
  
  public static final int BUTTON_MASK = 45613056;
  public static final int MOD1;
  public static final int MOD2;
  public static final int MOD3;
  public static final int MOD4;
  public static final int SCROLL_LINE = 1;
  public static final int SCROLL_PAGE = 2;
  public static final int KEYCODE_BIT = 16777216;
  public static final int KEY_MASK = 16842751;
  public static final int ARROW_UP = 16777217;
  public static final int ARROW_DOWN = 16777218;
  public static final int ARROW_LEFT = 16777219;
  public static final int ARROW_RIGHT = 16777220;
  public static final int PAGE_UP = 16777221;
  public static final int PAGE_DOWN = 16777222;
  public static final int HOME = 16777223;
  public static final int END = 16777224;
  public static final int INSERT = 16777225;
  public static final int F1 = 16777226;
  public static final int F2 = 16777227;
  public static final int F3 = 16777228;
  public static final int F4 = 16777229;
  public static final int F5 = 16777230;
  public static final int F6 = 16777231;
  public static final int F7 = 16777232;
  public static final int F8 = 16777233;
  public static final int F9 = 16777234;
  public static final int F10 = 16777235;
  public static final int F11 = 16777236;
  public static final int F12 = 16777237;
  public static final int F13 = 16777238;
  public static final int F14 = 16777239;
  public static final int F15 = 16777240;
  public static final int F16 = 16777241;
  public static final int F17 = 16777242;
  public static final int F18 = 16777243;
  public static final int F19 = 16777244;
  public static final int F20 = 16777245;
  public static final int KEYPAD = 2;
  public static final int KEYPAD_MULTIPLY = 16777258;
  public static final int KEYPAD_ADD = 16777259;
  public static final int KEYPAD_SUBTRACT = 16777261;
  public static final int KEYPAD_DECIMAL = 16777262;
  public static final int KEYPAD_DIVIDE = 16777263;
  public static final int KEYPAD_0 = 16777264;
  public static final int KEYPAD_1 = 16777265;
  public static final int KEYPAD_2 = 16777266;
  public static final int KEYPAD_3 = 16777267;
  public static final int KEYPAD_4 = 16777268;
  public static final int KEYPAD_5 = 16777269;
  public static final int KEYPAD_6 = 16777270;
  public static final int KEYPAD_7 = 16777271;
  public static final int KEYPAD_8 = 16777272;
  public static final int KEYPAD_9 = 16777273;
  public static final int KEYPAD_EQUAL = 16777277;
  public static final int KEYPAD_CR = 16777296;
  public static final int HELP = 16777297;
  public static final int CAPS_LOCK = 16777298;
  public static final int NUM_LOCK = 16777299;
  public static final int SCROLL_LOCK = 16777300;
  public static final int PAUSE = 16777301;
  public static final int BREAK = 16777302;
  public static final int PRINT_SCREEN = 16777303;
  public static final int ICON_ERROR = 1;
  public static final int ICON_INFORMATION = 2;
  public static final int ICON_QUESTION = 4;
  public static final int ICON_WARNING = 8;
  public static final int ICON_WORKING = 16;
  public static final int ICON_SEARCH = 512;
  public static final int ICON_CANCEL = 256;
  public static final int OK = 32;
  public static final int YES = 64;
  public static final int NO = 128;
  public static final int CANCEL = 256;
  public static final int ABORT = 512;
  public static final int RETRY = 1024;
  public static final int IGNORE = 2048;
  public static final int OPEN = 4096;
  public static final int SAVE = 8192;
  public static final int INHERIT_NONE = 0;
  public static final int INHERIT_DEFAULT = 1;
  public static final int INHERIT_FORCE = 2;
  public static final int COLOR_WHITE = 1;
  public static final int COLOR_BLACK = 2;
  public static final int COLOR_RED = 3;
  public static final int COLOR_DARK_RED = 4;
  public static final int COLOR_GREEN = 5;
  public static final int COLOR_DARK_GREEN = 6;
  public static final int COLOR_YELLOW = 7;
  public static final int COLOR_DARK_YELLOW = 8;
  public static final int COLOR_BLUE = 9;
  public static final int COLOR_DARK_BLUE = 10;
  public static final int COLOR_MAGENTA = 11;
  public static final int COLOR_DARK_MAGENTA = 12;
  public static final int COLOR_CYAN = 13;
  public static final int COLOR_DARK_CYAN = 14;
  public static final int COLOR_GRAY = 15;
  public static final int COLOR_DARK_GRAY = 16;
  public static final int COLOR_WIDGET_DARK_SHADOW = 17;
  public static final int COLOR_WIDGET_NORMAL_SHADOW = 18;
  public static final int COLOR_WIDGET_LIGHT_SHADOW = 19;
  public static final int COLOR_WIDGET_HIGHLIGHT_SHADOW = 20;
  public static final int COLOR_WIDGET_FOREGROUND = 21;
  public static final int COLOR_WIDGET_BACKGROUND = 22;
  public static final int COLOR_WIDGET_BORDER = 23;
  public static final int COLOR_LIST_FOREGROUND = 24;
  public static final int COLOR_LIST_BACKGROUND = 25;
  public static final int COLOR_LIST_SELECTION = 26;
  public static final int COLOR_LIST_SELECTION_TEXT = 27;
  public static final int COLOR_INFO_FOREGROUND = 28;
  public static final int COLOR_INFO_BACKGROUND = 29;
  public static final int COLOR_TITLE_FOREGROUND = 30;
  public static final int COLOR_TITLE_BACKGROUND = 31;
  public static final int COLOR_TITLE_BACKGROUND_GRADIENT = 32;
  public static final int COLOR_TITLE_INACTIVE_FOREGROUND = 33;
  public static final int COLOR_TITLE_INACTIVE_BACKGROUND = 34;
  public static final int COLOR_TITLE_INACTIVE_BACKGROUND_GRADIENT = 35;
  public static final int DRAW_TRANSPARENT = 1;
  public static final int DRAW_DELIMITER = 2;
  public static final int DRAW_TAB = 4;
  public static final int DRAW_MNEMONIC = 8;
  public static final int DELIMITER_SELECTION = 131072;
  public static final int LAST_LINE_SELECTION = 1048576;
  public static final int ERROR_UNSPECIFIED = 1;
  public static final int ERROR_NO_HANDLES = 2;
  public static final int ERROR_NO_MORE_CALLBACKS = 3;
  public static final int ERROR_NULL_ARGUMENT = 4;
  public static final int ERROR_INVALID_ARGUMENT = 5;
  public static final int ERROR_INVALID_RANGE = 6;
  public static final int ERROR_CANNOT_BE_ZERO = 7;
  public static final int ERROR_CANNOT_GET_ITEM = 8;
  public static final int ERROR_CANNOT_GET_SELECTION = 9;
  public static final int ERROR_CANNOT_INVERT_MATRIX = 10;
  public static final int ERROR_CANNOT_GET_ITEM_HEIGHT = 11;
  public static final int ERROR_CANNOT_GET_TEXT = 12;
  public static final int ERROR_CANNOT_SET_TEXT = 13;
  public static final int ERROR_ITEM_NOT_ADDED = 14;
  public static final int ERROR_ITEM_NOT_REMOVED = 15;
  public static final int ERROR_NO_GRAPHICS_LIBRARY = 16;
  public static final int ERROR_NOT_IMPLEMENTED = 20;
  public static final int ERROR_MENU_NOT_DROP_DOWN = 21;
  public static final int ERROR_THREAD_INVALID_ACCESS = 22;
  public static final int ERROR_WIDGET_DISPOSED = 24;
  public static final int ERROR_MENUITEM_NOT_CASCADE = 27;
  public static final int ERROR_CANNOT_SET_SELECTION = 28;
  public static final int ERROR_CANNOT_SET_MENU = 29;
  public static final int ERROR_CANNOT_SET_ENABLED = 30;
  public static final int ERROR_CANNOT_GET_ENABLED = 31;
  public static final int ERROR_INVALID_PARENT = 32;
  public static final int ERROR_MENU_NOT_BAR = 33;
  public static final int ERROR_CANNOT_GET_COUNT = 36;
  public static final int ERROR_MENU_NOT_POP_UP = 37;
  public static final int ERROR_UNSUPPORTED_DEPTH = 38;
  public static final int ERROR_IO = 39;
  public static final int ERROR_INVALID_IMAGE = 40;
  public static final int ERROR_UNSUPPORTED_FORMAT = 42;
  public static final int ERROR_INVALID_SUBCLASS = 43;
  public static final int ERROR_GRAPHIC_DISPOSED = 44;
  public static final int ERROR_DEVICE_DISPOSED = 45;
  public static final int ERROR_FAILED_EXEC = 46;
  public static final int ERROR_FAILED_LOAD_LIBRARY = 47;
  public static final int ERROR_INVALID_FONT = 48;
  public static final int ERROR_FUNCTION_DISPOSED = 49;
  public static final int ERROR_FAILED_EVALUATE = 50;
  public static final int ERROR_INVALID_RETURN_VALUE = 51;
  public static final int BITMAP = 0;
  public static final int ICON = 1;
  public static final int IMAGE_COPY = 0;
  public static final int IMAGE_DISABLE = 1;
  public static final int IMAGE_GRAY = 2;
  public static final int ERROR = 1;
  public static final int PAUSED = 4;
  public static final int NORMAL = 0;
  public static final int BOLD = 1;
  public static final int ITALIC = 2;
  public static final int CURSOR_ARROW = 0;
  public static final int CURSOR_WAIT = 1;
  public static final int CURSOR_CROSS = 2;
  public static final int CURSOR_APPSTARTING = 3;
  public static final int CURSOR_HELP = 4;
  public static final int CURSOR_SIZEALL = 5;
  public static final int CURSOR_SIZENESW = 6;
  public static final int CURSOR_SIZENS = 7;
  public static final int CURSOR_SIZENWSE = 8;
  public static final int CURSOR_SIZEWE = 9;
  public static final int CURSOR_SIZEN = 10;
  public static final int CURSOR_SIZES = 11;
  public static final int CURSOR_SIZEE = 12;
  public static final int CURSOR_SIZEW = 13;
  public static final int CURSOR_SIZENE = 14;
  public static final int CURSOR_SIZESE = 15;
  public static final int CURSOR_SIZESW = 16;
  public static final int CURSOR_SIZENW = 17;
  public static final int CURSOR_UPARROW = 18;
  public static final int CURSOR_IBEAM = 19;
  public static final int CURSOR_NO = 20;
  public static final int CURSOR_HAND = 21;
  public static final int CAP_FLAT = 1;
  public static final int CAP_ROUND = 2;
  public static final int CAP_SQUARE = 3;
  public static final int JOIN_MITER = 1;
  public static final int JOIN_ROUND = 2;
  public static final int JOIN_BEVEL = 3;
  public static final int LINE_SOLID = 1;
  public static final int LINE_DASH = 2;
  public static final int LINE_DOT = 3;
  public static final int LINE_DASHDOT = 4;
  public static final int LINE_DASHDOTDOT = 5;
  public static final int LINE_CUSTOM = 6;
  public static final int PATH_MOVE_TO = 1;
  public static final int PATH_LINE_TO = 2;
  public static final int PATH_QUAD_TO = 3;
  public static final int PATH_CUBIC_TO = 4;
  public static final int PATH_CLOSE = 5;
  public static final int FILL_EVEN_ODD = 1;
  public static final int FILL_WINDING = 2;
  public static final int IMAGE_UNDEFINED = -1;
  public static final int IMAGE_BMP = 0;
  public static final int IMAGE_BMP_RLE = 1;
  public static final int IMAGE_GIF = 2;
  public static final int IMAGE_ICO = 3;
  public static final int IMAGE_JPEG = 4;
  public static final int IMAGE_PNG = 5;
  public static final int IMAGE_TIFF = 6;
  public static final int IMAGE_OS2_BMP = 7;
  public static final int DM_UNSPECIFIED = 0;
  public static final int DM_FILL_NONE = 1;
  public static final int DM_FILL_BACKGROUND = 2;
  public static final int DM_FILL_PREVIOUS = 3;
  public static final int TRANSPARENCY_NONE = 0;
  public static final int TRANSPARENCY_ALPHA = 1;
  public static final int TRANSPARENCY_MASK = 2;
  public static final int TRANSPARENCY_PIXEL = 4;
  public static final int MOVEMENT_CHAR = 1;
  public static final int MOVEMENT_CLUSTER = 2;
  public static final int MOVEMENT_WORD = 4;
  public static final int MOVEMENT_WORD_END = 8;
  public static final int MOVEMENT_WORD_START = 16;
  public static final int ALL = 1;
  public static final int ID_ABOUT = -1;
  public static final int ID_PREFERENCES = -2;
  public static final int ID_HIDE = -3;
  public static final int ID_HIDE_OTHERS = -4;
  public static final int ID_SHOW_ALL = -5;
  public static final int ID_QUIT = -6;
  public static final String SKIN_CLASS = "org.eclipse.swt.skin.class";
  public static final String SKIN_ID = "org.eclipse.swt.skin.id";
  public static final int SCROLLBAR_OVERLAY = 2;
  
  static
  {
    MODIFIER_MASK = 4653056;
    
    String platform = getPlatform();
    if (("carbon".equals(platform)) || ("cocoa".equals(platform)))
    {
      MOD1 = 4194304;
      MOD2 = 131072;
      MOD3 = 65536;
      MOD4 = 262144;
    }
    else
    {
      MOD1 = 262144;
      MOD2 = 131072;
      MOD3 = 65536;
      MOD4 = 0;
    }
  }
}

/* Location:
 * Qualified Name:     org.eclipse.swt.SWT
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.swt;

import java.io.PrintStream;
import org.eclipse.swt.internal.Library;

public class SWTError
  extends Error
{
  public int code;
  public Throwable throwable;
  static final long serialVersionUID = 3833467327105808433L;
  
  public SWTError()
  {
    this(1);
  }
  
  public SWTError(String message)
  {
    this(1, message);
  }
  
  public SWTError(int code)
  {
    this(code, SWT.findErrorText(code));
  }
  
  public SWTError(int code, String message)
  {
    super(message);
    this.code = code;
  }
  
  public Throwable getCause()
  {
    return throwable;
  }
  
  public String getMessage()
  {
    if (throwable == null) {
      return super.getMessage();
    }
    return super.getMessage() + " (" + throwable.toString() + ")";
  }
  
  public void printStackTrace()
  {
    super.printStackTrace();
    if ((Library.JAVA_VERSION < Library.JAVA_VERSION(1, 4, 0)) && (throwable != null))
    {
      System.err.println("*** Stack trace of contained error ***");
      throwable.printStackTrace();
    }
  }
}

/* Location:
 * Qualified Name:     org.eclipse.swt.SWTError
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.swt;

import java.io.PrintStream;
import org.eclipse.swt.internal.Library;

public class SWTException
  extends RuntimeException
{
  public int code;
  public Throwable throwable;
  static final long serialVersionUID = 3257282552304842547L;
  
  public SWTException()
  {
    this(1);
  }
  
  public SWTException(String message)
  {
    this(1, message);
  }
  
  public SWTException(int code)
  {
    this(code, SWT.findErrorText(code));
  }
  
  public SWTException(int code, String message)
  {
    super(message);
    this.code = code;
  }
  
  public Throwable getCause()
  {
    return throwable;
  }
  
  public String getMessage()
  {
    if (throwable == null) {
      return super.getMessage();
    }
    return super.getMessage() + " (" + throwable.toString() + ")";
  }
  
  public void printStackTrace()
  {
    super.printStackTrace();
    if ((Library.JAVA_VERSION < Library.JAVA_VERSION(1, 4, 0)) && (throwable != null))
    {
      System.err.println("*** Stack trace of contained exception ***");
      throwable.printStackTrace();
    }
  }
}

/* Location:
 * Qualified Name:     org.eclipse.swt.SWTException
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.swt.accessibility;

public class ACC
{
  public static final int STATE_NORMAL = 0;
  public static final int STATE_SELECTED = 2;
  public static final int STATE_SELECTABLE = 2097152;
  public static final int STATE_MULTISELECTABLE = 16777216;
  public static final int STATE_FOCUSED = 4;
  public static final int STATE_FOCUSABLE = 1048576;
  public static final int STATE_PRESSED = 8;
  public static final int STATE_CHECKED = 16;
  public static final int STATE_EXPANDED = 512;
  public static final int STATE_COLLAPSED = 1024;
  public static final int STATE_HOTTRACKED = 128;
  public static final int STATE_BUSY = 2048;
  public static final int STATE_READONLY = 64;
  public static final int STATE_INVISIBLE = 32768;
  public static final int STATE_OFFSCREEN = 65536;
  public static final int STATE_SIZEABLE = 131072;
  public static final int STATE_LINKED = 4194304;
  public static final int STATE_DISABLED = 1;
  public static final int STATE_ACTIVE = 67108864;
  public static final int STATE_SINGLELINE = 134217728;
  public static final int STATE_MULTILINE = 268435456;
  public static final int STATE_REQUIRED = 33554432;
  public static final int STATE_INVALID_ENTRY = 536870912;
  public static final int STATE_SUPPORTS_AUTOCOMPLETION = 1073741824;
  public static final int ROLE_CLIENT_AREA = 10;
  public static final int ROLE_WINDOW = 9;
  public static final int ROLE_MENUBAR = 2;
  public static final int ROLE_MENU = 11;
  public static final int ROLE_MENUITEM = 12;
  public static final int ROLE_SEPARATOR = 21;
  public static final int ROLE_TOOLTIP = 13;
  public static final int ROLE_SCROLLBAR = 3;
  public static final int ROLE_DIALOG = 18;
  public static final int ROLE_LABEL = 41;
  public static final int ROLE_PUSHBUTTON = 43;
  public static final int ROLE_CHECKBUTTON = 44;
  public static final int ROLE_RADIOBUTTON = 45;
  public static final int ROLE_SPLITBUTTON = 62;
  public static final int ROLE_COMBOBOX = 46;
  public static final int ROLE_TEXT = 42;
  public static final int ROLE_TOOLBAR = 22;
  public static final int ROLE_LIST = 33;
  public static final int ROLE_LISTITEM = 34;
  public static final int ROLE_TABLE = 24;
  public static final int ROLE_TABLECELL = 29;
  public static final int ROLE_TABLECOLUMNHEADER = 25;
  /**
   * @deprecated
   */
  public static final int ROLE_TABLECOLUMN = 25;
  public static final int ROLE_TABLEROWHEADER = 26;
  public static final int ROLE_TREE = 35;
  public static final int ROLE_TREEITEM = 36;
  public static final int ROLE_TABFOLDER = 60;
  public static final int ROLE_TABITEM = 37;
  public static final int ROLE_PROGRESSBAR = 48;
  public static final int ROLE_SLIDER = 51;
  public static final int ROLE_LINK = 30;
  public static final int ROLE_ALERT = 8;
  public static final int ROLE_ANIMATION = 54;
  public static final int ROLE_CANVAS = 1025;
  public static final int ROLE_COLUMN = 27;
  public static final int ROLE_DOCUMENT = 15;
  public static final int ROLE_GRAPHIC = 40;
  public static final int ROLE_GROUP = 20;
  public static final int ROLE_ROW = 28;
  public static final int ROLE_SPINBUTTON = 52;
  public static final int ROLE_STATUSBAR = 23;
  public static final int ROLE_CHECKMENUITEM = 1027;
  public static final int ROLE_RADIOMENUITEM = 1073;
  public static final int ROLE_CLOCK = 61;
  public static final int ROLE_CALENDAR = 47;
  public static final int ROLE_DATETIME = 1029;
  public static final int ROLE_FOOTER = 1038;
  public static final int ROLE_FORM = 1040;
  public static final int ROLE_HEADER = 1043;
  public static final int ROLE_HEADING = 1044;
  public static final int ROLE_PAGE = 1053;
  public static final int ROLE_PARAGRAPH = 1054;
  public static final int ROLE_SECTION = 1060;
  public static final int CHILDID_SELF = -1;
  public static final int CHILDID_NONE = -2;
  public static final int CHILDID_MULTIPLE = -3;
  public static final int CHILDID_CHILD_AT_INDEX = -4;
  public static final int CHILDID_CHILD_INDEX = -5;
  public static final int VISIBLE = 1;
  public static final int INSERT = 0;
  public static final int DELETE = 1;
  public static final int TEXT_INSERT = 0;
  public static final int TEXT_DELETE = 1;
  public static final String OK = "OK";
  public static final int TEXT_BOUNDARY_CHAR = 0;
  public static final int TEXT_BOUNDARY_WORD = 1;
  public static final int TEXT_BOUNDARY_SENTENCE = 2;
  public static final int TEXT_BOUNDARY_PARAGRAPH = 3;
  public static final int TEXT_BOUNDARY_LINE = 4;
  public static final int TEXT_BOUNDARY_ALL = 5;
  public static final int SCROLL_TYPE_TOP_LEFT = 0;
  public static final int SCROLL_TYPE_BOTTOM_RIGHT = 1;
  public static final int SCROLL_TYPE_TOP_EDGE = 2;
  public static final int SCROLL_TYPE_BOTTOM_EDGE = 3;
  public static final int SCROLL_TYPE_LEFT_EDGE = 4;
  public static final int SCROLL_TYPE_RIGHT_EDGE = 5;
  public static final int SCROLL_TYPE_ANYWHERE = 6;
  public static final int SCROLL_TYPE_POINT = 7;
  public static final int EVENT_SELECTION_CHANGED = 32777;
  public static final int EVENT_TEXT_SELECTION_CHANGED = 32788;
  public static final int EVENT_STATE_CHANGED = 32778;
  public static final int EVENT_LOCATION_CHANGED = 32779;
  public static final int EVENT_NAME_CHANGED = 32780;
  public static final int EVENT_DESCRIPTION_CHANGED = 32781;
  public static final int EVENT_VALUE_CHANGED = 32782;
  public static final int EVENT_DOCUMENT_LOAD_COMPLETE = 261;
  public static final int EVENT_DOCUMENT_LOAD_STOPPED = 262;
  public static final int EVENT_DOCUMENT_RELOAD = 263;
  public static final int EVENT_PAGE_CHANGED = 273;
  public static final int EVENT_SECTION_CHANGED = 274;
  public static final int EVENT_ACTION_CHANGED = 256;
  public static final int EVENT_HYPERLINK_START_INDEX_CHANGED = 269;
  public static final int EVENT_HYPERLINK_END_INDEX_CHANGED = 264;
  public static final int EVENT_HYPERLINK_ANCHOR_COUNT_CHANGED = 265;
  public static final int EVENT_HYPERLINK_SELECTED_LINK_CHANGED = 266;
  public static final int EVENT_HYPERLINK_ACTIVATED = 267;
  public static final int EVENT_HYPERTEXT_LINK_SELECTED = 268;
  public static final int EVENT_HYPERTEXT_LINK_COUNT_CHANGED = 271;
  public static final int EVENT_ATTRIBUTE_CHANGED = 512;
  public static final int EVENT_TABLE_CAPTION_CHANGED = 515;
  public static final int EVENT_TABLE_COLUMN_DESCRIPTION_CHANGED = 516;
  public static final int EVENT_TABLE_COLUMN_HEADER_CHANGED = 517;
  public static final int EVENT_TABLE_CHANGED = 518;
  public static final int EVENT_TABLE_ROW_DESCRIPTION_CHANGED = 519;
  public static final int EVENT_TABLE_ROW_HEADER_CHANGED = 520;
  public static final int EVENT_TABLE_SUMMARY_CHANGED = 521;
  public static final int EVENT_TEXT_ATTRIBUTE_CHANGED = 522;
  public static final int EVENT_TEXT_CARET_MOVED = 283;
  public static final int EVENT_TEXT_COLUMN_CHANGED = 285;
  public static final int EVENT_TEXT_CHANGED = 524;
  public static final int RELATION_CONTROLLED_BY = 0;
  public static final int RELATION_CONTROLLER_FOR = 1;
  public static final int RELATION_DESCRIBED_BY = 2;
  public static final int RELATION_DESCRIPTION_FOR = 3;
  public static final int RELATION_EMBEDDED_BY = 4;
  public static final int RELATION_EMBEDS = 5;
  public static final int RELATION_FLOWS_FROM = 6;
  public static final int RELATION_FLOWS_TO = 7;
  public static final int RELATION_LABEL_FOR = 8;
  public static final int RELATION_LABELLED_BY = 9;
  public static final int RELATION_MEMBER_OF = 10;
  public static final int RELATION_NODE_CHILD_OF = 11;
  public static final int RELATION_PARENT_WINDOW_OF = 12;
  public static final int RELATION_POPUP_FOR = 13;
  public static final int RELATION_SUBWINDOW_OF = 14;
}

/* Location:
 * Qualified Name:     org.eclipse.swt.accessibility.ACC
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.swt.accessibility;

import org.eclipse.swt.internal.ole.win32.COMObject;

class Accessible$1
  extends COMObject
{
  final Accessible this$0;
  
  Accessible$1(Accessible paramAccessible, int[] $anonymous0)
  {
    super($anonymous0);this$0 = paramAccessible;
  }
  
  public long method0(long[] args)
  {
    return this$0.QueryInterface(args[0], args[1]);
  }
  
  public long method1(long[] args)
  {
    return this$0.AddRef();
  }
  
  public long method2(long[] args)
  {
    return this$0.Release();
  }
  
  public long method7(long[] args)
  {
    return this$0.get_accParent(args[0]);
  }
  
  public long method8(long[] args)
  {
    return this$0.get_accChildCount(args[0]);
  }
  
  public long method9(long[] args)
  {
    return this$0.get_accChild(args[0], args[1]);
  }
  
  public long method10(long[] args)
  {
    return this$0.get_accName(args[0], args[1]);
  }
  
  public long method11(long[] args)
  {
    return this$0.get_accValue(args[0], args[1]);
  }
  
  public long method12(long[] args)
  {
    return this$0.get_accDescription(args[0], args[1]);
  }
  
  public long method13(long[] args)
  {
    return this$0.get_accRole(args[0], args[1]);
  }
  
  public long method14(long[] args)
  {
    return this$0.get_accState(args[0], args[1]);
  }
  
  public long method15(long[] args)
  {
    return this$0.get_accHelp(args[0], args[1]);
  }
  
  public long method16(long[] args)
  {
    return this$0.get_accHelpTopic(args[0], args[1], args[2]);
  }
  
  public long method17(long[] args)
  {
    return this$0.get_accKeyboardShortcut(args[0], args[1]);
  }
  
  public long method18(long[] args)
  {
    return this$0.get_accFocus(args[0]);
  }
  
  public long method19(long[] args)
  {
    return this$0.get_accSelection(args[0]);
  }
  
  public long method20(long[] args)
  {
    return this$0.get_accDefaultAction(args[0], args[1]);
  }
  
  public long method21(long[] args)
  {
    return this$0.accSelect((int)args[0], args[1]);
  }
  
  public long method22(long[] args)
  {
    return this$0.accLocation(args[0], args[1], args[2], args[3], args[4]);
  }
  
  public long method23(long[] args)
  {
    return this$0.accNavigate((int)args[0], args[1], args[2]);
  }
  
  public long method24(long[] args)
  {
    return this$0.accHitTest((int)args[0], (int)args[1], args[2]);
  }
  
  public long method25(long[] args)
  {
    return this$0.accDoDefaultAction(args[0]);
  }
  
  public long method26(long[] args)
  {
    return this$0.put_accName(args[0], args[1]);
  }
  
  public long method27(long[] args)
  {
    return this$0.put_accValue(args[0], args[1]);
  }
}

/* Location:
 * Qualified Name:     org.eclipse.swt.accessibility.Accessible.1
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.swt.accessibility;

import org.eclipse.swt.internal.ole.win32.COMObject;

class Accessible$10
  extends COMObject
{
  final Accessible this$0;
  
  Accessible$10(Accessible paramAccessible, int[] $anonymous0)
  {
    super($anonymous0);this$0 = paramAccessible;
  }
  
  public long method0(long[] args)
  {
    return this$0.QueryInterface(args[0], args[1]);
  }
  
  public long method1(long[] args)
  {
    return this$0.AddRef();
  }
  
  public long method2(long[] args)
  {
    return this$0.Release();
  }
  
  public long method3(long[] args)
  {
    return this$0.addSelection((int)args[0], (int)args[1]);
  }
  
  public long method4(long[] args)
  {
    return this$0.get_attributes((int)args[0], args[1], args[2], args[3]);
  }
  
  public long method5(long[] args)
  {
    return this$0.get_caretOffset(args[0]);
  }
  
  public long method6(long[] args)
  {
    return this$0.get_characterExtents((int)args[0], (int)args[1], args[2], args[3], args[4], args[5]);
  }
  
  public long method7(long[] args)
  {
    return this$0.get_nSelections(args[0]);
  }
  
  public long method8(long[] args)
  {
    return this$0.get_offsetAtPoint((int)args[0], (int)args[1], (int)args[2], args[3]);
  }
  
  public long method9(long[] args)
  {
    return this$0.get_selection((int)args[0], args[1], args[2]);
  }
  
  public long method10(long[] args)
  {
    return this$0.get_text((int)args[0], (int)args[1], args[2]);
  }
  
  public long method11(long[] args)
  {
    return this$0.get_textBeforeOffs
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153

Further reading...

For more information on Java 1.5 Tiger, you may find Java 1.5 Tiger, A developer's Notebook by D. Flanagan and B. McLaughlin from O'Reilly of interest.

New!JAR listings


Copyright 2006-2017. Infinite Loop Ltd