org.jactr.modules.pm.vocal.event
Class VocalModuleEvent

java.lang.Object
  extended by org.jactr.core.event.AbstractACTREvent<IVocalModule,IVocalModuleListener>
      extended by org.jactr.modules.pm.vocal.event.VocalModuleEvent
All Implemented Interfaces:
IACTREvent<IVocalModule,IVocalModuleListener>

public class VocalModuleEvent
extends AbstractACTREvent<IVocalModule,IVocalModuleListener>


Nested Class Summary
static class VocalModuleEvent.Type
           
 
Constructor Summary
VocalModuleEvent(IVocalModule source)
           
VocalModuleEvent(IVocalModule source, VocalModuleEvent.Type type, org.commonreality.modalities.vocal.VocalizationCommand vocalization)
           
 
Method Summary
 void fire(IVocalModuleListener listener)
          dispatch this event to a listener on the provided executor
 VocalModuleEvent.Type getType()
           
 org.commonreality.modalities.vocal.VocalizationCommand getVocalization()
           
 
Methods inherited from class org.jactr.core.event.AbstractACTREvent
getSimulationTime, getSource, getSystemTime
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VocalModuleEvent

public VocalModuleEvent(IVocalModule source,
                        VocalModuleEvent.Type type,
                        org.commonreality.modalities.vocal.VocalizationCommand vocalization)

VocalModuleEvent

public VocalModuleEvent(IVocalModule source)
Method Detail

getType

public VocalModuleEvent.Type getType()

getVocalization

public org.commonreality.modalities.vocal.VocalizationCommand getVocalization()

fire

public void fire(IVocalModuleListener listener)
Description copied from interface: IACTREvent
dispatch this event to a listener on the provided executor

Specified by:
fire in interface IACTREvent<IVocalModule,IVocalModuleListener>
Specified by:
fire in class AbstractACTREvent<IVocalModule,IVocalModuleListener>