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,S> extends ComponentEvent<T>
UIComponent
gets it's value changed.ComponentEvent.ValueChange<T extends UIComponent,S>
Modifier and Type | Field and Description |
---|---|
protected S |
newValue
The new value.
|
protected S |
oldValue
The old value.
|
component
Constructor and Description |
---|
ComponentEvent.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, isFrom
cancel, isCancelled
protected S oldValue
protected S newValue
public ComponentEvent.ValueChange(T component, S oldValue, S newValue)
ComponentEvent.ValueChange
component
- the componentoldValue
- the old valuenewValue
- the new valuepublic S getOldValue()
UIComponent
.public S getNewValue()
UIComponent
.