public class SpinEvent extends AWTEvent
FormSpinField.| Modifier and Type | Field and Description |
|---|---|
static int |
DECREMENT
decrement action
|
static int |
INCREMENT
increment action
|
static int |
SPIN_EVENT_ID
default spin event id
|
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 |
|---|
SpinEvent(Object source,
int action)
Creates a spin event with the default event id.
|
SpinEvent(Object source,
int id,
int action)
Creates a spin event
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAction()
Gets the action code.
|
consume, getID, isConsumed, paramString, setSource, toStringgetSourcepublic static final int SPIN_EVENT_ID
public static final int INCREMENT
public static final int DECREMENT
public SpinEvent(Object source, int id, int action)
source - source object (usually this)id - event IDaction - the action codepublic SpinEvent(Object source, int action)
source - source object (usually this)action - the action codeTentackle - distributed, domain- and model-driven