ucl.physiol.neuroconstruct.neuron
Class NeuronSettings

java.lang.Object
  extended by ucl.physiol.neuroconstruct.neuron.NeuronSettings

public class NeuronSettings
extends Object

The general parameters needed for NEURON simulations

Author:
Padraig Gleeson

Nested Class Summary
static class NeuronSettings.DataSaveFormat
           
static class NeuronSettings.GraphicsMode
           
 
Constructor Summary
NeuronSettings()
           
 
Method Summary
 NeuronSettings.DataSaveFormat getDataSaveFormat()
           
 NeuronSettings.GraphicsMode getGraphicsMode()
           
 String getNativeBlock(NativeCodeLocation ncl)
           
 Hashtable<Float,String> getNativeBlocks()
          Deprecated.  
 float getVarTimeAbsTolerance()
           
 boolean isCopySimFiles()
           
 boolean isForceCorrectInit()
           
 boolean isForceModFileRegeneration()
           
 boolean isGenAllModFiles()
           
 boolean isGenerateComments()
           
 boolean isModSilentMode()
           
 boolean isShowShapePlot()
           
 boolean isVarTimeStep()
           
 void setCopySimFiles(boolean copySimFiles)
           
 void setDataSaveFormat(NeuronSettings.DataSaveFormat dataSaveFormat)
           
 void setForceCorrectInit(boolean forceCorrectInit)
           
 void setForceModFileRegeneration(boolean forceModFileRegeneration)
           
 void setGenAllModFiles(boolean genAllModFiles)
           
 void setGenerateComments(boolean generateComments)
           
 void setGraphicsMode(boolean graphicsMode)
          Deprecated.  
 void setGraphicsMode(NeuronSettings.GraphicsMode graphicsMode)
           
 void setModSilentMode(boolean modSilentMode)
           
 void setNativeBlock(NativeCodeLocation ncl, String text)
           
 void setNativeBlocks(Hashtable nb)
          Deprecated.  
 void setNoConsole()
           
 void setShowShapePlot(boolean showShapePlot)
           
 void setTextAfterCellCreation(String textAfterCellCreation)
          Deprecated.  
 void setTextBeforeCellCreation(String textBeforeCellCreation)
          Deprecated.  
 void setVarTimeAbsTolerance(float varTimeAbsTolerance)
           
 void setVarTimeStep(boolean useVarTimeStep)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NeuronSettings

public NeuronSettings()
Method Detail

getNativeBlocks

public Hashtable<Float,String> getNativeBlocks()
Deprecated. 

Should only be used by XMLEncoder, hence use of deprecated


setNativeBlocks

public void setNativeBlocks(Hashtable nb)
Deprecated. 

Should only be used by XMLEncoder, hence use of deprecated


getNativeBlock

public String getNativeBlock(NativeCodeLocation ncl)

setNativeBlock

public void setNativeBlock(NativeCodeLocation ncl,
                           String text)

getDataSaveFormat

public NeuronSettings.DataSaveFormat getDataSaveFormat()

setDataSaveFormat

public void setDataSaveFormat(NeuronSettings.DataSaveFormat dataSaveFormat)

setTextAfterCellCreation

public void setTextAfterCellCreation(String textAfterCellCreation)
Deprecated. 

Used to ensure compatibility with old method of code blocks...


setTextBeforeCellCreation

public void setTextBeforeCellCreation(String textBeforeCellCreation)
Deprecated. 

Used to ensure compatibility with old method of code blocks...


isShowShapePlot

public boolean isShowShapePlot()

setShowShapePlot

public void setShowShapePlot(boolean showShapePlot)

setGraphicsMode

public void setGraphicsMode(boolean graphicsMode)
Deprecated. 


setGraphicsMode

public void setGraphicsMode(NeuronSettings.GraphicsMode graphicsMode)

getGraphicsMode

public NeuronSettings.GraphicsMode getGraphicsMode()

setNoConsole

public void setNoConsole()

isGenerateComments

public boolean isGenerateComments()

setGenerateComments

public void setGenerateComments(boolean generateComments)

isVarTimeStep

public boolean isVarTimeStep()

setVarTimeStep

public void setVarTimeStep(boolean useVarTimeStep)

getVarTimeAbsTolerance

public float getVarTimeAbsTolerance()

setVarTimeAbsTolerance

public void setVarTimeAbsTolerance(float varTimeAbsTolerance)

isModSilentMode

public boolean isModSilentMode()

setModSilentMode

public void setModSilentMode(boolean modSilentMode)

isGenAllModFiles

public boolean isGenAllModFiles()

setGenAllModFiles

public void setGenAllModFiles(boolean genAllModFiles)

isForceModFileRegeneration

public boolean isForceModFileRegeneration()

setForceModFileRegeneration

public void setForceModFileRegeneration(boolean forceModFileRegeneration)

isCopySimFiles

public boolean isCopySimFiles()

setCopySimFiles

public void setCopySimFiles(boolean copySimFiles)

isForceCorrectInit

public boolean isForceCorrectInit()

setForceCorrectInit

public void setForceCorrectInit(boolean forceCorrectInit)