|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.clichart.chart.OptionsBean
public class OptionsBean
A simple options Java bean, used for tests (?)
| Field Summary |
|---|
| Fields inherited from interface net.sf.clichart.chart.Options |
|---|
DATA_SEP_CSV, DATA_SEP_WHITE_SPACE, DEFAULT_COLUMN_INDEXES, DEFAULT_DATA_SEP, DEFAULT_DATE_FORMAT, DEFAULT_HEIGHT, DEFAULT_WIDTH, DEFAULT_X_TYPE, X_TYPE_DATE_TIME, X_TYPE_NONE, X_TYPE_VALUE |
| Constructor Summary | |
|---|---|
OptionsBean()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
boolean |
forceSecondAxisYRange()
If set, force use of the minimum and maximum Y values provided for the second axis |
void |
forceSecondAxisYRange(boolean forceSecondAxisYRange)
|
boolean |
forceYRange()
If set, force use of the minimum and maximum Y values provided |
void |
forceYRange(boolean forceYRange)
|
int |
getChartHeight()
Return the height of the chart in pixels |
java.lang.String |
getChartTitle()
Return the title for the graph, or null if not set |
int |
getChartWidth()
Return the width of the chart in pixels |
java.lang.String |
getChartXAxisTitle()
Return the title for the X axis, or null if not set |
int |
getChartXType()
Return the type of X axis - date/time, value or none |
java.lang.String |
getChartYAxisTitle()
Return the title for the y axis, or null if not set |
java.util.List<ColourOverride> |
getColourOverrides()
Return any colour overrides set for columns (may be null) |
int[] |
getColumnIndexes()
Return the list of column indexes required from the data provided |
int |
getDataSeparatorType()
Returns the data separator (CSV) |
java.lang.String |
getDateFormat()
Returns the date format string for parsing date/times |
java.lang.String |
getFileOutputPath()
Path to which chart should be saved - null if should show in UI |
java.lang.String |
getInputPath()
Return the input path to read data from, or null if should read from stdin |
int |
getLineWeight()
Return required line weight for first axis, on a scale of 1 - 5 |
int |
getListenPort()
Return the port number on which the CLI server should listen. |
java.lang.Integer |
getMaxYValue()
Return the max Y value for the chart, or null if not set |
java.lang.Integer |
getMinYValue()
Return the min Y value for the chart, or null if not set |
java.lang.String |
getSecondAxisChartYAxisTitle()
Return the title for the second y axis, or null if not set |
int[] |
getSecondAxisColumnIndexes()
Return the list of column indexes required for the second axis (if any) from the data provided, or null if none |
int |
getSecondAxisLineWeight()
Return required line weight for second axis, on a scale of 1 - 5 |
java.lang.Integer |
getSecondAxisMaxYValue()
Return the max Y value for the second axis for the chart, or null if not set |
java.lang.Integer |
getSecondAxisMinYValue()
Return the min Y value for the second axis for the chart, or null if not set |
java.lang.String[] |
getSecondAxisSeriesTitles()
Return the titles for each of the second Y axis data series, or null if not set |
java.lang.String[] |
getSeriesTitles()
Return the titles for each of the first Y axis data series, or null if not set |
boolean |
hasDataPoints()
Return true if line shapes should be rendered for the first axis |
int |
hashCode()
|
boolean |
hasHeaderRow()
Return true if the first row of the data is a header (this will be used for column titles) |
boolean |
hasSecondAxisDataPoints()
Return true if line shapes should be rendered for the second axis |
boolean |
ignoreDuplicateValues()
Return true if exceptions for adding duplicate X axis values should be swallowed (with an appropriate message) |
boolean |
ignoreEmptyColumns()
Return true if empty column values in the data should be ignored (with an appropriate message) |
boolean |
ignoreMissingColumns()
Return true if missing columns in the data should be ignored (with an appropriate message) |
boolean |
isBarChart()
Return true if the main axis should be a bar chart, rather than X-Y |
boolean |
isCliServer()
Return true if clichart should act as a CLI server, to be driven by a script |
boolean |
isSecondAxisBarChart()
Return true if the second axis should be a bar chart, rather than X-Y |
void |
setBarChart(boolean barChart)
|
void |
setChartHeight(int height)
|
void |
setChartTitle(java.lang.String chartTitle)
|
void |
setChartWidth(int width)
|
void |
setChartXAxisTitle(java.lang.String chartXAxisTitle)
|
void |
setChartXType(int chartXType)
|
void |
setChartYAxisTitle(java.lang.String chartYAxisTitle)
|
void |
setCliServer(boolean cliServer)
|
void |
setColourOverrides(java.util.List<ColourOverride> colourOverrides)
|
void |
setColumnIndexes(int[] columnIndexes)
|
void |
setDataPoints(boolean dataPoints)
|
void |
setDataSeparatorType(int dataSeparatorType)
|
void |
setDateFormat(java.lang.String dateFormat)
|
void |
setFileOutputPath(java.lang.String fileOutputPath)
|
void |
setHeaderRow(boolean hasHeaderRow)
|
void |
setIgnoreDuplicateValues(boolean ignoreDuplicateValues)
|
void |
setIgnoreEmptyColumns(boolean ignoreEmptyColumns)
|
void |
setIgnoreMissingColumns(boolean ignoreMissingColumns)
|
void |
setInputPath(java.lang.String inputPath)
|
void |
setLineWeight(int lineWeight)
|
void |
setListenPort(int port)
|
void |
setMaxYValue(java.lang.Integer maxYValue)
|
void |
setMinYValue(java.lang.Integer minYValue)
|
void |
setSecondAxisBarChart(boolean secondAxisBarChart)
|
void |
setSecondAxisChartYAxisTitle(java.lang.String secondAxisChartYAxisTitle)
|
void |
setSecondAxisColumnIndexes(int[] secondAxisColumnIndexes)
|
void |
setSecondAxisDataPoints(boolean secondAxisDataPoints)
|
void |
setSecondAxisLineWeight(int secondAxisLineWeight)
|
void |
setSecondAxisMaxYValue(java.lang.Integer secondAxisMaxYValue)
|
void |
setSecondAxisMinYValue(java.lang.Integer secondAxisMinYValue)
|
void |
setSecondAxisSeriesTitles(java.lang.String[] secondAxisSeriesTitles)
|
void |
setSeriesTitles(java.lang.String[] seriesTitles)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OptionsBean()
| Method Detail |
|---|
public int getDataSeparatorType()
Options
getDataSeparatorType in interface Optionspublic void setDataSeparatorType(int dataSeparatorType)
public java.lang.String getDateFormat()
Options
getDateFormat in interface Optionspublic void setDateFormat(java.lang.String dateFormat)
public boolean hasHeaderRow()
Options
hasHeaderRow in interface Optionspublic void setHeaderRow(boolean hasHeaderRow)
public boolean ignoreMissingColumns()
Options
ignoreMissingColumns in interface Optionspublic void setIgnoreMissingColumns(boolean ignoreMissingColumns)
public boolean ignoreEmptyColumns()
Options
ignoreEmptyColumns in interface Optionspublic void setIgnoreEmptyColumns(boolean ignoreEmptyColumns)
public boolean ignoreDuplicateValues()
Options
ignoreDuplicateValues in interface Optionspublic void setIgnoreDuplicateValues(boolean ignoreDuplicateValues)
public int[] getColumnIndexes()
Options
getColumnIndexes in interface Optionspublic void setColumnIndexes(int[] columnIndexes)
public int[] getSecondAxisColumnIndexes()
Options
getSecondAxisColumnIndexes in interface Optionspublic void setSecondAxisColumnIndexes(int[] secondAxisColumnIndexes)
public int getChartXType()
Options
getChartXType in interface Optionspublic void setChartXType(int chartXType)
public java.lang.String getFileOutputPath()
Options
getFileOutputPath in interface Optionspublic void setFileOutputPath(java.lang.String fileOutputPath)
public java.lang.String getChartTitle()
Options
getChartTitle in interface Optionspublic void setChartTitle(java.lang.String chartTitle)
public java.lang.String getChartXAxisTitle()
Options
getChartXAxisTitle in interface Optionspublic void setChartXAxisTitle(java.lang.String chartXAxisTitle)
public java.lang.String getChartYAxisTitle()
Options
getChartYAxisTitle in interface Optionspublic void setChartYAxisTitle(java.lang.String chartYAxisTitle)
public java.lang.String getSecondAxisChartYAxisTitle()
Options
getSecondAxisChartYAxisTitle in interface Optionspublic void setSecondAxisChartYAxisTitle(java.lang.String secondAxisChartYAxisTitle)
public java.lang.Integer getMaxYValue()
Options
getMaxYValue in interface Optionspublic void setMaxYValue(java.lang.Integer maxYValue)
public java.lang.Integer getMinYValue()
Options
getMinYValue in interface Optionspublic void setMinYValue(java.lang.Integer minYValue)
public java.lang.Integer getSecondAxisMinYValue()
Options
getSecondAxisMinYValue in interface Optionspublic void setSecondAxisMinYValue(java.lang.Integer secondAxisMinYValue)
public boolean forceYRange()
Options
forceYRange in interface Optionspublic void forceYRange(boolean forceYRange)
public boolean forceSecondAxisYRange()
Options
forceSecondAxisYRange in interface Optionspublic void forceSecondAxisYRange(boolean forceSecondAxisYRange)
public java.lang.Integer getSecondAxisMaxYValue()
Options
getSecondAxisMaxYValue in interface Optionspublic void setSecondAxisMaxYValue(java.lang.Integer secondAxisMaxYValue)
public java.lang.String getInputPath()
Options
getInputPath in interface Optionspublic void setInputPath(java.lang.String inputPath)
public int getChartWidth()
Options
getChartWidth in interface Optionspublic void setChartWidth(int width)
public int getChartHeight()
Options
getChartHeight in interface Optionspublic void setChartHeight(int height)
public boolean isBarChart()
Options
isBarChart in interface Optionspublic void setBarChart(boolean barChart)
public boolean isSecondAxisBarChart()
Options
isSecondAxisBarChart in interface Optionspublic void setSecondAxisBarChart(boolean secondAxisBarChart)
public int getLineWeight()
Options
getLineWeight in interface Optionspublic void setLineWeight(int lineWeight)
public int getSecondAxisLineWeight()
Options
getSecondAxisLineWeight in interface Optionspublic void setSecondAxisLineWeight(int secondAxisLineWeight)
public boolean hasDataPoints()
Options
hasDataPoints in interface Optionspublic void setDataPoints(boolean dataPoints)
public boolean hasSecondAxisDataPoints()
Options
hasSecondAxisDataPoints in interface Optionspublic void setSecondAxisDataPoints(boolean secondAxisDataPoints)
public java.lang.String[] getSeriesTitles()
Options
getSeriesTitles in interface Optionspublic void setSeriesTitles(java.lang.String[] seriesTitles)
public java.lang.String[] getSecondAxisSeriesTitles()
Options
getSecondAxisSeriesTitles in interface Optionspublic void setSecondAxisSeriesTitles(java.lang.String[] secondAxisSeriesTitles)
public boolean isCliServer()
Options
isCliServer in interface Optionspublic void setCliServer(boolean cliServer)
public java.util.List<ColourOverride> getColourOverrides()
Options
getColourOverrides in interface Optionspublic void setColourOverrides(java.util.List<ColourOverride> colourOverrides)
public int getListenPort()
Options
getListenPort in interface Optionspublic void setListenPort(int port)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||