|
j3d.org Code | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.EventObject
org.j3d.renderer.java3d.overlay.ScrollEvent
An event describing a scroll action or request.
| Field Summary | |
static int |
SCROLLED_DOWN
The scroll type/direction is down |
static int |
SCROLLED_LEFT
The scroll type/direction is left |
static int |
SCROLLED_RIGHT
The scroll type/direction is right |
static int |
SCROLLED_UP
The scroll type/direction is up |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
ScrollEvent(java.lang.Object source,
java.lang.Object scrolledItem,
int scrollType)
Create a new event instance that represents the collection of data. |
|
| Method Summary | |
java.lang.Object |
getScrolledItem()
Get a reference to the item that has actually be scrolled, rather than the class that generated the event |
int |
getScrollType()
Get the direction flag for the scroll action. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int SCROLLED_UP
public static final int SCROLLED_DOWN
public static final int SCROLLED_LEFT
public static final int SCROLLED_RIGHT
| Constructor Detail |
public ScrollEvent(java.lang.Object source,
java.lang.Object scrolledItem,
int scrollType)
source - The class that created the eventscrolledItem - The item that was actually scrolledscrollType - the direction the scroll action has taken| Method Detail |
public java.lang.Object getScrolledItem()
public int getScrollType()
|
j3d.org Code | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||