1 53 package org.swixml.converters; 54 55 import java.awt.*; 56 57 58 public interface InputEvent { 59 60 64 public static final int SHIFT_MASK = Event.SHIFT_MASK; 65 66 70 public static final int CTRL_MASK = Event.CTRL_MASK; 71 72 76 public static final int META_MASK = Event.META_MASK; 77 78 82 public static final int ALT_MASK = Event.ALT_MASK; 83 84 87 public static final int ALT_GRAPH_MASK = 1 << 5; 88 89 93 public static final int BUTTON1_MASK = 1 << 4; 94 95 99 public static final int BUTTON2_MASK = Event.ALT_MASK; 100 101 105 public static final int BUTTON3_MASK = Event.META_MASK; 106 107 111 public static final int SHIFT_DOWN_MASK = 1 << 6; 112 113 117 public static final int CTRL_DOWN_MASK = 1 << 7; 118 119 123 public static final int META_DOWN_MASK = 1 << 8; 124 125 129 public static final int ALT_DOWN_MASK = 1 << 9; 130 131 135 public static final int BUTTON1_DOWN_MASK = 1 << 10; 136 137 141 public static final int BUTTON2_DOWN_MASK = 1 << 11; 142 143 147 public static final int BUTTON3_DOWN_MASK = 1 << 12; 148 149 153 public static final int ALT_GRAPH_DOWN_MASK = 1 << 13; 154 155 156 static final int JDK_1_3_MODIFIERS = SHIFT_DOWN_MASK - 1; 157 158 } 159 160 ; 161 | Popular Tags |