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 int
getCode()
double
getDelay()
void
timeElapsed(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:
getCode
in interfaceDynamicModelEvent
-
getDelay
public double getDelay()- Specified by:
getDelay
in interfaceDynamicModelEvent
-
timeElapsed
public void timeElapsed(double time)- Specified by:
timeElapsed
in interfaceTimeStepListener
-