Package mgui.neuro.components
Class AbstractAxon
java.lang.Object
- All Implemented Interfaces:
java.lang.Cloneable
,java.lang.Comparable<DynamicModelComponent>
,AttributeListener
,AttributeObject
,InterfaceObject
,NamedObject
,TreeObject
,CleanableObject
,DynamicModelComponent
,TimeStepListener
,Updateable
,Axon
,NeuronalComponent
- Direct Known Subclasses:
SimpleAxon
public abstract class AbstractAxon extends AbstractNeuronalComponent implements Axon
Default class for an axon. An axon can be connected to any number of synapses.
- Version:
- 1.0
- Author:
- Andrew Reid
-
Field Summary
Fields inherited from class mgui.neuro.components.AbstractNeuronalComponent
parent
Fields inherited from class mgui.neuro.components.AbstractNeuroComponent
attributes, clock, connections, events, hasSubComponents, id, listeners, solver, updated
Fields inherited from class mgui.interfaces.AbstractInterfaceObject
isDestroyed, tree_nodes
-
Constructor Summary
Constructors Constructor Description AbstractAxon()
-
Method Summary
Modifier and Type Method Description void
connectSynapse(Synapse s)
void
disconnectAll()
void
disconnectSynapse(Synapse s)
java.util.ArrayList<DynamicModelComponent>
getSubComponents()
Returns a list of the complete subcomponent tree.java.util.ArrayList<Synapse>
getSynapses()
protected void
init()
void
setTreeNode(InterfaceTreeNode treeNode)
Sets the children for this node'sInterfaceTreeNode
.java.lang.String
toString()
Methods inherited from class mgui.neuro.components.AbstractNeuronalComponent
clone, getParent, setParent
Methods inherited from class mgui.neuro.components.AbstractNeuroComponent
addConnection, addEvent, addListener, addToEngine, attributeUpdated, compareTo, executeEvent, executeEvents, fireListeners, fireListeners, getAttribute, getAttributes, getConnections, getDelay, getID, getName, getODESolver, getRate, getSolver, hasSubComponents, removeConnection, removeListener, reset, resetClock, setAttribute, setAttributes, setDelay, setID, setID, setName, setODESolver, setSolver, setSolver, timeElapsed, updateComponent, updateFromClock
Methods inherited from class mgui.models.networks.components.AbstractNetworkComponent
getAttributeValue
Methods inherited from class mgui.interfaces.AbstractInterfaceObject
clean, destroy, getTreeLabel, isDestroyed, issueTreeNode, updateTreeNodes
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface mgui.interfaces.util.CleanableObject
clean
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface mgui.models.dynamic.DynamicModelComponent
addConnection, addEvent, addToEngine, clone, executeEvents, getID, hasSubComponents, removeConnection, reset, setID, setID
Methods inherited from interface mgui.interfaces.InterfaceObject
destroy, isDestroyed
Methods inherited from interface mgui.interfaces.NamedObject
getName, setName
Methods inherited from interface mgui.models.dynamic.TimeStepListener
timeElapsed
Methods inherited from interface mgui.interfaces.trees.TreeObject
getTreeLabel, issueTreeNode
-
Field Details
-
synapses
-
-
Constructor Details
-
AbstractAxon
public AbstractAxon()
-
-
Method Details
-
init
protected void init()- Overrides:
init
in classAbstractNeuroComponent
-
connectSynapse
- Specified by:
connectSynapse
in interfaceAxon
- Throws:
NeuroException
-
disconnectSynapse
- Specified by:
disconnectSynapse
in interfaceAxon
-
getSynapses
- Specified by:
getSynapses
in interfaceAxon
-
disconnectAll
public void disconnectAll() -
setTreeNode
Description copied from interface:TreeObject
Sets the children for this node'sInterfaceTreeNode
.- Specified by:
setTreeNode
in interfaceTreeObject
- Overrides:
setTreeNode
in classAbstractInterfaceObject
-
getSubComponents
Description copied from class:AbstractNeuroComponent
Returns a list of the complete subcomponent tree. Subclasses containing subcomponents should override this and provide an enumeration of all subcomponents, also calling this method for each subcomponent to ensure a complete tree is returned.- Specified by:
getSubComponents
in interfaceDynamicModelComponent
- Overrides:
getSubComponents
in classAbstractNeuroComponent
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-