Class FilterController

  • All Implemented Interfaces:
    IFilter

    public class FilterController
    extends java.lang.Object
    implements IFilter
    Class used to control a filter entry field that is used to filter out e.g. properties.
    Author:
    Christopher Mindus
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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

      • 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.
        Specified by:
        setText in interface IFilter
      • getText

        public java.lang.String getText()
        Gets the current filter text, never null!
        Specified by:
        getText in interface IFilter