Class AbstractEvent

    • Field Summary

      Fields 
      Modifier and Type Field Description
      @Nullable Order currentOrder
      This field is automatically set by the event manager.
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractEvent()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void init()
      Called once all fields have been set by the generated constructor in a subclass.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • currentOrder

        public @Nullable Order currentOrder
        This field is automatically set by the event manager. It represents the Order of the event handler currently processing the event. When no handler is processing the event, it will be set to null
    • Constructor Detail

      • AbstractEvent

        public AbstractEvent()
    • Method Detail

      • init

        protected void init()
        Called once all fields have been set by the generated constructor in a subclass.

        This method should be used to initialize any fields that depend on parameters passed to the constructor.