Class JustificationProgressPanel

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.liveontologies.protege.explanation.justification.JustificationProgressPanel
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, JustificationComputation.InterruptMonitor, JustificationListener

public class JustificationProgressPanel extends JPanel implements JustificationListener, JustificationComputation.InterruptMonitor, ActionListener
Author: Matthew Horridge The University of Manchester Information Management Group Date: 14-Oct-2009
Author:
Yevgeny Kazakov
See Also:
  • Constructor Details

    • JustificationProgressPanel

      public JustificationProgressPanel()
      Creates a new JPanel with a double buffer and a flow layout.
  • Method Details

    • reset

      public void reset()
    • getNoFoundJustifications

      public int getNoFoundJustifications()
    • justificationFound

      public void justificationFound(Set<org.semanticweb.owlapi.model.OWLAxiom> justification)
      Description copied from interface: JustificationListener
      called each time a new justification is computed
      Specified by:
      justificationFound in interface JustificationListener
      Parameters:
      justification - the computed justification
    • isInterrupted

      public boolean isInterrupted()
      Specified by:
      isInterrupted in interface JustificationComputation.InterruptMonitor
      Returns:
      true if the computation should be interrupted
    • clearInterrupt

      public void clearInterrupt()
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener