|
||||||||||
| 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
public abstract class AbstractPlotGenerator
Ancestor for generators that use data from a spreadsheet to create
plot containers for the SequencePlotter sink.
| Field Summary | |
|---|---|
protected double |
m_DefaultCellValue
the default value for missing or non-numeric cells. |
static String |
MISSING_CELL_VALUE
the default string value for cells that are missing. |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
AbstractPlotGenerator()
|
|
| Method Summary | |
|---|---|
protected void |
check(SpreadSheet sheet)
Checks the spreadsheet. |
String |
defaultCellValueTipText()
Returns the tip text for this property. |
void |
defineOptions()
Adds options to the internal list of options. |
protected abstract List<SequencePlotterContainer> |
doGenerate(SpreadSheet sheet)
Performs the actual generation of containers. |
List<SequencePlotterContainer> |
generate(SpreadSheet sheet)
Generates plot containers from the provided spreadsheet. |
protected String |
getCellString(Row row,
int index)
Returns the string value for the specified cell. |
protected double |
getCellValue(Row row,
int index)
Returns the cell value for the specified column index. |
double |
getDefaultCellValue()
Returns the default value for missing or non-numeric cells. |
String |
getQuickInfo()
Returns a quick info about the object, which can be displayed in the GUI. |
void |
setDefaultCellValue(double value)
Sets the default value for missing or non-numeric cells. |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
|---|
cleanUpOptions, debug, debug, debugLevelTipText, destroy, finishInit, getDebugLevel, getOptionManager, globalInfo, initialize, 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 |
|---|
public static final String MISSING_CELL_VALUE
protected double m_DefaultCellValue
| Constructor Detail |
|---|
public AbstractPlotGenerator()
| Method Detail |
|---|
public void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractOptionHandlerpublic void setDefaultCellValue(double value)
value - the default valuepublic double getDefaultCellValue()
public String defaultCellValueTipText()
public String getQuickInfo()
getQuickInfo in interface QuickInfoSupporterprotected void check(SpreadSheet sheet)
sheet - the sheet to check
protected String getCellString(Row row,
int index)
row - the row to get the cell fromindex - the column index
protected double getCellValue(Row row,
int index)
row - the row to get the cell fromindex - the column index
m_DefaultCellValueprotected abstract List<SequencePlotterContainer> doGenerate(SpreadSheet sheet)
sheet - the basis for the containers
public List<SequencePlotterContainer> generate(SpreadSheet sheet)
sheet - the data to use
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||