public class ScrollEvent extends EventObject
ScrollEvent will be invoked if the current view position of a Frame changes.source| Constructor and Description |
|---|
ScrollEvent(Object source,
long xPosition,
long yPosition,
IBrowserCanvas owner)
Constructor for ScrollEvent.
|
| Modifier and Type | Method and Description |
|---|---|
IBrowserCanvas |
getBrowser()
Get the
IBrowserCanvas that the document for this event is attached to. |
long |
getX()
Get the X position the page has scrolled to.
|
long |
getY()
Get the Y position the page has scrolled to.
|
getSource, toStringpublic ScrollEvent(Object source, long xPosition, long yPosition, IBrowserCanvas owner)
public long getX()
public long getY()
public IBrowserCanvas getBrowser()
IBrowserCanvas that the document for this event is attached to.