|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.core.gnuplot.AbstractScriptlet
adams.core.gnuplot.MultiScriptlet
public class MultiScriptlet
Allows the user to chain multiple scriplets together.
Valid options are:-D <int> (property: debugLevel) The greater the number the more additional info the scheme may output to the console (0 = off). default: 0 minimum: 0
-data-file <adams.core.io.PlaceholderFile> (property: dataFile) The data file to use as basis for the plot. default: .
-scriptlet <adams.core.gnuplot.AbstractScriptlet> [-scriptlet ...] (property: scriptlets) The scriplets to use for producing a single script. default:
-use-single-data-file (property: useSingleDataFile) If enabled, all sub-scriptlets get automatically updated to use this scriptlets data file.
| Field Summary | |
|---|---|
protected AbstractScriptlet[] |
m_Scriptlets
the custom script code. |
protected boolean |
m_UseSingleDataFile
whether to enforce all scriptlets to use the same data file. |
| Fields inherited from class adams.core.gnuplot.AbstractScriptlet |
|---|
COMMENT, m_DataFile, m_LastError |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
MultiScriptlet()
|
|
| Method Summary | |
|---|---|
String |
check()
Hook method for performing checks. |
void |
defineOptions()
Adds options to the internal list of options. |
protected String |
doGenerate()
Generates the actual script code. |
AbstractScriptlet[] |
getScriptlets()
Returns the scriptlets in use. |
boolean |
getUseSingleDataFile()
Returns whether to use a single data file only. |
String |
globalInfo()
Returns a string describing the object. |
String |
scriptletsTipText()
Returns the tip text for this property. |
void |
setScriptlets(AbstractScriptlet[] value)
Sets the scriptlets to use. |
void |
setUseSingleDataFile(boolean value)
Sets whether to use a single data file only. |
String |
useSingleDataFileTipText()
Returns the tip text for this property. |
| Methods inherited from class adams.core.gnuplot.AbstractScriptlet |
|---|
dataFileTipText, generate, getDataFile, getLastError, hasLastError, reset, setDataFile |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
|---|
cleanUpOptions, debug, debug, debugLevelTipText, destroy, finishInit, getDebugLevel, getOptionManager, initialize, isDebugOn, newOptionManager, setDebugLevel, toCommandLine, toString |
| Methods inherited from class adams.core.ConsoleObject |
|---|
getDebugging, getSystemErr, getSystemOut, sizeOf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected AbstractScriptlet[] m_Scriptlets
protected boolean m_UseSingleDataFile
| Constructor Detail |
|---|
public MultiScriptlet()
| Method Detail |
|---|
public String globalInfo()
globalInfo in class AbstractOptionHandlerpublic void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractScriptletpublic void setScriptlets(AbstractScriptlet[] value)
value - the scriptletspublic AbstractScriptlet[] getScriptlets()
public String scriptletsTipText()
public void setUseSingleDataFile(boolean value)
value - if true only a single data file is usedpublic boolean getUseSingleDataFile()
public String useSingleDataFileTipText()
public String check()
check in class AbstractScriptletprotected String doGenerate()
doGenerate in class AbstractScriptlet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||