public class SimpleConstraintListener extends Object implements ConstraintListener
Constraint
s during simulation by logging the violation event in form of a warning.CONSTRAINT_VIOLATION_LOG
Constructor and Description |
---|
SimpleConstraintListener() |
Modifier and Type | Method and Description |
---|---|
void |
processSatisfiedAgain(ConstraintEvent evt)
Notify that the constraints are satisfied again after violation.
|
void |
processViolation(ConstraintEvent evt)
Processes the given
ConstraintEvent . |
public void processViolation(ConstraintEvent evt)
ConstraintEvent
.processViolation
in interface ConstraintListener
public void processSatisfiedAgain(ConstraintEvent evt)
processSatisfiedAgain
in interface ConstraintListener
Copyright © 2007–2021. All rights reserved.