public static enum SimbrainConstants.Polarity extends java.lang.Enum<SimbrainConstants.Polarity>
Enum Constant and Description |
---|
BOTH |
EXCITATORY |
INHIBITORY |
Modifier and Type | Method and Description |
---|---|
abstract double |
clip(double val)
Clips any value appropriately, e.g.
|
abstract java.lang.String |
title()
The appropriate name for the enum member, for use in the GUI.
|
abstract double |
value(double val)
Get the appropriate value, e.g.
|
static SimbrainConstants.Polarity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SimbrainConstants.Polarity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimbrainConstants.Polarity EXCITATORY
public static final SimbrainConstants.Polarity INHIBITORY
public static final SimbrainConstants.Polarity BOTH
public static SimbrainConstants.Polarity[] values()
for (SimbrainConstants.Polarity c : SimbrainConstants.Polarity.values()) System.out.println(c);
public static SimbrainConstants.Polarity valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract double value(double val)
val
- the value to checkpublic abstract double clip(double val)
val
- the value to checkpublic abstract java.lang.String title()