public class ValueEvent extends AWTEvent
FormComponents and the application's data.| Modifier and Type | Field and Description |
|---|---|
static int |
FORMCN_EVENT
default event id
|
static int |
GET
action code to get values (update the data)
|
static int |
SET
action code to set values (update the view)
|
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 |
|---|
ValueEvent(Object source,
int action)
Creates a ValueEvent with the
default event ID
FORMCN_EVENT. |
ValueEvent(Object source,
int id,
int action)
Creates a ValueEvent.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAction()
Gets the action code.
|
consume, getID, isConsumed, paramString, setSource, toStringgetSourcepublic static final int FORMCN_EVENT
public static final int SET
public static final int GET
public ValueEvent(Object source, int id, int action)
source - the source objectid - the event IDaction - the action codepublic ValueEvent(Object source, int action)
FORMCN_EVENT.source - the source objectaction - the action codeTentackle - a domain driven enterprise framework