public class TICScrollEvent extends java.util.EventObject
ScrollingTICComponent
.Constructor and Description |
---|
TICScrollEvent(ScrollingToolkitComponent source)
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
ScrollingToolkitComponent |
getSource()
Returns the
ScrollingTICComponent that triggered the event. |
public TICScrollEvent(ScrollingToolkitComponent source)
source
- the source component triggering the eventpublic ScrollingToolkitComponent getSource()
ScrollingTICComponent
that triggered the event.
Use ScrollingTICComponent.getScrollOffsetX()
and ScrollingTICComponent.getScrollOffsetY()
to determine the new scroll position.
getSource
in class java.util.EventObject