Home » openjdk-7 » javax » swing » text » [javadoc | source]
javax.swing.text
static class: JTextComponent.MutableCaretEvent [javadoc | source]
java.lang.Object
   java.util.EventObject
      javax.swing.event.CaretEvent
         javax.swing.text.JTextComponent$MutableCaretEvent

All Implemented Interfaces:
    MouseListener, FocusListener, ChangeListener, Serializable

Event to use when firing a notification of change to caret position. This is mutable so that the event can be reused since caret events can be fairly high in bandwidth.
Fields inherited from java.util.EventObject:
source
Constructor:
 MutableCaretEvent(JTextComponent c) 
Method from javax.swing.text.JTextComponent$MutableCaretEvent Summary:
fire,   focusGained,   focusLost,   getDot,   getMark,   mouseClicked,   mouseEntered,   mouseExited,   mousePressed,   mouseReleased,   stateChanged,   toString
Methods from javax.swing.event.CaretEvent:
getDot,   getMark
Methods from java.util.EventObject:
getSource,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.text.JTextComponent$MutableCaretEvent Detail:
 final  void fire() 
 public  void focusGained(FocusEvent fe) 
 public  void focusLost(FocusEvent fe) 
 public final int getDot() 
 public final int getMark() 
 public final  void mouseClicked(MouseEvent e) 
 public final  void mouseEntered(MouseEvent e) 
 public final  void mouseExited(MouseEvent e) 
 public final  void mousePressed(MouseEvent e) 
    Requests focus on the associated text component, and try to set the cursor position.
 public final  void mouseReleased(MouseEvent e) 
    Called when the mouse is released.
 public final  void stateChanged(ChangeEvent e) 
 public final String toString()