org.fife.ui.rtextarea
Class RTextArea.RTextAreaMutableCaretEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byjavax.swing.event.CaretEvent
          extended byorg.fife.ui.rtextarea.RTextAreaBase.RTAMouseListener
              extended byorg.fife.ui.rtextarea.RTextArea.RTextAreaMutableCaretEvent
All Implemented Interfaces:
java.util.EventListener, java.awt.event.FocusListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.io.Serializable
Enclosing class:
RTextArea

protected class RTextArea.RTextAreaMutableCaretEvent
extends org.fife.ui.rtextarea.RTextAreaBase.RTAMouseListener

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

Field Summary
 
Fields inherited from class org.fife.ui.rtextarea.RTextAreaBase.RTAMouseListener
dot, mark
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
protected RTextArea.RTextAreaMutableCaretEvent(RTextArea textArea)
           
 
Method Summary
 void focusGained(java.awt.event.FocusEvent e)
           
 void focusLost(java.awt.event.FocusEvent e)
           
 void mouseDragged(java.awt.event.MouseEvent e)
           
 void mousePressed(java.awt.event.MouseEvent e)
           
 void mouseReleased(java.awt.event.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RTextArea.RTextAreaMutableCaretEvent

protected RTextArea.RTextAreaMutableCaretEvent(RTextArea textArea)
Method Detail

focusGained

public void focusGained(java.awt.event.FocusEvent e)

focusLost

public void focusLost(java.awt.event.FocusEvent e)

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent e)

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)