protected class RTextArea.RTextAreaMutableCaretEvent extends RTextAreaBase.RTAMouseListener
MutableCaretEvent
in
JTextComponent
so that mouse events get fired when the user
is selecting text with the mouse as well. This class also displays the
popup menu when the user right-clicks in the text area.dot, mark
source
Modifier | Constructor and Description |
---|---|
protected |
RTextAreaMutableCaretEvent(RTextArea textArea) |
Modifier and Type | Method and Description |
---|---|
void |
focusGained(FocusEvent e) |
void |
focusLost(FocusEvent e) |
void |
mouseDragged(MouseEvent e) |
void |
mousePressed(MouseEvent e) |
void |
mouseReleased(MouseEvent e) |
getDot, getMark, mouseClicked, mouseEntered, mouseExited, mouseMoved
getSource, toString
protected RTextAreaMutableCaretEvent(RTextArea textArea)
public void focusGained(FocusEvent e)
focusGained
in interface FocusListener
focusGained
in class RTextAreaBase.RTAMouseListener
public void focusLost(FocusEvent e)
focusLost
in interface FocusListener
focusLost
in class RTextAreaBase.RTAMouseListener
public void mouseDragged(MouseEvent e)
mouseDragged
in interface MouseMotionListener
mouseDragged
in class RTextAreaBase.RTAMouseListener
public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
mousePressed
in class RTextAreaBase.RTAMouseListener
public void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
mouseReleased
in class RTextAreaBase.RTAMouseListener
Copyright © 2003–2015. All rights reserved.