public interface MouseInterface
| Modifier and Type | Method and Description |
|---|---|
boolean |
closeProject()
Close the current application.
|
void |
deleteAllMarks()
Delete all marks defined for the current screen.
|
void |
displayInputFields(boolean create)
Display all input fields in the current host screen.
|
Color |
getBackground(Color background,
int x,
int y)
Gets the background color when drawing a character.
|
Rectangle |
getMark()
Get the current mark.
|
int |
getMode()
Get the current mode.
|
void |
handleMouseEvent(MouseEvent e)
Handle the current mouse event.
|
void |
initialize()
Perform any necessary initialization.
|
boolean |
isCloseProjectAllowed()
Is close application allowed at this point?
|
boolean |
isSaveNeeded()
Is save needed at this point?
|
void |
paint(Graphics graphics,
TerminalWindow tw,
int leftMargin,
int topMargin,
int cxFont,
int cyFont)
Paint all defined marks.
|
boolean |
performAction()
Perform action.
|
void |
rematchScreen(boolean reset)
Performs a re-match of the current screen.
|
void |
removeExcludedPopup()
Perform remove excluded pop-up window action.
|
void |
removeMark()
Removes the current mark.
|
boolean |
saveHostData()
Save the host data.
|
void |
setDimensions(int cxFont,
int cyFont,
int xOffset,
int yOffset,
int cxScreen,
int cyScreen)
Set the dimensions of the component.
|
void |
setHostConnected(boolean connected)
Indicate the host session is connected/disconnected.
|
void |
setMainPanel(Object output)
Set main panel reference.
|
void |
setMenuItemEnabled(String id,
boolean enabled)
Set menu alternative enabled (or inactive)
|
void |
setMode(int mode)
Set the mode the terminal is running in.
|
void |
setTerminalWindow(TerminalWindow owner)
Set the owner of the handler.
|
boolean |
undoAction()
Perform undo action.
|
void |
updateMenus()
Set the mode indicator in the menus.
|
void handleMouseEvent(MouseEvent e)
e - The MouseEvent.boolean isCloseProjectAllowed()
boolean closeProject()
void displayInputFields(boolean create)
create - should the displayed fields be created.void deleteAllMarks()
void initialize()
void paint(Graphics graphics, TerminalWindow tw, int leftMargin, int topMargin, int cxFont, int cyFont)
graphics - The graphics.tw - Terminal window.leftMargin - Left margin.topMargin - Top margin.cxFont - Font height.cyFont - Font width.Rectangle getMark()
Color getBackground(Color background, int x, int y)
int getMode()
void setDimensions(int cxFont,
int cyFont,
int xOffset,
int yOffset,
int cxScreen,
int cyScreen)
cxFont - horizontal font sizecyFont - vertical font sizexOffset - horizontal offsetyOffset - vertical offsetcxScreen - screen widthcyScreen - screen heightboolean isSaveNeeded()
void removeMark()
void removeExcludedPopup()
void setMainPanel(Object output)
output - The main panel reference.boolean saveHostData()
void setMode(int mode)
mode - void setTerminalWindow(TerminalWindow owner)
owner - The terminal window owner.void updateMenus()
boolean performAction()
boolean undoAction()
void setHostConnected(boolean connected)
connected - Connection flag.void setMenuItemEnabled(String id, boolean enabled)
id - menu item IDenabled - true = active, false = inactivevoid rematchScreen(boolean reset)
reset - is it allowed to reset the current screen?Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.