public class ScrollEvent
extends java.awt.AWTEvent
Scrollable
object to ScrollListeners.Scrollable,
ScrollListener,
直列化された形式| 修飾子とタイプ | フィールドと説明 |
|---|---|
static int |
BOTH
The horizontal/vertical orientation.
|
static int |
HORIZONTAL
The horizontal orientation.
|
protected int |
orientation |
static int |
SCROLL_FIRST
Marks the first integer id for the range of scroll event ids.
|
static int |
SCROLL_LAST
Marks the last integer id for the range of scroll event ids.
|
static int |
SCROLL_SIZE_CHANGED
The scroll size changed event.
|
static int |
SCROLL_VALUE_CHANGED
The scroll value changed event.
|
protected Scrollable |
scrollable |
static int |
VERTICAL
The vertical orientation.
|
ACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, consumed, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK, HIERARCHY_BOUNDS_EVENT_MASK, HIERARCHY_EVENT_MASK, id, INPUT_METHOD_EVENT_MASK, INVOCATION_EVENT_MASK, ITEM_EVENT_MASK, KEY_EVENT_MASK, MOUSE_EVENT_MASK, MOUSE_MOTION_EVENT_MASK, MOUSE_WHEEL_EVENT_MASK, PAINT_EVENT_MASK, RESERVED_ID_MAX, TEXT_EVENT_MASK, WINDOW_EVENT_MASK, WINDOW_FOCUS_EVENT_MASK, WINDOW_STATE_EVENT_MASK| コンストラクタと説明 |
|---|
ScrollEvent(Scrollable source,
int id,
int orientation)
Constructs a ScrollEvent object with the specified Scrollable source,
id, and orientation.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
getOrientation()
Returns the orientation type in the scrollable event.
|
Scrollable |
getScrollable()
Returns the Scrollable object where this event originated.
|
java.lang.String |
paramString() |
protected Scrollable scrollable
protected int orientation
public static final int SCROLL_FIRST
public static final int SCROLL_LAST
public static final int SCROLL_VALUE_CHANGED
public static final int SCROLL_SIZE_CHANGED
public static final int HORIZONTAL
public static final int VERTICAL
public static final int BOTH
public ScrollEvent(Scrollable source, int id, int orientation)
source - the Scrollable object where the event originated.id - the event type.orientaion - the orientation type.public Scrollable getScrollable()
public int getOrientation()
public java.lang.String paramString()
paramString クラス内 java.awt.AWTEvent