Home » openjdk-7 » javax » swing » plaf » basic » [javadoc | source]
javax.swing.plaf.basic
static class: BasicTextUI.DragListener [javadoc | source]
java.lang.Object
   java.awt.event.MouseAdapter
      javax.swing.event.MouseInputAdapter
         javax.swing.plaf.basic.BasicTextUI$DragListener

All Implemented Interfaces:
    BeforeDrag, MouseInputListener, MouseListener, MouseMotionListener, MouseWheelListener

Listens for mouse events for the purposes of detecting drag gestures. BasicTextUI will maintain one of these per AppContext.
Method from javax.swing.plaf.basic.BasicTextUI$DragListener Summary:
dragStarting,   isDragPossible,   mouseDragged,   mousePressed,   mouseReleased
Methods from java.awt.event.MouseAdapter:
mouseClicked,   mouseDragged,   mouseEntered,   mouseExited,   mouseMoved,   mousePressed,   mouseReleased,   mouseWheelMoved
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.plaf.basic.BasicTextUI$DragListener Detail:
 public  void dragStarting(MouseEvent me) 
 protected boolean isDragPossible(MouseEvent e) 
    Determines if the following are true:
    • the component is enabled
    • the press event is located over a selection
 public  void mouseDragged(MouseEvent e) 
 public  void mousePressed(MouseEvent e) 
 public  void mouseReleased(MouseEvent e)