adams.core.gnuplot
Class AbstractPlotScriptlet

java.lang.Object
  extended by adams.core.ConsoleObject
      extended by adams.core.option.AbstractOptionHandler
          extended by adams.core.gnuplot.AbstractScriptlet
              extended by adams.core.gnuplot.AbstractPlotScriptlet
All Implemented Interfaces:
Debuggable, Destroyable, OptionHandler, SizeOfHandler, Serializable
Direct Known Subclasses:
SimplePlot

public abstract class AbstractPlotScriptlet
extends AbstractScriptlet

Ancestor for scriptlets that generate plot instructions.

Version:
$Revision: 4584 $
Author:
fracpete (fracpete at waikato dot ac dot nz)
See Also:
Serialized Form

Field Summary
protected  String m_Columns
          the columns to use.
 
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
AbstractPlotScriptlet()
           
 
Method Summary
 String columnsTipText()
          Returns the tip text for this property.
 void defineOptions()
          Adds options to the internal list of options.
 String getColumns()
          Returns the columns to use in the plots.
 void setColumns(String value)
          Sets the columns to use in the plots.
 
Methods inherited from class adams.core.gnuplot.AbstractScriptlet
check, dataFileTipText, doGenerate, generate, getDataFile, getLastError, hasLastError, reset, setDataFile
 
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, debug, debug, debugLevelTipText, destroy, finishInit, getDebugLevel, getOptionManager, globalInfo, 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

m_Columns

protected String m_Columns
the columns to use.

Constructor Detail

AbstractPlotScriptlet

public AbstractPlotScriptlet()
Method Detail

defineOptions

public void defineOptions()
Adds options to the internal list of options.

Specified by:
defineOptions in interface OptionHandler
Overrides:
defineOptions in class AbstractScriptlet

setColumns

public void setColumns(String value)
Sets the columns to use in the plots.

Parameters:
value - the columns

getColumns

public String getColumns()
Returns the columns to use in the plots.

Returns:
the index

columnsTipText

public String columnsTipText()
Returns the tip text for this property.

Returns:
tip text for this property suitable for displaying in the explorer/experimenter gui


Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.