public class TICScrollEvent extends EventObject
ScrollingTICComponent
.source
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. |
toString
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 EventObject