Class ScreenInfoAction
java.lang.Object
com.googlecode.lanterna.input.KeyStroke
com.googlecode.lanterna.input.ScreenInfoAction
ScreenInfoAction, a KeyStroke in disguise, this class contains the reported position of the screen cursor.
-
Nested Class Summary
Nested classes/interfaces inherited from class KeyStroke
KeyStroke.RealF3 -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionScreenInfoAction(TerminalPosition position) Constructs a ScreenInfoAction based on a location on the screen -
Method Summary
Modifier and TypeMethodDescriptionThe location of the mouse cursor when this event was generated.toString()Methods inherited from class KeyStroke
equals, fromString, getCharacter, getEventTime, getKeyType, hashCode, isAltDown, isCtrlDown, isShiftDown
-
Field Details
-
position
-
-
Constructor Details
-
ScreenInfoAction
Constructs a ScreenInfoAction based on a location on the screen- Parameters:
position- the TerminalPosition reported from terminal
-
-
Method Details
-
getPosition
The location of the mouse cursor when this event was generated.- Returns:
- Location of the mouse cursor
-
toString
-