apollo.gui.event
Class ScrollEvent

java.lang.Object
  extended by java.util.EventObject
      extended by apollo.gui.event.ScrollEvent
All Implemented Interfaces:
java.io.Serializable

public class ScrollEvent
extends java.util.EventObject

Introduced to propagate join-scroll events to both panels: I use the value transmitted as a relative-shift amount in terms of pixels.

See Also:
Serialized Form

Constructor Summary
ScrollEvent(java.lang.Object source, double value)
           
 
Method Summary
 java.lang.Object getSource()
           
 double getValue()
           
 void setSource(java.lang.Object source)
           
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScrollEvent

public ScrollEvent(java.lang.Object source,
                   double value)
Method Detail

getSource

public java.lang.Object getSource()
Overrides:
getSource in class java.util.EventObject

getValue

public double getValue()

setSource

public void setSource(java.lang.Object source)