public abstract class DataExportFormat
extends java.lang.Object
Title: TeeChart for Java Data Export Format base class
Description: TeeChart for Java
Copyright (c) 2004-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Modifier and Type | Field and Description |
---|---|
protected IBaseChart |
chart |
java.lang.String |
fileExtension |
protected boolean |
hasColors |
protected boolean |
hasLabels |
protected boolean |
hasMarkPositions |
protected boolean |
hasNoMandatory |
protected Series |
series |
Constructor and Description |
---|
DataExportFormat() |
DataExportFormat(IBaseChart c)
Data export constructor all Chart Series.
|
DataExportFormat(IBaseChart c,
Series s)
Data export constructor, named Series.
|
Modifier and Type | Method and Description |
---|---|
void |
copyToClipboard()
Copy Chart data to clipboard.
|
protected java.lang.String |
getContent() |
protected java.lang.String |
getDataFormat()
Returns descriptive name of Dataformat.
|
java.lang.String |
getFileExtension()
Returns the desired File Extension for exported file.
|
java.lang.String |
getFilterFiles()
Returns the corresponding Filter for the export format.
|
boolean |
getIncludeHeader()
Includes the Series valuelist name with exported data.
|
boolean |
getIncludeIndex()
Includes the Series index with exported data.
|
boolean |
getIncludeLabels()
Includes data Labels with exported data.
|
boolean |
getIncludeSeriesTitle()
Includes the Series title with exported data.
|
Series |
getSeries()
Series whose data is to be exported.
|
java.lang.String |
getTextLineSeparator()
Line separator for ascii export formats.
|
protected abstract java.lang.String |
pointToString(int index) |
protected void |
prepare() |
void |
save(java.io.FileWriter fw)
Saves Chart to stream with Data export format.
|
void |
save(java.lang.String fileName)
Saves Chart to file with Data export format.
|
void |
setFileExtension(java.lang.String value)
Sets the desired File Extension for exported file.
|
void |
setIncludeHeader(boolean value)
Includes the Series valuelist name with exported data.
|
void |
setIncludeIndex(boolean value)
Includes the Series index with exported data.
|
void |
setIncludeLabels(boolean value)
Includes data Labels with exported data.
|
void |
setIncludeSeriesTitle(boolean value)
Includes the Series title with exported data.
|
void |
setSeries(Series value)
Series whose data is to be exported.
|
void |
setTextLineSeparator(java.lang.String value)
Line separator for ascii export formats.
|
protected IBaseChart chart
protected boolean hasColors
protected boolean hasLabels
protected boolean hasNoMandatory
protected boolean hasMarkPositions
protected Series series
public java.lang.String fileExtension
public DataExportFormat()
public DataExportFormat(IBaseChart c)
c
- IBaseChartpublic DataExportFormat(IBaseChart c, Series s)
c
- IBaseCharts
- Seriesprotected void prepare()
protected abstract java.lang.String pointToString(int index)
protected java.lang.String getContent()
public void save(java.lang.String fileName) throws java.io.IOException
fileName
- Stringjava.io.IOException
public void save(java.io.FileWriter fw) throws java.io.IOException
fw
- FileWriterjava.io.IOException
protected java.lang.String getDataFormat()
public void copyToClipboard()
public boolean getIncludeIndex()
public void setIncludeIndex(boolean value)
value
- booleanpublic boolean getIncludeHeader()
public void setIncludeHeader(boolean value)
value
- booleanpublic boolean getIncludeSeriesTitle()
public void setIncludeSeriesTitle(boolean value)
value
- booleanpublic boolean getIncludeLabels()
public void setIncludeLabels(boolean value)
value
- booleanpublic java.lang.String getFilterFiles()
public java.lang.String getTextLineSeparator()
public void setTextLineSeparator(java.lang.String value)
value
- Stringpublic Series getSeries()
public void setSeries(Series value)
value
- Seriespublic java.lang.String getFileExtension()
public void setFileExtension(java.lang.String value)
value
- String