Interface ModelEventListener


public interface ModelEventListener
Represents a listener for model events.

This interface provides a mechanism to unregister the listener when it is no longer needed.

Since:
2.0.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ModelEventListener
    A no-op listener implementation.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Unregisters this listener, stopping it from receiving further events.
  • Field Details

    • NONE

      static final ModelEventListener NONE
      A no-op listener implementation.
      Since:
      2.0.0
  • Method Details

    • unregister

      void unregister()
      Unregisters this listener, stopping it from receiving further events.
      Since:
      2.0.0