V - Value typepublic static interface ValueHolder.ValueChangeEvent<V> extends Serializable
ValueHolder.ValueChangeListener event.| Modifier and Type | Method and Description |
|---|---|
static <T> ValueHolder.ValueChangeEvent<T> |
create(ValueHolder<T,?> source,
T oldValue,
T value,
boolean userOriginated)
Create a new
ValueHolder.ValueChangeEvent. |
V |
getOldValue()
Returns the value of the source before this value change event occurred.
|
ValueHolder<V,?> |
getSource()
Get the source of this value change event.
|
V |
getValue()
Returns the new value that triggered this value change event.
|
boolean |
isUserOriginated()
Returns whether this event was triggered by user interaction, on the client side, or programmatically, on the
server side.
|
boolean isUserOriginated()
true if this event originates from the client, false otherwise.ValueHolder<V,?> getSource()
ValueHolder type sourceV getOldValue()
V getValue()
static <T> ValueHolder.ValueChangeEvent<T> create(ValueHolder<T,?> source, T oldValue, T value, boolean userOriginated)
ValueHolder.ValueChangeEvent.T - Value typesource - Source (not null)oldValue - Old valuevalue - New valueuserOriginated - Whether is a client-side (user originated) change event or server sideValueHolder.ValueChangeEvent instanceCopyright © 2020 The Holon Platform. All rights reserved.