org.robokind.api.common.utils
Class EventRepeater<Msg>
java.lang.Object
org.robokind.api.common.utils.EventRepeater<Msg>
- All Implemented Interfaces:
- Listener<Msg>
public class EventRepeater<Msg>
- extends Object
- implements Listener<Msg>
- Author:
- Matthew Stevenson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventRepeater
public EventRepeater()
handleEvent
public void handleEvent(Msg event)
- Description copied from interface:
Listener
- Called to notify the Listener of a new event.
- Specified by:
handleEvent in interface Listener<Msg>
- Parameters:
event - the new event to handle
addListener
public void addListener(Listener<Msg> listener)
removeListener
public void removeListener(Listener<Msg> listener)
Copyright © 2011-2012. All Rights Reserved.