public class ExporterGML extends Object implements GraphExporter, CharacterExporter, LongTask
| Constructor and Description |
|---|
ExporterGML() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel()
Cancel the task.
|
boolean |
execute()
Run the export process.
|
int |
getSpaces() |
Workspace |
getWorkspace()
Returns the workspace from where data are exported
|
boolean |
isExportColor() |
boolean |
isExportCoordinates() |
boolean |
isExportEdgeSize() |
boolean |
isExportLabel() |
boolean |
isExportNodeSize() |
boolean |
isExportNotRecognizedElements() |
boolean |
isExportVisible()
Returns
true if only the visible graph has to be exported. |
boolean |
isNormalize() |
void |
setExportColor(boolean exportColor) |
void |
setExportCoordinates(boolean exportCoordinates) |
void |
setExportEdgeSize(boolean exportEdgeSize) |
void |
setExportLabel(boolean exportLabel) |
void |
setExportNodeSize(boolean exportNodeSize) |
void |
setExportNotRecognizedElements(boolean exportNotRecognizedElements) |
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 |
setSpaces(int spaces) |
void |
setWorkspace(Workspace workspace)
Sets the worksapce from where to export data
|
void |
setWriter(Writer writer)
Set the writer where to export.
|
public boolean isNormalize()
public void setNormalize(boolean normalize)
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 void setWriter(Writer writer)
CharacterExportersetWriter in interface CharacterExporterwriter - the writer the exporter is to writepublic 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 boolean isExportColor()
public void setExportColor(boolean exportColor)
public boolean isExportCoordinates()
public void setExportCoordinates(boolean exportCoordinates)
public boolean isExportEdgeSize()
public void setExportEdgeSize(boolean exportEdgeSize)
public boolean isExportLabel()
public void setExportLabel(boolean exportLabel)
public boolean isExportNodeSize()
public void setExportNodeSize(boolean exportNodeSize)
public boolean isExportNotRecognizedElements()
public void setExportNotRecognizedElements(boolean exportNotRecognizedElements)
public int getSpaces()
public void setSpaces(int spaces)
Copyright © 2007–2017. All rights reserved.