public class ExporterGEXF extends Object implements GraphExporter, CharacterExporter, LongTask
| Constructor and Description |
|---|
ExporterGEXF() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel()
Cancel the task.
|
boolean |
execute()
Run the export process.
|
FileType[] |
getFileTypes() |
String |
getName() |
Workspace |
getWorkspace()
Returns the workspace from where data are exported
|
boolean |
isExportAttributes() |
boolean |
isExportColors() |
boolean |
isExportDynamic() |
boolean |
isExportPosition() |
boolean |
isExportSize() |
boolean |
isExportVisible()
Returns
true if only the visible graph has to be exported. |
boolean |
isNormalize() |
void |
setExportAttributes(boolean exportAttributes) |
void |
setExportColors(boolean exportColors) |
void |
setExportDynamic(boolean exportDynamic) |
void |
setExportPosition(boolean exportPosition) |
void |
setExportSize(boolean exportSize) |
void |
setExportVisible(boolean exportVisible)
Sets if only the visible graph has to be exported.
|
void |
setNormalize(boolean normalize) |
void |
setProgressTicket(ProgressTicket progressTicket)
Set the progress ticket for the long task.
|
void |
setWorkspace(Workspace workspace)
Sets the worksapce from where to export data
|
void |
setWriter(Writer writer)
Set the writer where to export.
|
public boolean execute()
Exporterpublic boolean cancel()
LongTasktrue if the task has been sucessfully cancelled, false otherwise.public void setProgressTicket(ProgressTicket progressTicket)
LongTasksetProgressTicket in interface LongTaskprogressTicket - the progress ticket for this taskpublic String getName()
public FileType[] getFileTypes()
public void setExportAttributes(boolean exportAttributes)
public void setExportColors(boolean exportColors)
public void setExportPosition(boolean exportPosition)
public void setExportSize(boolean exportSize)
public void setNormalize(boolean normalize)
public void setExportDynamic(boolean exportDynamic)
public boolean isExportAttributes()
public boolean isExportColors()
public boolean isExportPosition()
public boolean isExportSize()
public boolean isNormalize()
public boolean isExportVisible()
GraphExportertrue if only the visible graph has to be exported.isExportVisible in interface GraphExportertrue if only the visible graph has to be exported,
false for the complete graph.public boolean isExportDynamic()
public void setExportVisible(boolean exportVisible)
GraphExporterfalse,
the complete graph is exported.setExportVisible in interface GraphExporterexportVisible - the export visible parameter valuepublic void setWriter(Writer writer)
CharacterExportersetWriter in interface CharacterExporterwriter - the writer the exporter is to writepublic Workspace getWorkspace()
ExportergetWorkspace in interface Exporterpublic void setWorkspace(Workspace workspace)
ExportersetWorkspace in interface Exporterworkspace - the workspace to exportCopyright © 2007–2017. All rights reserved.