V - the type of events.public static class AbstractIndexedEventModel.Entry<V> extends Object
AbstractIndexedEventModel.createEntry()| Constructor and Description |
|---|
Entry()
Constructs entry with
null value. |
Entry(V value)
Constructs entry with a specified value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
commitChange()
|
V |
getNewValue()
Returns new value of the entry, after the most recent change,
null if the element is removed from the model. |
V |
getValue()
Returns current values of the entry.
|
boolean |
isChanged()
Returns
true if the value was updated and in the most recent change. |
public Entry()
null value.public Entry(V value)
value - the value.public V getValue()
AbstractIndexedEventModel.modelChanged
it is the value before the change, until commitChange() method is invoked.public V getNewValue()
null if the element is removed from the model.
It can differ from value only during
AbstractIndexedEventModel.modelChanged method
invocation and until commitChange() method is invoked.public boolean isChanged()
true if the value was updated and in the most recent change.
It is set to true only during
AbstractIndexedEventModel.modelChanged method
invocation and until commitChange() method is invoked.true if the value was updated and in the most recent change.public void commitChange()
Copyright © 2002–2023 Devexperts LLC. All rights reserved.