All Packages Class Hierarchy This Package Previous Next Index
Class jp.kyasu.awt.event.ScrollEvent
java.lang.Object
|
+----java.util.EventObject
|
+----java.awt.AWTEvent
|
+----jp.kyasu.awt.event.ScrollEvent
- public class ScrollEvent
- extends AWTEvent
The Scrollable event that is originated from a Scrollable
object to ScrollListener
s.
- Version:
- 26 Dec 1997
- Author:
- Kazuki YASUMATSU
- See Also:
- Scrollable, ScrollListener
-
BOTH
- The horizontal/vertical orientation.
-
HORIZONTAL
- The horizontal orientation.
-
SCROLL_FIRST
- Marks the first integer id for the range of scroll event ids.
-
SCROLL_LAST
- Marks the last integer id for the range of scroll event ids.
-
SCROLL_SIZE_CHANGED
- The scroll size changed event.
-
SCROLL_VALUE_CHANGED
- The scroll value changed event.
-
VERTICAL
- The vertical orientation.
-
ScrollEvent(Scrollable, int, int)
- Constructs a ScrollEvent object with the specified Scrollable source,
id, and orientation.
-
getOrientation()
- Returns the orientation type in the scrollable event.
-
getScrollable()
- Returns the Scrollable object where this event originated.
-
paramString()
-
SCROLL_FIRST
public static final int SCROLL_FIRST
- Marks the first integer id for the range of scroll event ids.
SCROLL_LAST
public static final int SCROLL_LAST
- Marks the last integer id for the range of scroll event ids.
SCROLL_VALUE_CHANGED
public static final int SCROLL_VALUE_CHANGED
- The scroll value changed event.
SCROLL_SIZE_CHANGED
public static final int SCROLL_SIZE_CHANGED
- The scroll size changed event.
HORIZONTAL
public static final int HORIZONTAL
- The horizontal orientation.
VERTICAL
public static final int VERTICAL
- The vertical orientation.
BOTH
public static final int BOTH
- The horizontal/vertical orientation.
ScrollEvent
public ScrollEvent(Scrollable source,
int id,
int orientation)
- Constructs a ScrollEvent object with the specified Scrollable source,
id, and orientation.
- Parameters:
- source - the Scrollable object where the event originated.
- id - the event type.
- orientaion - the orientation type.
getScrollable
public Scrollable getScrollable()
- Returns the Scrollable object where this event originated.
getOrientation
public int getOrientation()
- Returns the orientation type in the scrollable event.
paramString
public String paramString()
- Overrides:
- paramString in class AWTEvent
All Packages Class Hierarchy This Package Previous Next Index