de.uni_paderborn.fujaba.views
Interface FilterEditor

All Known Implementing Classes:
AbstractFilterEditor

public interface FilterEditor

The FilterEditor is the interface through which a ConfigurableFilter can be configured with the JPanel that the Editor defines as editor in the Gui.

Version:
$Revision: 1.10 $
Author:
$Author: schneider $
See Also:
ConfigurableFilter

Method Summary
 javax.swing.JPanel getEditorPanel()
           
 ConfigurableFilter getFilter()
           
 ConfigurableFilter getNewFilter()
          Returns a new Filter of the same class as the filter returned by getFilter().
 void getValues()
          read the values from the filter and initialize the Panel with it
 void setFilter(ConfigurableFilter filter)
          define the filter that is to be edited
 void setValues()
          get the values from the editor panel and set these values in the Filter
 

Method Detail

getEditorPanel

public javax.swing.JPanel getEditorPanel()
Returns:
a Panel to configure the Filter

getValues

public void getValues()
read the values from the filter and initialize the Panel with it

See Also:
getEditorPanel(), setValues()

setValues

public void setValues()
get the values from the editor panel and set these values in the Filter

See Also:
getEditorPanel(), getValues()

setFilter

public void setFilter(ConfigurableFilter filter)
define the filter that is to be edited

Parameters:
filter - The new filter value

getFilter

public ConfigurableFilter getFilter()
Returns:
the filter to be edited

getNewFilter

public ConfigurableFilter getNewFilter()
Returns a new Filter of the same class as the filter returned by getFilter().

The new Filter is initialized with the values of the Editor Panel

Returns:
a new filter with the values of the panel