protected class RTextArea.RTextAreaMutableCaretEvent extends CaretEvent
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.source
Modifier | Constructor and Description |
---|---|
protected |
RTextArea.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) |
getSource, toString
protected RTextArea.RTextAreaMutableCaretEvent(RTextArea textArea)
public void focusGained(FocusEvent e)
focusGained
in interface FocusListener
public void focusLost(FocusEvent e)
focusLost
in interface FocusListener
public void mouseDragged(MouseEvent e)
mouseDragged
in interface MouseMotionListener
public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
public void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener