public class TerminalWindowInstance extends Object implements TerminalWindowListener, CloseWindow, WindowListener, VetoableChangeListener, ComponentListener
APPEND, CONTINUE_PASTE, COPY, CUT, PASTE, REMOVE_MARK, SELECT_ALL, SET_MARK, UNDO| Modifier and Type | Method and Description |
|---|---|
boolean |
checkPrintWindow(KeyEvent e)
Checks for Print Window keystroke.
|
void |
componentHidden(ComponentEvent e) |
void |
componentMoved(ComponentEvent e) |
void |
componentResized(ComponentEvent e) |
void |
componentShown(ComponentEvent e) |
Color |
getBackground(Color background,
int x,
int y)
Gets the background color when drawing a character.
|
Container |
getFrame()
Gets the frame associated with the terminal window.
|
PPanel |
getPanel()
Get the terminal panel.
|
TerminalWindow |
getTerminalWindow()
Gets the terminal window component.
|
String |
getToolTipText(MouseEvent event)
Gets the tool-tip text for a mouse position.
|
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.
|
void |
onCloseWindow()
The listener for internal frame.
|
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 host key to the host.
|
void |
sendKey(KeyEvent e,
boolean isRightDown)
Sends a key to the terminal.
|
boolean |
setCursor(int x,
int y)
Sets the cursor position to X/Y.
|
void |
vetoableChange(PropertyChangeEvent pce)
Don't activate the terminal window when there is a pop-up on top.
|
void |
windowActivated(WindowEvent e)
Sets focus to the terminal window.
|
void |
windowClosed(WindowEvent e) |
void |
windowClosing(WindowEvent e)
Closes the frame window.
|
void |
windowDeactivated(WindowEvent e) |
void |
windowDeiconified(WindowEvent e) |
void |
windowIconified(WindowEvent e) |
void |
windowOpened(WindowEvent e) |
public boolean onActivateMenu(boolean isPopup)
onActivateMenu in interface TerminalWindowListenerpublic boolean onActivateMenu(char ch)
onActivateMenu in interface TerminalWindowListenerpublic boolean onPopup(MouseEvent e)
onPopup in interface TerminalWindowListenerpublic void vetoableChange(PropertyChangeEvent pce) throws PropertyVetoException
vetoableChange in interface VetoableChangeListenerPropertyVetoExceptionpublic void windowActivated(WindowEvent e)
This is due to a bug running outside the browser when the window gets activated. Focus is not there! This helps...
windowActivated in interface WindowListenerpublic void windowClosing(WindowEvent e)
windowClosing in interface WindowListenerpublic void windowOpened(WindowEvent e)
windowOpened in interface WindowListenerpublic void windowIconified(WindowEvent e)
windowIconified in interface WindowListenerpublic void windowDeiconified(WindowEvent e)
windowDeiconified in interface WindowListenerpublic void windowDeactivated(WindowEvent e)
windowDeactivated in interface WindowListenerpublic void windowClosed(WindowEvent e)
windowClosed in interface WindowListenerpublic void onCloseWindow()
onCloseWindow in interface CloseWindowpublic void sendKey(KeyEvent e, boolean isRightDown)
sendKey in interface TerminalWindowListenerpublic void sendHostKey(int key)
sendHostKey in interface TerminalWindowListenerkey - The key to send.public void sendCharacter(char ch)
sendCharacter in interface TerminalWindowListenerpublic boolean setCursor(int x,
int y)
setCursor in interface TerminalWindowListenerpublic void onClipboard(int operation,
Rectangle r)
See the se.entra.phantom.common.TerminalWindow class for the clipboard operations.
onClipboard in interface TerminalWindowListenerpublic boolean checkPrintWindow(KeyEvent e)
checkPrintWindow in interface TerminalWindowListenerpublic Color getBackground(Color background, int x, int y)
getBackground in interface TerminalWindowListenerpublic TerminalWindow getTerminalWindow()
public Container getFrame()
public PPanel getPanel()
public String getToolTipText(MouseEvent event)
public void componentMoved(ComponentEvent e)
componentMoved in interface ComponentListenerpublic void componentResized(ComponentEvent e)
componentResized in interface ComponentListenerpublic void componentShown(ComponentEvent e)
componentShown in interface ComponentListenerpublic void componentHidden(ComponentEvent e)
componentHidden in interface ComponentListenerPhantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.