|
||||||||||
| 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.Pause
public class Pause
Pauses the plotting.
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: .
-terminal <java.lang.String> (property: terminal) The terminal to use: e.g., 'x11', 'gif', 'png', 'svg'; for any terminal type apart from 'x11', an output file needs to be supplied. default: x11
-output <adams.core.io.PlaceholderFile> (property: outputFile) The output file to use if terminal other than 'x11' is used. default: .
-title <java.lang.String> (property: title) The title to use for the plot. default:
-x-label <java.lang.String> (property: XLabel) The title for the X axis; gets ignored if empty. default:
-y-label <java.lang.String> (property: YLabel) The title for the Y axis; gets ignored if empty. default:
-z-label <java.lang.String> (property: ZLabel) The title for the Z axis; gets ignored if empty. default:
| Field Summary | |
|---|---|
protected String |
m_Message
the message to display in the terminal. |
protected int |
m_WaitingPeriod
the time in seconds to wait before the plot closes. |
static String |
TERMINAL_X11
the 'x11' terminal. |
| 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 | |
|---|---|
Pause()
|
|
| Method Summary | |
|---|---|
void |
defineOptions()
Adds options to the internal list of options. |
protected String |
doGenerate()
Generates the actual script code. |
String |
getMessage()
Returns the message to display in the terminal when pausing. |
int |
getWaitingPeriod()
Returns the waiting period in seconds before closing the plot. |
String |
globalInfo()
Returns a string describing the object. |
String |
messageTipText()
Returns the tip text for this property. |
void |
setMessage(String value)
Sets the message to display in the terminal when pausing. |
void |
setWaitingPeriod(int value)
Sets the waiting period in seconds before closing the plot. |
String |
waitingPeriodTipText()
Returns the tip text for this property. |
| Methods inherited from class adams.core.gnuplot.AbstractScriptlet |
|---|
check, 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 |
|---|
public static final String TERMINAL_X11
protected int m_WaitingPeriod
protected String m_Message
| Constructor Detail |
|---|
public Pause()
| Method Detail |
|---|
public String globalInfo()
globalInfo in class AbstractOptionHandlerpublic void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractScriptletpublic void setWaitingPeriod(int value)
value - the waiting period, use -1 for indefinitepublic int getWaitingPeriod()
public String waitingPeriodTipText()
public void setMessage(String value)
value - the message to displaypublic String getMessage()
public String messageTipText()
protected String doGenerate()
doGenerate in class AbstractScriptlet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||