|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.coderazzi.filters.artifacts.RowFilter net.coderazzi.filters.Filter
Commodity class implementing the interface IFilter
on a RowFilter
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class net.coderazzi.filters.artifacts.RowFilter |
---|
RowFilter.Entry |
Constructor Summary | |
---|---|
Filter()
|
Method Summary | |
---|---|
void |
addFilterObserver(IFilterObserver observer)
Adds an observer to receive filter change notifications. |
Set<IFilterObserver> |
getFilterObservers()
Returns all the registered IFilterObserver instances. |
boolean |
isEnabled()
Returns true if the filter is enabled. |
void |
removeFilterObserver(IFilterObserver observer)
Unregisters an observer, that will not receive any further filter update notifications. |
void |
reportFilterUpdatedToObservers()
Method to be called by subclasses to report to the observers that the filter has changed. |
void |
setEnabled(boolean enable)
Enables/Disables the filter. |
Methods inherited from class net.coderazzi.filters.artifacts.RowFilter |
---|
include |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.coderazzi.filters.IFilter |
---|
include |
Constructor Detail |
---|
public Filter()
Method Detail |
---|
public boolean isEnabled()
IFilter
IFilter.isEnabled()
public void setEnabled(boolean enable)
IFilter
setEnabled
in interface IFilter
IFilter.setEnabled(boolean)
public void addFilterObserver(IFilterObserver observer)
IFilter
addFilterObserver
in interface IFilter
public void removeFilterObserver(IFilterObserver observer)
IFilter
removeFilterObserver
in interface IFilter
public Set<IFilterObserver> getFilterObservers()
IFilterObserver
instances.
public void reportFilterUpdatedToObservers()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |