Package com.iizigo.swt
Class FilterController
- java.lang.Object
- com.iizigo.swt.FilterController
Constructor Summary
Constructors Constructor Description FilterController(org.eclipse.swt.widgets.Text text, IFilterListener filterListener)
Creates the filter composite in the parent.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
Clears the filter without notification.void
clearNotify()
Clears the filter text with notification to the listener.java.lang.String
getText()
Gets the current filter text, never null!void
setListener(IFilterListener listener)
Sets the listener.void
setText(java.lang.String text)
Sets a new text for the filter.
Constructor Detail
FilterController
public FilterController(org.eclipse.swt.widgets.Text text, IFilterListener filterListener)
Creates the filter composite in the parent.- Parameters:
text
- The parent.filterListener
- The listener.
Method Detail
setListener
public void setListener(IFilterListener listener)
Sets the listener.- Specified by:
setListener
in interfaceIFilter
clear
public void clear()
Clears the filter without notification.
clearNotify
public void clearNotify()
Clears the filter text with notification to the listener.
setText
public void setText(java.lang.String text)
Sets a new text for the filter.