|
||||||||||
| 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.flow.transformer.plotgenerator.AbstractPlotGenerator
adams.flow.transformer.plotgenerator.NamedPlotGenerator
public class NamedPlotGenerator
Plots the numeric data of two columns, X and Y with the plot name from a separate column.
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
-default-cell-value <double> (property: defaultCellValue) The default value for missing or non-numeric cells. default: -1.0
-x-column <java.lang.String> (property: XColumn) The index of the column which values to use as X values in the plot; An index is a number starting with 1; the following placeholders can be used as well: first, second, third, last_2, last_1, last default:
-y-column <java.lang.String> (property: YColumn) The index of the column which values to use as Y values in the plot; An index is a number starting with 1; the following placeholders can be used as well: first, second, third, last_2, last_1, last default:
-name-column <java.lang.String> (property: nameColumn) The index of the column which values to use as for naming the plots; An index is a number starting with 1; the following placeholders can be used as well: first, second, third, last_2, last_1, last default:
| Field Summary | |
|---|---|
protected SpreadSheetColumnIndex |
m_NameColumn
the column for the plot name. |
protected SpreadSheetColumnIndex |
m_XColumn
the X column. |
protected SpreadSheetColumnIndex |
m_YColumn
the Y column. |
| Fields inherited from class adams.flow.transformer.plotgenerator.AbstractPlotGenerator |
|---|
m_DefaultCellValue, MISSING_CELL_VALUE |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
NamedPlotGenerator()
|
|
| Method Summary | |
|---|---|
protected void |
check(SpreadSheet sheet)
Checks the spreadsheet. |
void |
defineOptions()
Adds options to the internal list of options. |
protected List<SequencePlotterContainer> |
doGenerate(SpreadSheet sheet)
Performs the actual generation of containers. |
String |
getNameColumn()
Returns the index of the column which values to use to name the plots. |
String |
getQuickInfo()
Returns a quick info about the actor, which will be displayed in the GUI. |
String |
getXColumn()
Returns the index of the column which values to use as X values. |
String |
getYColumn()
Returns the index of the column which values to use as Y values. |
String |
globalInfo()
Returns a string describing the object. |
protected void |
initialize()
Initializes the members. |
String |
nameColumnTipText()
Returns the tip text for this property. |
void |
setNameColumn(String value)
Sets the index of the column which values to use to name the plots. |
void |
setXColumn(String value)
Sets the index of the column which values to use as X values. |
void |
setYColumn(String value)
Sets the index of the column which values to use as Y values. |
String |
XColumnTipText()
Returns the tip text for this property. |
String |
YColumnTipText()
Returns the tip text for this property. |
| Methods inherited from class adams.flow.transformer.plotgenerator.AbstractPlotGenerator |
|---|
defaultCellValueTipText, generate, getCellString, getCellValue, getDefaultCellValue, setDefaultCellValue |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
|---|
cleanUpOptions, debug, debug, debugLevelTipText, destroy, finishInit, getDebugLevel, getOptionManager, isDebugOn, newOptionManager, reset, 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 SpreadSheetColumnIndex m_XColumn
protected SpreadSheetColumnIndex m_YColumn
protected SpreadSheetColumnIndex m_NameColumn
| Constructor Detail |
|---|
public NamedPlotGenerator()
| Method Detail |
|---|
public String globalInfo()
globalInfo in class AbstractOptionHandlerpublic void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractPlotGeneratorprotected void initialize()
initialize in class AbstractOptionHandlerpublic String getQuickInfo()
getQuickInfo in interface QuickInfoSupportergetQuickInfo in class AbstractPlotGeneratorpublic void setXColumn(String value)
value - the column indexpublic String getXColumn()
public String XColumnTipText()
public void setYColumn(String value)
value - the column indexpublic String getYColumn()
public String YColumnTipText()
public void setNameColumn(String value)
value - the column indexpublic String getNameColumn()
public String nameColumnTipText()
protected void check(SpreadSheet sheet)
check in class AbstractPlotGeneratorsheet - the sheet to checkprotected List<SequencePlotterContainer> doGenerate(SpreadSheet sheet)
doGenerate in class AbstractPlotGeneratorsheet - the basis for the containers
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||