public class ValueEvent extends EventObject
| Modifier and Type | Field and Description |
|---|---|
protected Object |
newValue |
protected Object |
oldValue |
static int |
PROGRAMMATIC_CHANGE |
protected int |
type |
static int |
USER_CHANGE |
source| Constructor and Description |
|---|
ValueEvent(Object source,
Object newValue,
Object oldValue,
int type)
Create a new event to use when a component value changes
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getNewValue() |
Object |
getOldValue() |
int |
getType() |
getSource, toStringpublic static int USER_CHANGE
public static int PROGRAMMATIC_CHANGE
protected Object oldValue
protected Object newValue
protected int type
public ValueEvent(Object source, Object newValue, Object oldValue, int type)
source - Event source componentnewValue - New component valueoldValue - Old component valuetype - Event type. Valid values are:PROGRAMMATIC_CHANGE when the value change
was automatically or USER_CHANGE when an user did the changeCopyright © 2016 Imatia Innovation S.L.. All rights reserved.