Package com.iizigo.swt
Class FilterController
java.lang.Object
com.iizigo.swt.FilterController
- All Implemented Interfaces:
- IFilter
Class used to control a filter entry field that is used to filter out e.g. properties.
- Author:
- Christopher Mindus
- Constructor SummaryConstructorsConstructorDescription- FilterController- (IZ_Text text, IFilterListener filterListener) Creates the filter composite in the parent.
- Method SummaryModifier and TypeMethodDescription- boolean- clear()Clears the filter without notification.- voidClears the filter text with notification to the listener.- getText()Gets the current filter text, never null!- void- setListener- (IFilterListener listener) Sets the listener.- booleanSets a new text for the filter.
- Constructor Details- FilterControllerCreates the filter composite in the parent.- Parameters:
- text- The parent.
- filterListener- The listener.
 
 
- Method Details- setListenerSets the listener.- Specified by:
- setListenerin interface- IFilter
 
- clearpublic boolean clear()Clears the filter without notification.- Returns:
- true if filter was cleared, false otherwise.
 
- clearNotifypublic void clearNotify()Clears the filter text with notification to the listener.
- setTextSets a new text for the filter.
- getTextGets the current filter text, never null!