Package repast.simphony.visualization
Class DisplayListenerSupport
java.lang.Object
repast.simphony.visualization.DisplayListenerSupport
Utility class for handling the broadcast of display events.
- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDisplayListener(DisplayListener listener) Adds a display listener to the list of listeners to broadcast display events to.voidBroadcast a info message display event.voidfireInfoMessage(IDisplay source, String message) Broadcast a info message display event consisting of the specified source and the specified message.
-
Constructor Details
-
DisplayListenerSupport
public DisplayListenerSupport()
-
-
Method Details
-
addDisplayListener
Adds a display listener to the list of listeners to broadcast display events to.- Parameters:
listener- the listener to add
-
fireInfoMessage
Broadcast a info message display event consisting of the specified source and the specified message.- Parameters:
source- the source of the eventmessage- the message to broadcast
-
fireInfoMessage
Broadcast a info message display event.- Parameters:
evt- the display event to broacast
-