Class SimpleRevisionCompareView

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.tweetyproject.lp.asp.beliefdynamics.gui.SimpleRevisionCompareView
All Implemented Interfaces:
ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible

public class SimpleRevisionCompareView extends JPanel implements PropertyChangeListener
The default view for a revision compare. This class is responsible to create the hierarchy of widgets and delegates its inputs to the RevisionComparePresenter. Everytime an update occurs the output of the revision is updated. This class is based in spirit on the RevisionCompareView in the beliefdynamics.gui package.
Author:
Sebastian Homann, Tim Janus
See Also:
Serialized Form
  • Constructor Details

    • SimpleRevisionCompareView

      public SimpleRevisionCompareView()
      Default Ctor: Creates the view
  • Method Details

    • propertyChange

      public void propertyChange(PropertyChangeEvent evt)
      Reacts to property change events to keep the view up to date. The presenter is responsible to register the view at the correct data-model.
      Specified by:
      propertyChange in interface PropertyChangeListener