Class IvMFilter
- java.lang.Object
-
- org.processmining.plugins.inductiveVisualMiner.ivmfilter.IvMFilter
-
-
Constructor Summary
Constructors Constructor Description IvMFilter()Constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intcompareTo(IvMFilter o)voidcreateFilterGui(java.lang.Runnable onUpdate, IvMDecoratorI decorator)protected abstract IvMFilterGuicreateGui(IvMDecoratorI decorator)Initialises the JPanel containing the filter settings.booleanequals(java.lang.Object obj)java.lang.StringgetFilterName()abstract java.lang.StringgetName()Returns the name of this filter.IvMFilterGuigetPanel()inthashCode()protected abstract booleanisEnabled()Returns whether this filter is actually filtering something.booleanisEnabledFilter()voidsetEnabledFilter(boolean enabledFilter)protected voidupdate()This function is called when the user updates a filter and the filtering has to be recomputed.
-
-
-
Method Detail
-
getName
public abstract java.lang.String getName() throws java.lang.ExceptionReturns the name of this filter.- Returns:
- Throws:
java.lang.Exception
-
createGui
protected abstract IvMFilterGui createGui(IvMDecoratorI decorator) throws java.lang.Exception
Initialises the JPanel containing the filter settings.- Returns:
- Throws:
java.lang.Exception
-
isEnabled
protected abstract boolean isEnabled() throws java.lang.ExceptionReturns whether this filter is actually filtering something. If this method returns false, no other filtering function will be called and the entire log will be used.- Returns:
- Throws:
java.lang.Exception
-
update
protected final void update()
This function is called when the user updates a filter and the filtering has to be recomputed.
-
createFilterGui
public final void createFilterGui(java.lang.Runnable onUpdate, IvMDecoratorI decorator)
-
setEnabledFilter
public void setEnabledFilter(boolean enabledFilter)
-
isEnabledFilter
public final boolean isEnabledFilter()
-
getFilterName
public final java.lang.String getFilterName()
-
getPanel
public final IvMFilterGui getPanel()
-
compareTo
public int compareTo(IvMFilter o)
- Specified by:
compareToin interfacejava.lang.Comparable<IvMFilter>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-