public interface CharacterTransferCapable
T-Plan Robot Enterprise, (C) 2009-2022 T-Plan Limited. All rights reserved.
Modifier and Type | Method and Description |
---|---|
boolean |
canPress(String key,
StringBuilder err)
Test if a character or a key can be pressed on the client desktop.
|
boolean |
canType(String text,
StringBuilder err)
Test if a text can be typed on the client desktop.
|
void |
sendKeyEvent(KeyEvent evt,
boolean applyAsIs)
Send the key event and indicate the key press mode.
|
boolean canType(String text, StringBuilder err)
text
- some text.err
- optional container to save the eventual error message to.boolean canPress(String key, StringBuilder err)
key
- a key.err
- optional container to save the eventual error message to.void sendKeyEvent(KeyEvent evt, boolean applyAsIs) throws IOException
evt
- a key event.applyAsIs
- true will make the client perform the key as is,
typically when the call is part of a custom key operation such as long
key press (hold).IOException
- on an I/O error.