org.fife.ui.rtextarea
Class RTextArea.RTextAreaMutableCaretEvent
java.lang.Object
java.util.EventObject
javax.swing.event.CaretEvent
org.fife.ui.rtextarea.RTextArea.RTextAreaMutableCaretEvent
- All Implemented Interfaces:
- java.awt.event.FocusListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.io.Serializable, java.util.EventListener
- Enclosing class:
- RTextArea
protected class RTextArea.RTextAreaMutableCaretEvent
- extends javax.swing.event.CaretEvent
Modified from 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.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RTextArea.RTextAreaMutableCaretEvent
protected RTextArea.RTextAreaMutableCaretEvent(RTextArea textArea)
focusGained
public void focusGained(java.awt.event.FocusEvent e)
- Specified by:
focusGained
in interface java.awt.event.FocusListener
focusLost
public void focusLost(java.awt.event.FocusEvent e)
- Specified by:
focusLost
in interface java.awt.event.FocusListener
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent e)
- Specified by:
mouseDragged
in interface java.awt.event.MouseMotionListener
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
- Specified by:
mousePressed
in interface java.awt.event.MouseListener
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
- Specified by:
mouseReleased
in interface java.awt.event.MouseListener