|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.simbrain.network.NetworkPreferences
public class NetworkPreferences
NetworkPreferences handles storage and retrieval of user preferences, e.g. background color for the network panel, default weight values, etc.
| Constructor Summary | |
|---|---|
NetworkPreferences()
|
|
| Method Summary | |
|---|---|
static int |
getBackgroundColor()
Network background color. |
static float |
getCoolColor()
Network cool node color. |
static String |
getCurrentBackpropDirectory()
Current backprop files directory. |
static String |
getCurrentDirectory()
Current network files directory. |
static int |
getDefaultBackgroundColor()
Network background color. |
static String |
getDefaultBackpropDirectory()
Current backprop files directory. |
static float |
getDefaultCoolColor()
Network cool node color. |
static String |
getDefaultCurrentDirectory()
Current network files directory. |
static int |
getDefaultExcitatoryColor()
Network excitatory color. |
static float |
getDefaultHotColor()
Network hot node color. |
static int |
getDefaultInhibitoryColor()
Network inhibitory color. |
static int |
getDefaultLassoColor()
Network lasso color. |
static int |
getDefaultLineColor()
Network line color. |
static int |
getDefaultMaxDiameter()
Network max node radius. |
static int |
getDefaultMinDiameter()
Network min node radius. |
static double |
getDefaultNudgeAmount()
Network nudging. |
static int |
getDefaultPrecision()
Network precision. |
static int |
getDefaultSelectionColor()
Network selection color. |
static int |
getDefaultSignalColor()
Network signal synapse color. |
static int |
getDefaultSpikingColor()
Returns the default spiking synapse color. |
static double |
getDefaultTimeStep()
Netowork time step. |
static int |
getDefaultTimeUnits()
Network time units. |
static boolean |
getDefaultUsingIndent()
Network files indenting. |
static boolean |
getDefaultWeightValues()
Network weight values. |
static int |
getDefaultZeroWeightColor()
Network zero weight color. |
static int |
getExcitatoryColor()
Network excitatory color. |
static float |
getHotColor()
Network hot node color. |
static int |
getInhibitoryColor()
Network inhibitory color. |
static int |
getLassoColor()
Network lasso color. |
static int |
getLineColor()
Network line color. |
static int |
getMaxDiameter()
Network max node radius. |
static int |
getMinDiameter()
Network min node radius. |
static double |
getNudgeAmount()
Network nudging. |
static int |
getPrecision()
Network precision. |
static int |
getSelectionColor()
Network selection color. |
static int |
getSignalColor()
Network signal synapse color. |
static int |
getSpikingColor()
Returns the current spiking synapse color. |
static double |
getTimeStep()
Netowork time step. |
static int |
getTimeUnits()
Network time units. |
static boolean |
getUsingIndent()
Network files indenting. |
static boolean |
getWeightValues()
Network weight values. |
static int |
getZeroWeightColor()
Network zero weight color. |
static void |
restoreDefaults()
Restores defaults. |
static void |
saveAll()
Save all user preferences. |
static void |
setBackgroundColor(int rgbColor)
Network background color. |
static void |
setCoolColor(float theColor)
Network cool node color. |
static void |
setCurrentBackpropDirectory(String dir)
Current backprop files directory. |
static void |
setCurrentDirectory(String dir)
Current network files directory. |
static void |
setExcitatoryColor(int rgbColor)
Network excitatory color. |
static void |
setHotColor(float theColor)
Network hot node color. |
static void |
setInhibitoryColor(int rgbColor)
Network inhibitory color. |
static void |
setLassoColor(int rgbColor)
Network lasso color. |
static void |
setLineColor(int rgbColor)
Network line color. |
static void |
setMaxDiameter(int sizeMax)
Network max node radius. |
static void |
setMinDiameter(int sizeMin)
Network min node radius. |
static void |
setNudgeAmount(double nudge)
Network nudging. |
static void |
setPrecision(int precision)
Network precision. |
static void |
setSelectionColor(int rgbColor)
Network selection color. |
static void |
setSignalColor(int rgbColor)
Network signal synapse color. |
static void |
setSpikingColor(int rgbColor)
Sets the spiking syanapse color. |
static void |
setTimeStep(double step)
Netowork time step. |
static void |
setTimeUnits(int units)
Network time units. |
static void |
setUsingIndent(boolean indent)
Network files indenting. |
static void |
setWeightValues(boolean weightValues)
Network weight values. |
static void |
setZeroWeightColor(int rgbColor)
Network zero weight color. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NetworkPreferences()
| Method Detail |
|---|
public static void saveAll()
public static void restoreDefaults()
public static void setBackgroundColor(int rgbColor)
rgbColor - Color to be used as backgroundpublic static int getBackgroundColor()
public static int getDefaultBackgroundColor()
public static void setLineColor(int rgbColor)
rgbColor - Color of linepublic static int getLineColor()
public static int getDefaultLineColor()
public static void setHotColor(float theColor)
theColor - Color of hot nodepublic static float getHotColor()
public static float getDefaultHotColor()
public static void setCoolColor(float theColor)
theColor - Color of cool nodepublic static float getCoolColor()
public static float getDefaultCoolColor()
public static void setExcitatoryColor(int rgbColor)
rgbColor - Excitatory neuron colorpublic static int getExcitatoryColor()
public static int getDefaultExcitatoryColor()
public static void setInhibitoryColor(int rgbColor)
rgbColor - Inhibitory neuron colorpublic static int getInhibitoryColor()
public static int getDefaultInhibitoryColor()
public static void setLassoColor(int rgbColor)
rgbColor - Color of lassopublic static int getLassoColor()
public static int getDefaultLassoColor()
public static void setSelectionColor(int rgbColor)
rgbColor - Color of selectionpublic static int getSelectionColor()
public static int getDefaultSelectionColor()
public static void setSignalColor(int rgbColor)
rgbColor - Color of signal synapsepublic static int getSignalColor()
public static int getDefaultSignalColor()
public static void setZeroWeightColor(int rgbColor)
rgbColor - Color of zero weightpublic static int getZeroWeightColor()
public static int getDefaultZeroWeightColor()
public static void setMaxDiameter(int sizeMax)
sizeMax - Maximum node radiuspublic static int getMaxDiameter()
public static int getDefaultMaxDiameter()
public static void setMinDiameter(int sizeMin)
sizeMin - Minimum node radiuspublic static int getMinDiameter()
public static int getDefaultMinDiameter()
public static void setTimeStep(double step)
step - Time steppublic static double getTimeStep()
public static double getDefaultTimeStep()
public static void setTimeUnits(int units)
units - Time unitspublic static int getTimeUnits()
public static int getDefaultTimeUnits()
public static void setPrecision(int precision)
precision - Precisionpublic static int getPrecision()
public static int getDefaultPrecision()
public static void setWeightValues(boolean weightValues)
weightValues - Use weight valuespublic static boolean getWeightValues()
public static boolean getDefaultWeightValues()
public static void setUsingIndent(boolean indent)
indent - Use indentingpublic static boolean getUsingIndent()
public static boolean getDefaultUsingIndent()
public static void setNudgeAmount(double nudge)
nudge - Nudge amountpublic static double getNudgeAmount()
public static double getDefaultNudgeAmount()
public static void setCurrentDirectory(String dir)
dir - Current directorypublic static String getCurrentDirectory()
public static String getDefaultCurrentDirectory()
public static void setCurrentBackpropDirectory(String dir)
dir - Current directorypublic static String getCurrentBackpropDirectory()
public static String getDefaultBackpropDirectory()
public static void setSpikingColor(int rgbColor)
rgbColor - Color to set spiking syanapsepublic static int getSpikingColor()
public static int getDefaultSpikingColor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||