public class Parameters
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
integralDrawAll |
double |
integralMinY |
double |
integralOffset |
double |
integralRange |
java.lang.String |
numberFormat |
java.lang.String |
peakListInterpolation |
double |
peakListThreshold |
| Constructor and Description |
|---|
Parameters(java.lang.String name)
Intialises a DisplayScheme with the given name
|
| Modifier and Type | Method and Description |
|---|---|
Parameters |
copy()
Returns a copy of this
DisplayScheme |
Parameters |
copy(java.lang.String newName)
Returns a copy of this
DisplayScheme with a new name |
boolean |
getBoolean(ScriptToken t) |
java.util.Map<ScriptToken,java.lang.Boolean> |
getBooleans() |
java.lang.Object |
getColor(ScriptToken st)
Gets the color of an element in the scheme
|
java.util.Map<ScriptToken,java.lang.Object> |
getColors() |
java.lang.String |
getDisplayFont()
Returns the font name used in this
DisplayScheme |
java.lang.String |
getName()
Returns the name of the
DisplayScheme |
static java.lang.Boolean |
getTFToggle(java.lang.String value) |
java.lang.String |
getTitleFont() |
boolean |
isDefault()
Returns whether or not the
DisplayScheme is the default |
static boolean |
isTrue(java.lang.String value) |
static void |
putInfo(java.lang.String match,
java.util.Map<java.lang.String,java.lang.Object> info,
java.lang.String key,
java.lang.Object value) |
void |
set(JSVPanel jsvp,
ScriptToken st,
java.lang.String value) |
boolean |
setBoolean(ScriptToken st,
boolean val) |
java.lang.Object |
setColor(ScriptToken st,
java.lang.Object color)
Sets the color of an element
|
void |
setDefault(boolean val)
Sets whether the
DisplayScheme is the default |
void |
setDisplayFont(java.lang.String fontName)
Sets the font name
|
void |
setFor(JSVPanel jsvp,
Parameters ds,
boolean includeMeasures) |
void |
setName(java.lang.String name)
Sets the name of the
DisplayScheme |
void |
setTitleFont(java.lang.String fontName)
Sets the title font name
|
public double integralMinY
public double integralRange
public double integralOffset
public boolean integralDrawAll
public double peakListThreshold
public java.lang.String peakListInterpolation
public java.lang.String numberFormat
public Parameters(java.lang.String name)
name - the name of the DisplaySchemepublic java.util.Map<ScriptToken,java.lang.Object> getColors()
public java.lang.String getName()
DisplaySchemeDisplaySchemepublic void setName(java.lang.String name)
DisplaySchemename - the namepublic java.lang.String getTitleFont()
DisplaySchemepublic void setTitleFont(java.lang.String fontName)
fontName - the name of the fontpublic java.lang.String getDisplayFont()
DisplaySchemeDisplaySchemepublic void setDisplayFont(java.lang.String fontName)
fontName - the name of the fontpublic void setDefault(boolean val)
DisplayScheme is the defaultval - is true if default, otherwise falsepublic boolean isDefault()
DisplayScheme is the defaultpublic java.lang.Object getColor(ScriptToken st)
st - Color of the elementpublic java.lang.Object setColor(ScriptToken st, java.lang.Object color)
st - color - the color the element should havepublic Parameters copy(java.lang.String newName)
DisplayScheme with a new namenewName - the new nameDisplayScheme with a new namepublic Parameters copy()
DisplaySchemeDisplaySchemepublic static boolean isTrue(java.lang.String value)
public static java.lang.Boolean getTFToggle(java.lang.String value)
public java.util.Map<ScriptToken,java.lang.Boolean> getBooleans()
public boolean setBoolean(ScriptToken st, boolean val)
public boolean getBoolean(ScriptToken t)
public void setFor(JSVPanel jsvp, Parameters ds, boolean includeMeasures)
public void set(JSVPanel jsvp, ScriptToken st, java.lang.String value)
public static void putInfo(java.lang.String match,
java.util.Map<java.lang.String,java.lang.Object> info,
java.lang.String key,
java.lang.Object value)