Interface ITerminalListener

  • All Known Implementing Classes:
    TerminalComposite

    public interface ITerminalListener
    Terminal instance listener interface.
    Author:
    Christopher Mindus
    • 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.