public class CondensedConnectionPanel
extends java.lang.Object
Constructor and Description |
---|
CondensedConnectionPanel(NetworkPanel networkPanel,
java.awt.Window parent,
int numTargs)
Creates a CondensedConnectionPanel.
|
Modifier and Type | Method and Description |
---|---|
SynapseGroup |
createSynapseGroup(NeuronGroup source,
NeuronGroup target)
Creates a synapse group from the parameters in the panel and between
two neuron groups.
|
SparseConnectionPanel |
getConnectorPanel()
Returns the density based connection panel so that other classes can
set certain properties of the panel independent of this class.
|
java.awt.Component |
getMainPanel()
Returns the main panel where all the components are actually laid out.
|
public CondensedConnectionPanel(NetworkPanel networkPanel, java.awt.Window parent, int numTargs)
networkPanel
- the place where the synapse group will goparent
- for resizingnumTargs
- so the DensityBasedConnectionPanel can estimate
the number of efferents should the user chose to equalize them.public SynapseGroup createSynapseGroup(NeuronGroup source, NeuronGroup target)
source
- the source neuron grouptarget
- the target neuron grouppublic SparseConnectionPanel getConnectorPanel()
public java.awt.Component getMainPanel()