public class CyclerEvent extends AWTEvent
| Modifier and Type | Field and Description |
|---|---|
static int |
DECREMENT
The unit decrement type.
|
static int |
INCREMENT
The unit increment type.
|
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_MASKsource| Constructor and Description |
|---|
CyclerEvent(Object source,
int type)
Constructs a Cycler object with the specified Cycler source,
and type.
|
CyclerEvent(Object source,
int type,
int value)
Constructs a Cycler object with the specified Cycler source,
and type.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue()
Returns the current value in the scale event.
|
String |
paramString() |
getSourcepublic static final int INCREMENT
public static final int DECREMENT
public CyclerEvent(Object source, int type)
source - the Cycler object where the event originatedpublic CyclerEvent(Object source, int type, int value)
source - the Cycler object where the event originatedpublic int getValue()
public String paramString()
paramString in class AWTEventCopyright © 2003, 2023, Oracle and/or its affiliates.