javax.swing
Class Autoscroller

java.lang.Object
  extended byjava.awt.event.MouseAdapter
      extended byjavax.swing.Autoscroller
All Implemented Interfaces:
EventListener, MouseListener, Serializable

class Autoscroller
extends MouseAdapter
implements Serializable

Author:
Dave Moore

Nested Class Summary
(package private)  class Autoscroller.AutoScrollTimerAction
           
 
Field Summary
(package private)  JComponent component
           
(package private)  MouseEvent event
           
(package private)  Timer timer
           
 
Constructor Summary
(package private) Autoscroller(JComponent c)
           
 
Method Summary
(package private)  void dispose()
           
 void mouseDragged(MouseEvent e)
           
 void mouseReleased(MouseEvent e)
          Invoked when a mouse button has been released on a component.
private  void readObject(ObjectInputStream s)
           
(package private)  void stop()
           
private  void writeObject(ObjectOutputStream s)
           
 
Methods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseEntered, mouseExited, mousePressed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

event

transient MouseEvent event

timer

transient Timer timer

component

JComponent component
Constructor Detail

Autoscroller

Autoscroller(JComponent c)
Method Detail

stop

void stop()

dispose

void dispose()

mouseReleased

public void mouseReleased(MouseEvent e)
Description copied from class: MouseAdapter
Invoked when a mouse button has been released on a component.

Specified by:
mouseReleased in interface MouseListener
Overrides:
mouseReleased in class MouseAdapter

mouseDragged

public void mouseDragged(MouseEvent e)

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Throws:
IOException

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException