Lines Matching defs:InputEvent
58 public abstract class InputEvent extends ComponentEvent {
60 private static final PlatformLogger logger = PlatformLogger.getLogger("java.awt.event.InputEvent");
208 * int button = InputEvent.getMaskForButton(1);
212 * int button = InputEvent.getMaskForButton(MouseEvent.BUTTON1);
297 return InputEvent.getButtonDownMasks();
309 * Constructs an InputEvent object with the specified source component,
318 * allowed for some subclass of {@code InputEvent} class.
338 InputEvent(Component source, int id, long when, int modifiers) {
356 logger.fine("InputEvent.canAccessSystemClipboard() got SecurityException ", se);
493 if ((modifiers & InputEvent.META_DOWN_MASK) != 0) {
497 if ((modifiers & InputEvent.CTRL_DOWN_MASK) != 0) {
501 if ((modifiers & InputEvent.ALT_DOWN_MASK) != 0) {
505 if ((modifiers & InputEvent.SHIFT_DOWN_MASK) != 0) {
509 if ((modifiers & InputEvent.ALT_GRAPH_DOWN_MASK) != 0) {
515 for (int mask : InputEvent.BUTTON_DOWN_MASK){