Class PlotChangeEvent

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Plot plot
      The plot that generated the event.
      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      PlotChangeEvent​(Plot plot)
      Creates a new PlotChangeEvent.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Plot getPlot()
      Returns the plot that generated the event (set in the constructor).
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

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

      • plot

        private Plot plot
        The plot that generated the event.
    • Constructor Detail

      • PlotChangeEvent

        public PlotChangeEvent​(Plot plot)
        Creates a new PlotChangeEvent.
        Parameters:
        plot - the plot that generated the event (null not permitted).
    • Method Detail

      • getPlot

        public Plot getPlot()
        Returns the plot that generated the event (set in the constructor).
        Returns:
        The plot that generated the event.