public class Export extends AbstractChartObject
Constructor and Description |
---|
Export() |
Modifier and Type | Method and Description |
---|---|
Export |
addMenuItem(ExportMenuItem menuItem)
Adds menu item.
|
Color |
getBackgroundColor() |
java.lang.String |
getDataDateFormat() |
java.lang.String |
getDateFormat() |
java.lang.Boolean |
getEnabled() |
java.lang.Boolean |
getExportSelection() |
java.lang.Boolean |
getExportTitles() |
java.lang.Boolean |
getFileListener() |
java.lang.String |
getFileName() |
java.lang.Boolean |
getKeyListener() |
ExportLibs |
getLibs() |
java.util.List<ExportMenuItem> |
getMenu() |
ExportPosition |
getPosition() |
java.lang.Boolean |
getRemoveImages() |
Export |
setBackgroundColor(Color backgroundColor)
Sets the color for the background of the exported image.
|
Export |
setDataDateFormat(java.lang.String dataDateFormat)
Sets data date format to convert date strings to date objects.
|
Export |
setDateFormat(java.lang.String dateFormat)
Formats the category field in given date format (data export only).
|
Export |
setEnabled(java.lang.Boolean enabled)
Set enabled to false if you want to disable export functionality.
|
Export |
setExportSelection(java.lang.Boolean exportSelection)
Set exportSelection to true if you want to export the current data selection only (data export only).
|
Export |
setExportTitles(java.lang.Boolean exportTitles)
Set exportTitles to true if the data field names should be replaced with it's dedicated title (data export only).
|
Export |
setFileListener(java.lang.Boolean fileListener)
If true it observes the drag and drop feature and loads the dropped image file into the annotation.
|
Export |
setFileName(java.lang.String fileName)
Sets a file name that used for generated export files (an extension will be appended to it based on the export
format).
|
Export |
setKeyListener(java.lang.Boolean keyListener)
If true it observes the pressed keys to undo/redo the annotations.
|
Export |
setLibs(ExportLibs libs)
Sets 3rd party required library settings.
|
Export |
setMenu(java.util.List<ExportMenuItem> menu)
Sets a list of menu or submenu items.
|
Export |
setPosition(ExportPosition position)
Sets a position of export icon.
|
Export |
setRemoveImages(java.lang.Boolean removeImages)
If true, export checks for and removes "tainted" images that area loaded from different domains.
|
public java.lang.Boolean getEnabled()
public Export setEnabled(java.lang.Boolean enabled)
enabled
- enabled optionpublic ExportLibs getLibs()
public Export setLibs(ExportLibs libs)
libs
- export libspublic java.util.List<ExportMenuItem> getMenu()
public Export setMenu(java.util.List<ExportMenuItem> menu)
menu
- list of menupublic Export addMenuItem(ExportMenuItem menuItem)
menuItem
- menu itempublic Color getBackgroundColor()
public Export setBackgroundColor(Color backgroundColor)
backgroundColor
- colorpublic java.lang.String getFileName()
public Export setFileName(java.lang.String fileName)
fileName
- file namepublic ExportPosition getPosition()
public Export setPosition(ExportPosition position)
position
- positionpublic java.lang.Boolean getRemoveImages()
public Export setRemoveImages(java.lang.Boolean removeImages)
removeImages
- removeImages optionpublic java.lang.Boolean getExportTitles()
public Export setExportTitles(java.lang.Boolean exportTitles)
exportTitles
- exportTitles optionpublic java.lang.Boolean getExportSelection()
public Export setExportSelection(java.lang.Boolean exportSelection)
exportSelection
- exportSelection optionpublic java.lang.String getDataDateFormat()
public Export setDataDateFormat(java.lang.String dataDateFormat)
dataDateFormat
- data date formatpublic java.lang.String getDateFormat()
public Export setDateFormat(java.lang.String dateFormat)
dateFormat
- date formatpublic java.lang.Boolean getKeyListener()
public Export setKeyListener(java.lang.Boolean keyListener)
keyListener
- keyListener optionpublic java.lang.Boolean getFileListener()
public Export setFileListener(java.lang.Boolean fileListener)
fileListener
- fileListener option