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
- Enclosing class:
- RTextArea
protected class RTextArea.RTextAreaMutableCaretEvent extends RTextAreaBase.RTAMouseListener
Modified fromMutableCaretEvent
inJTextComponent
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
-
-
Field Summary
-
Fields inherited from class org.fife.ui.rtextarea.RTextAreaBase.RTAMouseListener
dot, mark
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RTextAreaMutableCaretEvent(RTextArea textArea)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
focusGained(FocusEvent e)
void
focusLost(FocusEvent e)
void
mouseDragged(MouseEvent e)
void
mousePressed(MouseEvent e)
void
mouseReleased(MouseEvent e)
-
Methods inherited from class org.fife.ui.rtextarea.RTextAreaBase.RTAMouseListener
getDot, getMark, mouseClicked, mouseEntered, mouseExited, mouseMoved
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
RTextAreaMutableCaretEvent
protected RTextAreaMutableCaretEvent(RTextArea textArea)
-
-
Method Detail
-
focusGained
public void focusGained(FocusEvent e)
- Specified by:
focusGained
in interfaceFocusListener
- Overrides:
focusGained
in classRTextAreaBase.RTAMouseListener
-
focusLost
public void focusLost(FocusEvent e)
- Specified by:
focusLost
in interfaceFocusListener
- Overrides:
focusLost
in classRTextAreaBase.RTAMouseListener
-
mouseDragged
public void mouseDragged(MouseEvent e)
- Specified by:
mouseDragged
in interfaceMouseMotionListener
- Overrides:
mouseDragged
in classRTextAreaBase.RTAMouseListener
-
mousePressed
public void mousePressed(MouseEvent e)
- Specified by:
mousePressed
in interfaceMouseListener
- Overrides:
mousePressed
in classRTextAreaBase.RTAMouseListener
-
mouseReleased
public void mouseReleased(MouseEvent e)
- Specified by:
mouseReleased
in interfaceMouseListener
- Overrides:
mouseReleased
in classRTextAreaBase.RTAMouseListener
-
-