Package com.iizigo.term.internal
Interface ITerminalListener
- All Known Implementing Classes:
TerminalComposite
public interface ITerminalListener
Terminal instance listener interface.- Author:
- Christopher Mindus
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
onActivateMenu(boolean isPopup)
Handles display of the pop-up window or activation of the menu bar.void
onMarkChange()
Called when the mark changes.boolean
onPopup(int x, int y)
Handles display of the pop-up window.
Method Detail
onPopup
boolean onPopup(int x, int y)
Handles display of the pop-up window.- Parameters:
x
- The mouse position in X relative the terminal container.y
- The mouse position in Y relative the terminal container.- Returns:
- true if handled (i.e. menu is displayed).
onActivateMenu
boolean onActivateMenu(boolean isPopup)
Handles display of the pop-up window or activation of the menu bar.- Parameters:
isPopup
- Flag indicating it's a pop-up that should be activated, as opposed to the menu bar.- Returns:
- true if handled (i.e. menu is displayed).
onMarkChange
void onMarkChange()
Called when the mark changes.