Package mgui.neuro.components.simple
Class SimpleEvent
java.lang.Object
mgui.neuro.components.simple.SimpleEvent
- All Implemented Interfaces:
DynamicModelEvent,TimeStepListener
- Direct Known Subclasses:
CompartmentEvent,SimpleAxonEvent,SimpleCorticalConnectionEvent,SimpleCorticalInputEvent,SimpleCorticalOutputEvent,SimpleCorticalRegionEvent,SimpleDendriteEvent,SimpleMotorNeuronEvent,SimpleSomaEvent,SimpleSynapseEvent
public class SimpleEvent extends java.lang.Object implements DynamicModelEvent
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SimpleEvent() -
Method Summary
Modifier and Type Method Description intgetCode()doublegetDelay()voidtimeElapsed(double time)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
delay
protected double delay -
code
protected int code
-
-
Constructor Details
-
SimpleEvent
public SimpleEvent()
-
-
Method Details
-
getCode
public int getCode()- Specified by:
getCodein interfaceDynamicModelEvent
-
getDelay
public double getDelay()- Specified by:
getDelayin interfaceDynamicModelEvent
-
timeElapsed
public void timeElapsed(double time)- Specified by:
timeElapsedin interfaceTimeStepListener
-