org.simnet.interfaces
Interface NetworkListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
GaugeFrame, NetworkPanel

public interface NetworkListener
extends EventListener

Model listener.


Method Summary
 void clampChanged()
          Notify listeners of a clamp changed event, when the statu of the "clamp fields" changes.
 void couplingChanged(NetworkEvent e)
          Notify this listener of a CouplingChanged event.
 void networkChanged()
          Notify this listener of a NetworkChanged event.
 void neuronAdded(NetworkEvent e)
          Notify this listener of a Neuron added event.
 void neuronChanged(NetworkEvent e)
          Notify this listener of a NeuronChanged event.
 void neuronRemoved(NetworkEvent e)
          Notify this listener of a Neuron removed event.
 void subnetAdded(NetworkEvent e)
          Notify this listener of a subnetwork added event.
 void subnetRemoved(NetworkEvent e)
          Notify this listener of a subnetwork removed event.
 void synapseAdded(NetworkEvent e)
          Notify this listener of a Neuron removed event.
 void synapseChanged(NetworkEvent e)
          Notify this listener of a Neuron removed event.
 void synapseRemoved(NetworkEvent e)
          Notify this listener of a Neuron removed event.
 

Method Detail

networkChanged

void networkChanged()
Notify this listener of a NetworkChanged event.


couplingChanged

void couplingChanged(NetworkEvent e)
Notify this listener of a CouplingChanged event. Pass in a reference to the neuron on which the coupling changed.

Parameters:
e - Network event

neuronChanged

void neuronChanged(NetworkEvent e)
Notify this listener of a NeuronChanged event.

Parameters:
e - event

neuronAdded

void neuronAdded(NetworkEvent e)
Notify this listener of a Neuron added event.

Parameters:
e - event

neuronRemoved

void neuronRemoved(NetworkEvent e)
Notify this listener of a Neuron removed event.

Parameters:
e - event

synapseRemoved

void synapseRemoved(NetworkEvent e)
Notify this listener of a Neuron removed event.

Parameters:
e - event

synapseAdded

void synapseAdded(NetworkEvent e)
Notify this listener of a Neuron removed event.

Parameters:
e - event

synapseChanged

void synapseChanged(NetworkEvent e)
Notify this listener of a Neuron removed event.

Parameters:
e - event

subnetAdded

void subnetAdded(NetworkEvent e)
Notify this listener of a subnetwork added event.

Parameters:
e - event

subnetRemoved

void subnetRemoved(NetworkEvent e)
Notify this listener of a subnetwork removed event.

Parameters:
e - event

clampChanged

void clampChanged()
Notify listeners of a clamp changed event, when the statu of the "clamp fields" changes. TODO: Perhaps later this can be generaliezd to "parameter change" events, if there are more such parameters.