Class MapGridEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class MapGridEvent
    extends java.util.EventObject
    This event is created by MapGrid.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      MapGridEvent​(@NotNull MapGrid source)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull MapGrid getSource()  
      • Methods inherited from class java.util.EventObject

        toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MapGridEvent

        public MapGridEvent​(@NotNull
                            @NotNull MapGrid source)
        Creates a new instance.
        Parameters:
        source - the map grid on which the Event initially occurred
        Throws:
        java.lang.IllegalArgumentException - if source is null.
    • Method Detail

      • getSource

        @NotNull
        public @NotNull MapGrid getSource()
        Overrides:
        getSource in class java.util.EventObject