public class ScrollEvent
extends java.util.EventObject
Constructor and Description |
---|
ScrollEvent(java.lang.Object source,
int type,
int oldValue,
int newValue)
Initializes a new instance of the
ScrollEvent class. |
Modifier and Type | Method and Description |
---|---|
int |
getNewValue()
Gets the new value of the scroll bar.
|
int |
getOldValue()
Gets the old value of the scroll bar.
|
int |
getType()
Gets the type of scroll event that occurred.
|
public ScrollEvent(java.lang.Object source, int type, int oldValue, int newValue)
ScrollEvent
class.public int getType()
ScrollEventType
constants.public int getOldValue()
public int getNewValue()