Class FilterDialog<T extends DataContainer>

    • Field Detail

      • m_ButtonOK

        protected BaseButton m_ButtonOK
        the OK button.
      • m_ButtonCancel

        protected BaseButton m_ButtonCancel
        the Cancel button.
      • m_CheckboxOverlay

        protected BaseCheckBox m_CheckboxOverlay
        the checkbox for whether the filtered data is to be overlayed over the original data.
      • m_FilterListener

        protected FilterListener m_FilterListener
        the listener.
    • Constructor Detail

      • FilterDialog

        public FilterDialog​(Dialog owner)
        Creates a modeless dialog without a title with the specified Dialog as its owner.
        Parameters:
        owner - the owning dialog
      • FilterDialog

        public FilterDialog​(Frame owner)
        Creates a modeless dialog without a title with the specified Frame as its owner.
        Parameters:
        owner - the owning frame
    • Method Detail

      • initialize

        protected void initialize()
        For initializing members.
        Overrides:
        initialize in class BaseDialog
      • initGUI

        protected void initGUI()
        For initializing the GUI.
        Overrides:
        initGUI in class BaseDialog
      • getDefaultFilter

        protected Filter<T> getDefaultFilter()
        Returns the default filter.
        Returns:
        the filter
      • createGOEPanel

        protected GenericObjectEditorPanel createGOEPanel()
        Creates the GenericObjectEditor panel to use.
        Returns:
        the panel
      • setFilter

        public void setFilter​(Filter<T> value)
        Sets the filter to use.
        Parameters:
        value - the filter
      • getFilter

        public Filter<T> getFilter()
        Returns the current filter.
        Returns:
        the filter
      • setOverlayOriginalData

        public void setOverlayOriginalData​(boolean value)
        Sets whether to overlay the filtered data with the original data.
        Parameters:
        value - if true then the data will be overlayed
      • getOverlayOriginalData

        public boolean getOverlayOriginalData()
        Returns whether the filtered data is to be overlayed with the original data.
        Returns:
        true if data should be overlayed
      • setFilterListener

        public void setFilterListener​(FilterListener value)
        Sets the listener to use.
        Parameters:
        value - the listener
      • getFilterListener

        public FilterListener getFilterListener()
        Returns the listener to use.
        Returns:
        the listener
      • beforeShow

        protected void beforeShow()
        Hook method just before the dialog is made visible.
        Overrides:
        beforeShow in class BaseDialog