Class ProgressEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class ProgressEvent
    extends java.util.EventObject

    Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
    BSD-style license. See OpenTrafficSim License.

    $LastChangedDate: 2015-07-26 01:01:13 +0200 (Sun, 26 Jul 2015) $, @version $Revision: 1155 $, by $Author: averbraeck $, initial version 20.03.2015

    Author:
    Moritz Bergmann
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      ProgressEvent​(java.lang.Object source, java.lang.String description)
      Construct a new ProgressEvent.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getProgress()  
      java.lang.String toString()
      • Methods inherited from class java.util.EventObject

        getSource
      • Methods inherited from class java.lang.Object

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

      • ProgressEvent

        public ProgressEvent​(java.lang.Object source,
                             java.lang.String description)
        Construct a new ProgressEvent.
        Parameters:
        source - Object; the object from which the event originates
        description - String; The progress information in a String
    • Method Detail

      • getProgress

        public final java.lang.String getProgress()
        Returns:
        Progress Information in a String.
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.util.EventObject