public interface TerminalWindowListener
Modifier and Type | Field and Description |
---|---|
static int |
APPEND
The "Append" clipboard operation.
|
static int |
CONTINUE_PASTE
The "Continue paste" clipboard operation.
|
static int |
COPY
The "Copy" clipboard operation.
|
static int |
CUT
The "Cut" clipboard operation.
|
static int |
PASTE
The "Paste" clipboard operation.
|
static int |
REMOVE_MARK
Action used when the mark rectangle is removed.
|
static int |
SELECT_ALL
The "Select all" clipboard action.
|
static int |
SET_MARK
Action used when a mark rectangle is created.
|
static int |
UNDO
The "Undo" clipboard operation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkPrintWindow(KeyEvent event)
Checks for Print Window keystroke.
|
Color |
getBackground(Color background,
int x,
int y)
Gets the background color when drawing a character.
|
boolean |
onActivateMenu(boolean isPopup)
Handles display of the pop-up window or activation
of the menu bar.
|
boolean |
onActivateMenu(char ch)
Handles activation of the menu bar and selection
of the mnemonic character.
|
void |
onClipboard(int operation,
Rectangle r)
Performs a clipboard function.
|
boolean |
onPopup(MouseEvent e)
Handles display of the pop-up window.
|
void |
sendCharacter(char ch)
Sends a character string to the terminal.
|
void |
sendHostKey(int key)
Sends a key to the terminal.
|
void |
sendKey(KeyEvent event,
boolean isRightDown)
Sends a KeyEvent to the terminal.
|
boolean |
setCursor(int x,
int y)
Sets the cursor position to X/Y.
|
static final int UNDO
static final int CUT
static final int COPY
static final int APPEND
static final int PASTE
static final int CONTINUE_PASTE
static final int SELECT_ALL
static final int SET_MARK
static final int REMOVE_MARK
void sendKey(KeyEvent event, boolean isRightDown)
void sendHostKey(int key)
key
- The key to send.boolean checkPrintWindow(KeyEvent event)
void sendCharacter(char ch)
boolean setCursor(int x, int y)
void onClipboard(int operation, Rectangle r)
boolean onPopup(MouseEvent e)
boolean onActivateMenu(boolean isPopup)
boolean onActivateMenu(char ch)
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.