Class ScreenInfoAction


  • public class ScreenInfoAction
    extends KeyStroke
    ScreenInfoAction, a KeyStroke in disguise, this class contains the reported position of the screen cursor.
    • Constructor Detail

      • ScreenInfoAction

        public ScreenInfoAction​(TerminalPosition position)
        Constructs a ScreenInfoAction based on a location on the screen
        Parameters:
        position - the TerminalPosition reported from terminal
    • Method Detail

      • getPosition

        public TerminalPosition getPosition()
        The location of the mouse cursor when this event was generated.
        Returns:
        Location of the mouse cursor
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class KeyStroke