public class ExporterVNA extends Object implements GraphExporter, CharacterExporter, LongTask
| Constructor and Description |
|---|
ExporterVNA() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel()
Cancel the task.
|
boolean |
execute()
Run the export process.
|
Workspace |
getWorkspace()
Returns the workspace from where data are exported
|
boolean |
isExportAttributes() |
boolean |
isExportColor() |
boolean |
isExportCoords() |
boolean |
isExportEdgeWeight() |
boolean |
isExportShortLabel() |
boolean |
isExportSize() |
boolean |
isExportVisible()
Returns
true if only the visible graph has to be exported. |
boolean |
isNormalize() |
void |
setExportAttributes(boolean exportAttributes) |
void |
setExportColor(boolean exportColor) |
void |
setExportCoords(boolean exportCoords) |
void |
setExportEdgeWeight(boolean exportEdgeWeight) |
void |
setExportShortLabel(boolean exportShortLabel) |
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 void setExportVisible(boolean exportVisible)
GraphExporterfalse,
the complete graph is exported.setExportVisible in interface GraphExporterexportVisible - the export visible parameter valuepublic 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 execute()
Exporterpublic void setWorkspace(Workspace workspace)
ExportersetWorkspace in interface Exporterworkspace - the workspace to exportpublic Workspace getWorkspace()
ExportergetWorkspace in interface 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 void setWriter(Writer writer)
CharacterExportersetWriter in interface CharacterExporterwriter - the writer the exporter is to writepublic boolean isExportColor()
public void setExportColor(boolean exportColor)
public boolean isExportCoords()
public void setExportCoords(boolean exportCoords)
public boolean isExportEdgeWeight()
public void setExportEdgeWeight(boolean exportEdgeWeight)
public boolean isExportShortLabel()
public void setExportShortLabel(boolean exportShortLabel)
public boolean isExportSize()
public void setExportSize(boolean exportSize)
public boolean isExportAttributes()
public void setExportAttributes(boolean exportAttributes)
public boolean isNormalize()
public void setNormalize(boolean normalize)
Copyright © 2007–2017. All rights reserved.