com.steema.teechart.exports
Class JavascriptFormat

java.lang.Object
  extended by com.steema.teechart.TeeBase
      extended by com.steema.teechart.exports.ImageExportFormat
          extended by com.steema.teechart.exports.JavascriptFormat
All Implemented Interfaces:
java.io.Serializable

public class JavascriptFormat
extends ImageExportFormat

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.steema.teechart.exports.ImageExportFormat
fileExtension, format
 
Fields inherited from class com.steema.teechart.TeeBase
chart, InternalUse
 
Constructor Summary
JavascriptFormat(IBaseChart chart)
           
 
Method Summary
protected  void addHeader()
           
protected  void addToStream(java.lang.String text)
           
 java.lang.String getChartName()
           
 java.lang.String[] getCustomCode()
           
 java.lang.String getSourceScriptPath()
           
 void initVars()
           
 void save(java.lang.String name)
          Saves image to File.
 void setChartName(java.lang.String name)
           
 void setCustomCode(java.lang.String[] code)
           
 void setSourceScriptPath(java.lang.String s)
           
 
Methods inherited from class com.steema.teechart.exports.ImageExportFormat
getHeight, getWidth, setHeight, setWidth
 
Methods inherited from class com.steema.teechart.TeeBase
getChart, invalidate, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavascriptFormat

public JavascriptFormat(IBaseChart chart)
Method Detail

initVars

public void initVars()

save

public void save(java.lang.String name)
          throws java.io.FileNotFoundException
Description copied from class: ImageExportFormat
Saves image to File.

Overrides:
save in class ImageExportFormat
Parameters:
name - String
Throws:
java.io.FileNotFoundException

addHeader

protected void addHeader()

addToStream

protected void addToStream(java.lang.String text)

getSourceScriptPath

public java.lang.String getSourceScriptPath()

setSourceScriptPath

public void setSourceScriptPath(java.lang.String s)

getChartName

public java.lang.String getChartName()

setChartName

public void setChartName(java.lang.String name)

getCustomCode

public java.lang.String[] getCustomCode()

setCustomCode

public void setCustomCode(java.lang.String[] code)