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 TerminalWindowListener
public boolean onActivateMenu(char ch)
onActivateMenu
in interface TerminalWindowListener
public boolean onPopup(MouseEvent e)
onPopup
in interface TerminalWindowListener
public void vetoableChange(PropertyChangeEvent pce) throws PropertyVetoException
vetoableChange
in interface VetoableChangeListener
PropertyVetoException
public 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 WindowListener
public void windowClosing(WindowEvent e)
windowClosing
in interface WindowListener
public void windowOpened(WindowEvent e)
windowOpened
in interface WindowListener
public void windowIconified(WindowEvent e)
windowIconified
in interface WindowListener
public void windowDeiconified(WindowEvent e)
windowDeiconified
in interface WindowListener
public void windowDeactivated(WindowEvent e)
windowDeactivated
in interface WindowListener
public void windowClosed(WindowEvent e)
windowClosed
in interface WindowListener
public void onCloseWindow()
onCloseWindow
in interface CloseWindow
public void sendKey(KeyEvent e, boolean isRightDown)
sendKey
in interface TerminalWindowListener
public void sendHostKey(int key)
sendHostKey
in interface TerminalWindowListener
key
- The key to send.public void sendCharacter(char ch)
sendCharacter
in interface TerminalWindowListener
public boolean setCursor(int x, int y)
setCursor
in interface TerminalWindowListener
public void onClipboard(int operation, Rectangle r)
See the se.entra.phantom.common.TerminalWindow class for the clipboard operations.
onClipboard
in interface TerminalWindowListener
public boolean checkPrintWindow(KeyEvent e)
checkPrintWindow
in interface TerminalWindowListener
public Color getBackground(Color background, int x, int y)
getBackground
in interface TerminalWindowListener
public TerminalWindow getTerminalWindow()
public Container getFrame()
public PPanel getPanel()
public String getToolTipText(MouseEvent event)
public void componentMoved(ComponentEvent e)
componentMoved
in interface ComponentListener
public void componentResized(ComponentEvent e)
componentResized
in interface ComponentListener
public void componentShown(ComponentEvent e)
componentShown
in interface ComponentListener
public void componentHidden(ComponentEvent e)
componentHidden
in interface ComponentListener
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.