Class WarningEvent
java.lang.Object
java.util.EventObject
org.opentrafficsim.road.network.factory.osm.events.WarningEvent
- All Implemented Interfaces:
Serializable
public class WarningEvent extends 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
-
Constructor Summary
Constructors Constructor Description WarningEvent(Object source, String warn) -
Method Summary
Modifier and Type Method Description StringgetWarning()StringtoString()
-
Constructor Details
-
WarningEvent
- Parameters:
source- Object; of the WarningEvent.warn- String; Textual description of the warning.
-
-
Method Details
-
getWarning
- Returns:
- Get the textual description of the warning.
-
toString
- Overrides:
toStringin classEventObject
-