Class CompartmentEvent
java.lang.Object
mgui.neuro.components.simple.SimpleEvent
mgui.neuro.components.compartments.CompartmentEvent
- All Implemented Interfaces:
DynamicModelEvent
,TimeStepListener
public class CompartmentEvent extends SimpleEvent
Basic event for compartments of a compartmental model. Event holds a reference to
the source compartment, and updating of target will also update source (transmission
between compartments is bidirectional)
- Version:
- 1.0
- Author:
- Andrew Reid
-
Field Summary
Fields Modifier and Type Field Description AbstractCompartment
compartment
Fields inherited from class mgui.neuro.components.simple.SimpleEvent
code, delay
-
Constructor Summary
Constructors Constructor Description CompartmentEvent(AbstractCompartment c)
-
Method Summary
Modifier and Type Method Description AbstractCompartment
getCompartment()
Methods inherited from class mgui.neuro.components.simple.SimpleEvent
getCode, getDelay, timeElapsed
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
compartment
-
-
Constructor Details
-
CompartmentEvent
-
-
Method Details
-
getCompartment
-