public interface TerminalWindowListener| Modifier and Type | Field and Description |
|---|---|
static int | APPENDThe "Append" clipboard operation. |
static int | CONTINUE_PASTEThe "Continue paste" clipboard operation. |
static int | COPYThe "Copy" clipboard operation. |
static int | CUTThe "Cut" clipboard operation. |
static int | PASTEThe "Paste" clipboard operation. |
static int | REMOVE_MARKAction used when the mark rectangle is removed. |
static int | SELECT_ALLThe "Select all" clipboard action. |
static int | SET_MARKAction used when a mark rectangle is created. |
static int | UNDOThe "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.
© 2026 Mindus SARL. All rights reserved.