public CanvasFrame(string title, int screenNumber, DisplayMode displayMode, double gamma) { base.\u002Ector(title, CanvasFrame.getScreenDevice(screenNumber).getDefaultConfiguration()); CanvasFrame canvasFrame = this; this.latency = 120L; this.keyEvent = (KeyEvent) null; this.canvas = (Canvas) null; this.needInitialResize = false; this.bufferStrategy = (BufferStrategy) null; this.init(true, displayMode, gamma); }
public CanvasFrame(string title, GraphicsConfiguration gc, double gamma) { base.\u002Ector(title, gc); CanvasFrame canvasFrame = this; this.latency = 120L; this.keyEvent = (KeyEvent) null; this.canvas = (Canvas) null; this.needInitialResize = false; this.bufferStrategy = (BufferStrategy) null; this.init(false, (DisplayMode) null, gamma); }
public virtual KeyEvent waitKey(int delay) { try { this.keyEvent = (KeyEvent) null; Object.instancehelper_wait((object) this, (long) delay); goto label_3; } catch (InterruptedException ex) { } label_3: KeyEvent keyEvent = this.keyEvent; this.keyEvent = (KeyEvent) null; return keyEvent; }
/// <summary> /// Processes key stroke events such as mnemonics and accelerators. /// </summary> protected void processKeyEvent(KeyEvent @evt) { }
/// <summary> /// This method is required to conform to the /// <code>MenuElement</code> interface, but it not implemented. /// </summary> public void processKeyEvent(KeyEvent @e, MenuElement[] @path, MenuSelectionManager @manager) { }
/// <summary> /// Invokes <code>actionPerformed</code> on <code>action</code> if /// <code>action</code> is enabled (and non null). /// </summary> static public bool notifyAction(Action @action, KeyStroke @ks, KeyEvent @event, object @sender, int @modifiers) { return default(bool); }
/// <summary> /// Process the key bindings for the <code>Component</code> associated with /// <code>event</code>. /// </summary> static public bool processKeyBindings(KeyEvent @event) { return default(bool); }
/// <summary> /// Returns a KeyStroke which represents the stroke which generated a given /// KeyEvent. /// </summary> public KeyStroke getKeyStrokeForEvent(KeyEvent @anEvent) { return default(KeyStroke); }
/// <summary> /// Invoked to process the key bindings for <code>ks</code> as the result /// of the <code>KeyEvent</code> <code>e</code>. /// </summary> protected bool processKeyBinding(KeyStroke @ks, KeyEvent @e, int @condition, bool @pressed) { return default(bool); }
/// <summary> /// Processes any key events that the component itself /// recognizes. /// </summary> protected void processComponentKeyEvent(KeyEvent @e) { }
/// <summary> /// When a MenuElement receives an event from a KeyListener, it should never process the event /// directly. /// </summary> public void processKeyEvent(KeyEvent @e) { }
/// <summary> /// Returns an <code>AWTKeyStroke</code> which represents the /// stroke which generated a given <code>KeyEvent</code>. /// </summary> public AWTKeyStroke getAWTKeyStrokeForEvent(KeyEvent @anEvent) { return default(AWTKeyStroke); }