javax.swing
Class Autoscroller
java.lang.Object
java.awt.event.MouseAdapter
javax.swing.Autoscroller
- All Implemented Interfaces:
- EventListener, MouseListener, Serializable
- class Autoscroller
- extends MouseAdapter
- implements Serializable
- Author:
- Dave Moore
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
event
transient MouseEvent event
timer
transient Timer timer
component
JComponent component
Autoscroller
Autoscroller(JComponent c)
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