se.liu.ida.critiquer.gui
Class ConstraintComponent

java.lang.Object
  extended by se.liu.ida.critiquer.gui.ConstraintComponent
All Implemented Interfaces:
ConstraintStatusListener

public class ConstraintComponent
extends Object
implements ConstraintStatusListener

Author:
olale

Constructor Summary
ConstraintComponent(View view)
           
 
Method Summary
 void activeStatusChanged(StandardConstraint c)
          Replace the controlling critic with this one if there is a new component critic active
 JPanel getPanel()
           
 void violationStatusChanged(StandardConstraint c)
          Nothing to do, the critic should present all information necessary.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstraintComponent

public ConstraintComponent(View view)
Method Detail

getPanel

public JPanel getPanel()

activeStatusChanged

public void activeStatusChanged(StandardConstraint c)
Replace the controlling critic with this one if there is a new component critic active

Specified by:
activeStatusChanged in interface ConstraintStatusListener
See Also:
ConstraintStatusListener.activeStatusChanged(se.liu.ida.critiquer.constraints.StandardConstraint)

violationStatusChanged

public void violationStatusChanged(StandardConstraint c)
Nothing to do, the critic should present all information necessary.

Specified by:
violationStatusChanged in interface ConstraintStatusListener
See Also:
ConstraintStatusListener.violationStatusChanged(se.liu.ida.critiquer.constraints.StandardConstraint)