F - filter's typepublic static final class DataCommunicator.Filter<F> extends Object implements Serializable
| Constructor and Description |
|---|
Filter(F filterObject)
Creates the filter object and sets it notify item count change
listeners by default.
|
Filter(F filterObject,
boolean notifyOnChange)
Creates the filter object and sets its lifespan.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
F |
getFilterObject()
Returns a filter object for this component.
|
int |
hashCode() |
boolean |
isNotifyOnChange()
Returns whether to fire the item change event or not upon filter
changing.
|
public Filter(F filterObject)
filterObject - filter object of a componentpublic Filter(F filterObject, boolean notifyOnChange)
filterObject - filter object of a componentnotifyOnChange - if true, then the data communicator will fire the
item count change event as soon as filter change modifies
the item count. If false, the item count change
event won't be fired, even if the item count will be
changed as a result of filtering.public F getFilterObject()
public boolean isNotifyOnChange()
true, then the data communicator will fire the item
count change event as soon as filter change modifies the item
count. Returns false, the item count change event
won't be fired, even if the item count will be changed as a
result of filtering.Copyright © 2021. All rights reserved.