Package org.fife.ui.rtextarea
Class RTextArea.RTextAreaMutableCaretEvent
java.lang.Object
java.util.EventObject
javax.swing.event.CaretEvent
org.fife.ui.rtextarea.RTextAreaBase.RTAMouseListener
org.fife.ui.rtextarea.RTextArea.RTextAreaMutableCaretEvent
- All Implemented Interfaces:
FocusListener,MouseListener,MouseMotionListener,Serializable,EventListener
- Direct Known Subclasses:
RSyntaxTextArea.RSyntaxTextAreaMutableCaretEvent
- Enclosing class:
RTextArea
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:
-
Field Summary
Fields inherited from class org.fife.ui.rtextarea.RTextAreaBase.RTAMouseListener
dot, markFields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidprivate voidShows a popup menu with cut, copy, paste, etc.Methods inherited from class org.fife.ui.rtextarea.RTextAreaBase.RTAMouseListener
getDot, getMark, mouseClicked, mouseEntered, mouseExited, mouseMovedMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
RTextAreaMutableCaretEvent
-
-
Method Details
-
focusGained
- Specified by:
focusGainedin interfaceFocusListener- Overrides:
focusGainedin classRTextAreaBase.RTAMouseListener
-
focusLost
- Specified by:
focusLostin interfaceFocusListener- Overrides:
focusLostin classRTextAreaBase.RTAMouseListener
-
mouseDragged
- Specified by:
mouseDraggedin interfaceMouseMotionListener- Overrides:
mouseDraggedin classRTextAreaBase.RTAMouseListener
-
mousePressed
- Specified by:
mousePressedin interfaceMouseListener- Overrides:
mousePressedin classRTextAreaBase.RTAMouseListener
-
mouseReleased
- Specified by:
mouseReleasedin interfaceMouseListener- Overrides:
mouseReleasedin classRTextAreaBase.RTAMouseListener
-
showPopup
Shows a popup menu with cut, copy, paste, etc. options if the user clicked the right button.- Parameters:
e- The mouse event that caused this method to be called.
-