public class G9ValueChangedEvent extends G9Event
| Modifier and Type | Field and Description |
|---|---|
static int |
VALUE_CHANGED
The id of this event.
|
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 |
|---|
G9ValueChangedEvent(Object source,
int id,
Object oldValue,
Object newValue)
Creates a new G9ValueChangedEvent.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getNewValue()
Returns the new value
|
Object |
getOldValue()
Returns the old value
|
String |
paramString() |
getSourcepublic static final int VALUE_CHANGED
public G9ValueChangedEvent(Object source, int id, Object oldValue, Object newValue)
source - the component that has changedid - the type of evnt, e.g. VALUE_CHANGEDoldValue - the old value of the componentnewValue - the new value of the componentpublic Object getOldValue()
public Object getNewValue()
public String paramString()
paramString in class AWTEventCopyright © 2006–2018 Esito AS. All rights reserved.