Interface ConstraintListener

  • All Known Implementing Classes:
    MarkerManagerViolationListener

    public interface ConstraintListener
    Interface for listening for notifications on specific events regarding a constraint.
    • Method Detail

      • violationAppeared

        void violationAppeared​(IViolation violation)
        Called if a new violation appeared for the constraint on which the listener is registered.
        Parameters:
        violation - The violation which appeared.
      • violationDisappeared

        void violationDisappeared​(IViolation violation)
        Called if a violation disappeared for the constraint on which the listener is registered.
        Parameters:
        violation - The violation which disappeared.
      • dispose

        default void dispose()
        Callback when the listener has to be cleaned up
        Since:
        2.1