M
- the model typepublic final class StoreRecordChangeEvent<M> extends StoreEvent<M,StoreRecordChangeEvent.StoreRecordChangeHandler<M>>
Modifier and Type | Class and Description |
---|---|
static interface |
StoreRecordChangeEvent.HasStoreRecordChangeHandlers<M>
A class that implements this interface is a public source of
StoreRecordChangeEvent . |
static interface |
StoreRecordChangeEvent.StoreRecordChangeHandler<M>
Handler interface for
StoreRecordChangeEvent . |
Constructor and Description |
---|
StoreRecordChangeEvent(Store.Record record,
ValueProvider<? super M,?> property)
Creates a new store record change event.
|
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(StoreRecordChangeEvent.StoreRecordChangeHandler<M> handler) |
<any> |
getAssociatedType() |
ValueProvider<? super M,?> |
getProperty()
Returns the property that was responsible for firing this record change event.
|
Store.Record |
getRecord()
Returns the record that was responsible for firing this record change
event.
|
static <any> |
getType()
Gets the type associated with this event.
|
getSource
public StoreRecordChangeEvent(Store.Record record, ValueProvider<? super M,?> property)
record
- the changed recordproperty
- the changed propertypublic static <any> getType()
public <any> getAssociatedType()
public ValueProvider<? super M,?> getProperty()
public Store.Record getRecord()
protected void dispatch(StoreRecordChangeEvent.StoreRecordChangeHandler<M> handler)
Copyright © 2018. All rights reserved.