X-Git-Url: http://git.nikiroo.be/?p=jvcard.git;a=blobdiff_plain;f=src%2Fcom%2Fgooglecode%2Flanterna%2Finput%2FScreenInfoAction.java;fp=src%2Fcom%2Fgooglecode%2Flanterna%2Finput%2FScreenInfoAction.java;h=0000000000000000000000000000000000000000;hp=976af8d0e024831de73a0d256b00e59eaa682389;hb=f06c81000632cfb5f525ca458f719338f55f9f66;hpb=a73a906356c971b080c36368e71a15d87e8b8d31 diff --git a/src/com/googlecode/lanterna/input/ScreenInfoAction.java b/src/com/googlecode/lanterna/input/ScreenInfoAction.java deleted file mode 100644 index 976af8d..0000000 --- a/src/com/googlecode/lanterna/input/ScreenInfoAction.java +++ /dev/null @@ -1,32 +0,0 @@ -package com.googlecode.lanterna.input; - -import com.googlecode.lanterna.TerminalPosition; - -/** - * ScreenInfoAction, a KeyStroke in disguise, this class contains the reported position of the screen cursor. - */ -public class ScreenInfoAction extends KeyStroke { - private final TerminalPosition position; - - /** - * Constructs a ScreenInfoAction based on a location on the screen - * @param position the TerminalPosition reported from terminal - */ - public ScreenInfoAction(TerminalPosition position) { - super(KeyType.CursorLocation); - this.position = position; - } - - /** - * The location of the mouse cursor when this event was generated. - * @return Location of the mouse cursor - */ - public TerminalPosition getPosition() { - return position; - } - - @Override - public String toString() { - return "ScreenInfoAction{position=" + position + '}'; - } -}