Home » openjdk-7 » javax » swing » [javadoc | source]
javax.swing
class: Autoscroller [javadoc | source]
java.lang.Object
   javax.swing.Autoscroller

All Implemented Interfaces:
    ActionListener

Autoscroller is responsible for generating synthetic mouse dragged events. It is the responsibility of the Component (or its MouseListeners) that receive the events to do the actual scrolling in response to the mouse dragged events.
Constructor:
 Autoscroller() 
Method from javax.swing.Autoscroller Summary:
actionPerformed,   isRunning,   processMouseDragged,   stop
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.Autoscroller Detail:
 public  void actionPerformed(ActionEvent x) 
    ActionListener method. Invoked when the Timer fires. This will scroll if necessary.
 public static boolean isRunning(JComponent c) 
    Stops autoscroll events from happening on the specified component.
 public static  void processMouseDragged(MouseEvent e) 
    Invoked when a mouse dragged event occurs, will start the autoscroller if necessary.
 public static  void stop(JComponent c) 
    Stops autoscroll events from happening on the specified component.