public class HighlightingFilterCohort extends HighlightingFilter
Constructor and Description |
---|
HighlightingFilterCohort() |
Modifier and Type | Method and Description |
---|---|
IvMFilterGui |
createGui()
Initialises the JPanel containing the filter settings.
|
java.lang.String |
getName()
Returns the name of this filter.
|
static boolean |
inCohort(IvMTrace trace,
org.processmining.cohortanalysis.cohort.Cohort cohort) |
protected boolean |
isEnabled()
Returns whether this filter is actually filtering something.
|
void |
setAttributesInfo(IvMAttributesInfo attributesInfo)
Update the filter with the attributes info.
|
void |
setEnabledFilter(boolean enabled) |
void |
setSelectedCohort(org.processmining.cohortanalysis.cohort.Cohort cohort,
boolean highlightInCohort)
Set the selected cohort, or null to not select any cohort.
|
void |
setShowCohortAnalysisHandler(HighlightingFilter2CohortAnalysisHandler showCohortAnalysisHandler) |
boolean |
staysInLog(IvMTrace trace)
Main function of the filter.
|
void |
updateExplanation() |
compareTo, createFilterGui, equals, getFilterName, getPanel, hashCode, isEnabledFilter, update
public boolean staysInLog(IvMTrace trace)
HighlightingFilter
staysInLog
in class HighlightingFilter
public static boolean inCohort(IvMTrace trace, org.processmining.cohortanalysis.cohort.Cohort cohort)
public java.lang.String getName() throws java.lang.Exception
IvMFilter
public IvMFilterGui createGui() throws java.lang.Exception
IvMFilter
public void setEnabledFilter(boolean enabled)
setEnabledFilter
in class IvMFilter
protected boolean isEnabled()
IvMFilter
public void updateExplanation()
public void setShowCohortAnalysisHandler(HighlightingFilter2CohortAnalysisHandler showCohortAnalysisHandler)
public void setSelectedCohort(org.processmining.cohortanalysis.cohort.Cohort cohort, boolean highlightInCohort)
cohort
- highlightInCohort
- public void setAttributesInfo(IvMAttributesInfo attributesInfo)
HighlightingFilter
setAttributesInfo
in class HighlightingFilter