public interface TraceInterface
Modifier and Type | Method and Description |
---|---|
int |
onClosePanel(PPanel panel)
Called when the user has requested closure of the panel, but before
anything else is done (i.e.
|
int |
onExit(String msg)
Called after disposal of the client, but just before destruction or system exit.
|
void |
onIssueAction(AEvent event)
Called from menu items or push buttons, etc, when they want to issue an action event
to the panel.
|
void |
onLogEvent(String text)
Called prior to logging a client event on the server.
|
void |
onOptionDialogReply(int value)
Called after the user has made the message box selection (or the automatic reply).
|
void |
onPanelCreation(PPanel panel,
String title)
Called prior to creating the GUI panel.
|
void |
onPanelDisplayed(PPanel panel)
Called after the panel has been visually created, but the AWT paint thread
may not yet have completed the paint.
|
void |
onProcessKeyEvent(Component c,
KeyEvent e)
Called prior to processing a key event.
|
void |
onReceiveTransaction(byte[] data)
Called prior to processing a received transaction from the server.
|
void |
onSendTransaction(byte[] data)
Called prior to sending the transaction to the server.
|
void |
onSessionLocked(boolean lock)
Called when the session lock state has been changed.
|
void |
onSessionSelected(int index)
Called when a session has been placed in the foreground.
|
void |
onSetFocusComponent(PPanel panel,
Component c)
Called when a component registers itself as the component in focus for a panel.
|
int |
onShowOptionDialog(Component parentComponent,
String message,
String title,
int optionType,
int messageType,
Icon icon,
Object[] options,
Object initialValue)
Called before the modal processing of a message box.
|
void |
onTerminalDisplayed(Component emulatorArea)
Called when the terminal window has been displayed.
|
void |
onTerminalHidden()
Called when the terminal window has been hidden.
|
void onReceiveTransaction(byte[] data)
void onSendTransaction(byte[] data)
void onSessionLocked(boolean lock)
void onTerminalDisplayed(Component emulatorArea)
void onTerminalHidden()
void onPanelCreation(PPanel panel, String title)
void onPanelDisplayed(PPanel panel)
int onClosePanel(PPanel panel)
void onSessionSelected(int index)
void onProcessKeyEvent(Component c, KeyEvent e)
void onIssueAction(AEvent event)
void onLogEvent(String text)
int onExit(String msg)
The "msg" parameter could be null if no message box was displayed before the exit.
int onShowOptionDialog(Component parentComponent, String message, String title, int optionType, int messageType, Icon icon, Object[] options, Object initialValue)
Return -9999 in order to keep the normal processing, i.e. to display the message box to the user and let him/her make the selection.
Otherwise return a possible pre-recorded user selection, e.g. for automatic playback.
void onOptionDialogReply(int value)
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.