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 ScrollListeners.

Version:
26 Dec 1997
Author:
Kazuki YASUMATSU
See Also:
Scrollable, ScrollListener

Variable Index

 o BOTH
The horizontal/vertical orientation.
 o HORIZONTAL
The horizontal orientation.
 o SCROLL_FIRST
Marks the first integer id for the range of scroll event ids.
 o SCROLL_LAST
Marks the last integer id for the range of scroll event ids.
 o SCROLL_SIZE_CHANGED
The scroll size changed event.
 o SCROLL_VALUE_CHANGED
The scroll value changed event.
 o VERTICAL
The vertical orientation.

Constructor Index

 o ScrollEvent(Scrollable, int, int)
Constructs a ScrollEvent object with the specified Scrollable source, id, and orientation.

Method Index

 o getOrientation()
Returns the orientation type in the scrollable event.
 o getScrollable()
Returns the Scrollable object where this event originated.
 o paramString()

Variables

 o SCROLL_FIRST
 public static final int SCROLL_FIRST
Marks the first integer id for the range of scroll event ids.

 o SCROLL_LAST
 public static final int SCROLL_LAST
Marks the last integer id for the range of scroll event ids.

 o SCROLL_VALUE_CHANGED
 public static final int SCROLL_VALUE_CHANGED
The scroll value changed event.

 o SCROLL_SIZE_CHANGED
 public static final int SCROLL_SIZE_CHANGED
The scroll size changed event.

 o HORIZONTAL
 public static final int HORIZONTAL
The horizontal orientation.

 o VERTICAL
 public static final int VERTICAL
The vertical orientation.

 o BOTH
 public static final int BOTH
The horizontal/vertical orientation.

Constructors

 o 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.

Methods

 o getScrollable
 public Scrollable getScrollable()
Returns the Scrollable object where this event originated.

 o getOrientation
 public int getOrientation()
Returns the orientation type in the scrollable event.

 o paramString
 public String paramString()
Overrides:
paramString in class AWTEvent

All Packages  Class Hierarchy  This Package  Previous  Next  Index