public class CursorSelectionInputListener extends TICMouseAdapter implements TICMouseListener, TICKeyListener
Note that this listener is only meant to be registered on instances of SequenceArea
(or possibly
instances of inherited classes). Registering it to other instances may cause ClassCastException
s.
Constructor and Description |
---|
CursorSelectionInputListener(AlignmentArea owner) |
Modifier and Type | Method and Description |
---|---|
AlignmentArea |
getOwner() |
boolean |
keyPressed(TICKeyEvent event) |
boolean |
keyReleased(TICKeyEvent event) |
boolean |
mouseDragged(TICMouseEvent event) |
boolean |
mousePressed(TICMouseEvent event) |
mouseEntered, mouseExited, mouseMoved, mouseReleased
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
mouseEntered, mouseExited, mouseMoved, mouseReleased
public CursorSelectionInputListener(AlignmentArea owner)
public AlignmentArea getOwner()
public boolean mousePressed(TICMouseEvent event)
mousePressed
in interface TICMouseListener
mousePressed
in class TICMouseAdapter
public boolean mouseDragged(TICMouseEvent event)
mouseDragged
in interface TICMouseListener
mouseDragged
in class TICMouseAdapter
public boolean keyPressed(TICKeyEvent event)
keyPressed
in interface TICKeyListener
public boolean keyReleased(TICKeyEvent event)
keyReleased
in interface TICKeyListener