T - the type of UIComponent that fired this event.S - the type of the value being changed.public static class ComponentEvent.ValueChange<T extends UIComponent<T>,S> extends ComponentEvent<T>
UIComponent gets it's value changed.ComponentEvent.ValueChange<T extends UIComponent<T>,S>| Modifier and Type | Field and Description |
|---|---|
protected S |
newValue
The new value.
|
protected S |
oldValue
The old value.
|
component| Constructor and Description |
|---|
ValueChange(T component,
S oldValue,
S newValue)
Instantiates a new
ComponentEvent.ValueChange |
| Modifier and Type | Method and Description |
|---|---|
S |
getNewValue()
Gets the value being set for the
UIComponent. |
S |
getOldValue()
Gets the value being changed for the
UIComponent. |
getComponent, isFromcancel, isCancelledprotected S oldValue
protected S newValue
public ValueChange(T component, S oldValue, S newValue)
ComponentEvent.ValueChangecomponent - the componentoldValue - the old valuenewValue - the new valuepublic S getOldValue()
UIComponent.public S getNewValue()
UIComponent.