org.processmining.analysis.conformance
Class ConformanceAnalysisResults.SpinnerListener

java.lang.Object
  extended by org.processmining.analysis.conformance.ConformanceAnalysisResults.SpinnerListener
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.ChangeListener
Enclosing class:
ConformanceAnalysisResults

public class ConformanceAnalysisResults.SpinnerListener
extends java.lang.Object
implements javax.swing.event.ChangeListener

Change listener for the spinner representing the current percentage of selected process instances.


Constructor Summary
ConformanceAnalysisResults.SpinnerListener()
           
 
Method Summary
 void stateChanged(javax.swing.event.ChangeEvent e)
          The method automatically invoked when changing the spinner status.
 void updateSelection(java.util.ArrayList newSelection)
          This methods updates the selection status of the list of instances.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConformanceAnalysisResults.SpinnerListener

public ConformanceAnalysisResults.SpinnerListener()
Method Detail

stateChanged

public void stateChanged(javax.swing.event.ChangeEvent e)
The method automatically invoked when changing the spinner status.

Specified by:
stateChanged in interface javax.swing.event.ChangeListener
Parameters:
e - The passed change event (not used).

updateSelection

public void updateSelection(java.util.ArrayList newSelection)
This methods updates the selection status of the list of instances. It is, e.g., called when the spinner state changes, adapting the selection status of the table to the most frequent traces determined by the given number.

Parameters:
newSelection - a list of Strings containing the IDs of those traces that should be selected.