public class ValueChangeEvent extends AMXEvent
Constructor and Description |
---|
ValueChangeEvent()
Creates a new ValueChangeEvent
|
ValueChangeEvent(Object oldValue,
Object newValue)
Creates a new ValueChangeEvent
|
Modifier and Type | Method and Description |
---|---|
Object |
getNewValue()
Returns the new value of the component.
|
Object |
getOldValue()
Returns the previous value of the component.
|
void |
setNewValue(Object newValue)
Sets the new value of the component.
|
void |
setOldValue(Object oldValue)
Sets the previous value of the component.
|
public ValueChangeEvent()
public ValueChangeEvent(Object oldValue, Object newValue)
oldValue
- the previous value of the component.newValue
- the new value of the component.public Object getOldValue()
public void setOldValue(Object oldValue)
public Object getNewValue()
public void setNewValue(Object newValue)