Site hosted at byteslooser and Grasia! mirrors.


com.byteslooser.filters.gui
Interface ITableFilterEditor

All Known Subinterfaces:
ITableFilterTextBasedEditor
All Known Implementing Classes:
ChoiceFilterEditor, TableChoiceFilterEditor, TextChoiceFilterEditor, TextFilterEditor

public interface ITableFilterEditor

Interface to be implemented by any filter editor used by the TableFilterHeader

Author:
Luis M Pena - byteslooser@gmail.com

Method Summary
 Component getComponent()
          Provides the GUI component associated to the given editor
 IFilterObservable getFilterObservable()
          Provides the IFilterObservable associated to the given instance
 void resetFilter()
          Resets the filter.
 void updateFilter()
          Performs an update of the filter.
 

Method Detail

getComponent

Component getComponent()
Provides the GUI component associated to the given editor


getFilterObservable

IFilterObservable getFilterObservable()
Provides the IFilterObservable associated to the given instance


updateFilter

void updateFilter()

Performs an update of the filter.

Each editor defines its own semantics for this operation, but is always ensure that the current filter is propagated to any observers.


resetFilter

void resetFilter()
Resets the filter. The exact semantics for this operation depend on the editor itself, but is always ensured that this operation will remove any filtering currently performed by this editor.