Nengo.ca

ca.nengo.util
Interface VisiblyMutable

All Known Subinterfaces:
DecodableEnsemble, Ensemble, ExpandableNode, GolgiTendonOrgan, LinkSegmentModel, MuscleSpindle, NEFEnsemble, NEFNode, Network, Neuron, Node, PlasticEnsemble, Simulator, SkeletalMuscle
All Known Implementing Classes:
AbstractEnsemble, AbstractNode, CriticallyDampedMuscle, DecodableEnsembleImpl, EnsembleImpl, ExpandableSpikingNeuron, FunctionInput, GruberNeuronFactory.GruberNeuron, HillMuscle, LinkSegmentModelImpl, LocalSimulator, NEFEnsembleImpl, NetworkArrayImpl, NetworkImpl, PassthroughNode, PlasticEnsembleImpl, PyramidalNetwork, SkeletalMuscleImpl, SpikingNeuron

public interface VisiblyMutable

An object that fires an event when its properties change in such a way that it expects the user interface to display it differently. This allows the user interface to update when the object is changed through another means, such as scripting.


Nested Class Summary
static interface VisiblyMutable.Event
          Encapsulates a change to a VisiblyMutable object.
static interface VisiblyMutable.Listener
          A listener for changes to a VisiblyMutable object.
static interface VisiblyMutable.NameChangeEvent
          Encapsulates a change in the name of a VisiblyMutable object.
static interface VisiblyMutable.NodeRemovedEvent
          Encapsulates a "node removed" change in the VisiblyMutable object.
 
Method Summary
 void addChangeListener(VisiblyMutable.Listener listener)
           
 void removeChangeListener(VisiblyMutable.Listener listener)
           
 

Method Detail

addChangeListener

void addChangeListener(VisiblyMutable.Listener listener)
Parameters:
listener - Listener to add

removeChangeListener

void removeChangeListener(VisiblyMutable.Listener listener)
Parameters:
listener - Listener to remove

Nengo.ca