Package com.iizigo.term.internal
Interface ITerminalListener
- All Known Implementing Classes:
- TerminalComposite
public interface ITerminalListener
Terminal instance listener interface.
- Author:
- Christopher Mindus
- Method SummaryModifier and TypeMethodDescription- boolean- onActivateMenu- (boolean isPopup) Handles display of the pop-up window or activation of the menu bar.- voidCalled when the mark changes.- boolean- onPopup- (int x, int y) Handles display of the pop-up window.
- Method Details- onPopupboolean 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).
 
- onActivateMenuboolean 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).
 
- onMarkChangevoid onMarkChange()Called when the mark changes.