public virtual void PressSpecialKey(KeyboardInput.SpecialKeys key) { container.Focus(); keyboard.PressSpecialKey(key, container); }
public static Input KeyboardInput(int type, KeyboardInput keyboardInput) { return new Input {type = type, ki = keyboardInput}; }
public static Input Keyboard(KeyboardInput keyboardInput) { return Input.KeyboardInput(WindowsConstants.INPUT_KEYBOARD, keyboardInput); }
public static Input Keyboard(KeyboardInput keyboardInput) { return new Input {type = WindowsConstants.INPUT_KEYBOARD, ki = keyboardInput}; }
public static Input Keyboard(KeyboardInput keyboardInput) { return(Input.KeyboardInput(WindowsConstants.INPUT_KEYBOARD, keyboardInput)); }
public virtual void LeaveKey(KeyboardInput.SpecialKeys key, ActionListener actionListener) { SendKeyUp((short) key, true); heldKeys.Remove(key); actionListener.ActionPerformed(Action.WindowMessage); }
/// <summary> /// Perform keyboard action on this UIItem /// </summary> /// <param name="key"></param> public virtual void KeyIn(KeyboardInput.SpecialKeys key) { actionListener.ActionPerforming(this); keyboard.PressSpecialKey(key, actionListener); }
private void Send(KeyboardInput.SpecialKeys key, bool specialKey) { Press((short) key, specialKey); }
public virtual void LeaveKey(KeyboardInput.SpecialKeys key) { LeaveKey(key, new NullActionListener()); }
private static Input GetInputFor(short character, KeyboardInput.KeyUpDown keyUpOrDown) { return Input.Keyboard(new KeyboardInput(character, keyUpOrDown, GetMessageExtraInfo())); }
private static KeyboardInput.KeyUpDown GetSpecialKeyCode(bool specialKey, KeyboardInput.KeyUpDown key) { if (specialKey && scanCodeDependent.Contains((KeyboardInput.SpecialKeys) key)) key |= KeyboardInput.KeyUpDown.KEYEVENTF_EXTENDEDKEY; return key; }
internal virtual void HoldKey(KeyboardInput.SpecialKeys key, ActionListener actionListener) { SendKeyDown((short) key, true); heldKeys.Add(key); actionListener.ActionPerformed(Action.WindowMessage); }
public virtual void PressSpecialKey(KeyboardInput.SpecialKeys key, ActionListener actionListener) { Send(key, true); actionListener.ActionPerformed(Action.WindowMessage); }
public static Input Keyboard(KeyboardInput keyboardInput) { return(new Input { type = WindowsConstants.INPUT_KEYBOARD, ki = keyboardInput }); }
private void PressKey(KeyboardInput.SpecialKeys key) { _window.KeyIn(key); _window.WaitWhileBusy(); }
public static Input KeyboardInput(int type, KeyboardInput keyboardInput) { return(new Input { type = type, ki = keyboardInput }); }