com.steema.teechart.exports
Class DataExportFormat

java.lang.Object
  extended by com.steema.teechart.exports.DataExportFormat
Direct Known Subclasses:
HTMLFormat, TextFormat, XMLFormat

public abstract class DataExportFormat
extends java.lang.Object

Title: TeeChart for Java Data Export Format base class

Description: TeeChart for Java

Copyright (c) 2004-2008 by Steema Software SL. All Rights Reserved.

Company: Steema Software SL


Field Summary
protected  IBaseChart chart
           
 java.lang.String fileExtension
           
protected  boolean hasColors
           
protected  boolean hasLabels
           
protected  boolean hasMarkPositions
           
protected  boolean hasNoMandatory
           
protected  Series series
           
 
Constructor Summary
DataExportFormat()
           
DataExportFormat(IBaseChart c)
          Data export constructor all Chart Series.
DataExportFormat(IBaseChart c, Series s)
          Data export constructor, named Series.
 
Method Summary
 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 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

chart

protected IBaseChart chart

hasColors

protected boolean hasColors

hasLabels

protected boolean hasLabels

hasNoMandatory

protected boolean hasNoMandatory

hasMarkPositions

protected boolean hasMarkPositions

series

protected Series series

fileExtension

public java.lang.String fileExtension
Constructor Detail

DataExportFormat

public DataExportFormat()

DataExportFormat

public DataExportFormat(IBaseChart c)
Data export constructor all Chart Series.

Parameters:
c - IBaseChart

DataExportFormat

public DataExportFormat(IBaseChart c,
                        Series s)
Data export constructor, named Series.

Parameters:
c - IBaseChart
s - Series
Method Detail

prepare

protected void prepare()

pointToString

protected abstract java.lang.String pointToString(int index)

getContent

protected java.lang.String getContent()

getDataFormat

protected java.lang.String getDataFormat()
Returns descriptive name of Dataformat.

Returns:
String

copyToClipboard

public void copyToClipboard()
Copy Chart data to clipboard.


getIncludeIndex

public boolean getIncludeIndex()
Includes the Series index with exported data.

Returns:
boolean

setIncludeIndex

public void setIncludeIndex(boolean value)
Includes the Series index with exported data.

Parameters:
value - boolean

getIncludeHeader

public boolean getIncludeHeader()
Includes the Series valuelist name with exported data.

Returns:
boolean

setIncludeHeader

public void setIncludeHeader(boolean value)
Includes the Series valuelist name with exported data.

Parameters:
value - boolean

getIncludeSeriesTitle

public boolean getIncludeSeriesTitle()
Includes the Series title with exported data.

Returns:
boolean

setIncludeSeriesTitle

public void setIncludeSeriesTitle(boolean value)
Includes the Series title with exported data.

Parameters:
value - boolean

getIncludeLabels

public boolean getIncludeLabels()
Includes data Labels with exported data.

Returns:
boolean

setIncludeLabels

public void setIncludeLabels(boolean value)
Includes data Labels with exported data.

Parameters:
value - boolean

getFilterFiles

public java.lang.String getFilterFiles()
Returns the corresponding Filter for the export format.

Returns:
String

getTextLineSeparator

public java.lang.String getTextLineSeparator()
Line separator for ascii export formats.

Returns:
String

setTextLineSeparator

public void setTextLineSeparator(java.lang.String value)
Line separator for ascii export formats.

Parameters:
value - String

getSeries

public Series getSeries()
Series whose data is to be exported.

Returns:
Series

setSeries

public void setSeries(Series value)
Series whose data is to be exported.

Parameters:
value - Series

getFileExtension

public java.lang.String getFileExtension()
Returns the desired File Extension for exported file.

Returns:
String

setFileExtension

public void setFileExtension(java.lang.String value)
Sets the desired File Extension for exported file.

Parameters:
value - String