public interface MouseInterface
| Modifier and Type | Method and Description |
|---|---|
boolean |
closeProject()
Close the current application.
|
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(boolean newName)
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 |
setMenuItemChecked(String id,
int checked)
Set menu alternative checked (or unchecked)
|
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)
MouseEvent - boolean isCloseProjectAllowed()
boolean closeProject()
void displayInputFields(boolean create)
boolean - - should the displayed fields be created.void initialize()
void paint(Graphics graphics, TerminalWindow tw, int leftMargin, int topMargin, int cxFont, int cyFont)
Graphics - - graphicsTerminalWindow - int - - leftMarginint - - topMarginint - - cxFontint - - cyFontRectangle 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)
Object - boolean saveHostData(boolean newName)
boolean - - true = save under a new namevoid setMode(int mode)
mode - void setTerminalWindow(TerminalWindow owner)
RepaintInterface - void updateMenus()
int - modeboolean performAction()
boolean undoAction()
void setHostConnected(boolean connected)
boolean - connectedvoid setMenuItemEnabled(String id, boolean enabled)
String - - menu item IDboolean - - true = active, false = inactivevoid setMenuItemChecked(String id, int checked)
String - - menu item IDint - - 1 = checked, 0 = uncheckedvoid rematchScreen(boolean reset)
boolean - - is it allowed to reset the current screen?Phantom® and NetPhantom® are registered trademarks of Nexum Technologies SARL.
© Copyright Nexum Technologies SARL, 2011. All rights reserved.