Package | Description |
---|---|
ini.trakem2 | |
ini.trakem2.display | |
ini.trakem2.persistence | |
ini.trakem2.tree |
Modifier and Type | Method and Description |
---|---|
void |
Project.exportXML(StringBuilder sb,
String indent,
XMLOptions options) |
void |
Project.exportXML(Writer writer,
String indent,
XMLOptions options)
Export the main trakem2 tag wrapping four hierarchies (the project tag, the ProjectTree, and the Top Level LayerSet the latter including all Displayable objects) and a list of displays.
|
Modifier and Type | Method and Description |
---|---|
static void |
Display.exportXML(Project project,
Writer writer,
String indent,
XMLOptions options)
Export all displays of the given project as XML entries.
|
void |
ZDisplayable.exportXML(StringBuilder sb_body,
String indent,
XMLOptions options) |
void |
Tree.exportXML(StringBuilder sb_body,
String indent,
XMLOptions options) |
void |
Stack.exportXML(StringBuilder sb_body,
String indent,
XMLOptions options)
Opens and closes the tag and exports data.
|
void |
Profile.exportXML(StringBuilder sb_body,
String indent,
XMLOptions options) |
void |
Polyline.exportXML(StringBuilder sb_body,
String indent,
XMLOptions options)
Exports data.
|
void |
Pipe.exportXML(StringBuilder sb_body,
String indent,
XMLOptions options)
Exports data, the tag is not opened nor closed.
|
void |
Patch.exportXML(StringBuilder sb_body,
String indent,
XMLOptions options)
Opens and closes the tag and exports data.
|
void |
Layer.exportXML(StringBuilder sb_body,
String indent,
XMLOptions options) |
void |
Dissector.exportXML(StringBuilder sb_body,
String indent,
XMLOptions options) |
void |
Displayable.exportXML(StringBuilder sb_body,
String in,
XMLOptions options)
The oid is this objects' id, whereas the 'id' tag will be the id of the wrapper Thing object.
|
void |
DLabel.exportXML(StringBuilder sb_body,
String indent,
XMLOptions options) |
void |
Ball.exportXML(StringBuilder sb_body,
String indent,
XMLOptions options)
Similar to exportSVG but the layer_id is saved instead of the z.
|
void |
AreaList.exportXML(StringBuilder sb_body,
String indent,
XMLOptions options) |
void |
LayerSet.exportXML(Writer writer,
String indent,
XMLOptions options) |
protected void |
Displayable.restXML(StringBuilder sb_body,
String in,
XMLOptions options)
Add properties, links, etc.
|
Modifier and Type | Method and Description |
---|---|
protected String |
Loader.export(Project project,
File fxml,
XMLOptions options)
Exports the project and its images (optional); if export_images is true, it will be asked for confirmation anyway -beware: for FSLoader, images are not exported since it doesn't own them; only their path.
|
void |
DBObject.exportXML(StringBuilder sb_body,
String indent,
XMLOptions options)
Subclasses can override this method to store the instance as XML.
|
String |
Loader.save(Project project,
XMLOptions options)
Calls saveAs() unless overriden.
|
String |
FSLoader.save(Project project,
XMLOptions options)
Overwrites the XML file.
|
String |
Loader.saveAs(Project project,
String xmlpath,
XMLOptions options)
Exports to an XML file chosen by the user in a dialog if @param xmlpath is null.
|
String |
Loader.saveAs(Project project,
XMLOptions options)
Save the project under a different name by choosing from a dialog, and exporting all images (will popup a YesNoCancelDialog to confirm exporting images.)
|
String |
FSLoader.saveAs(Project project,
XMLOptions options)
The saveAs called from menus via saveTask.
|
String |
Loader.saveAs(String path,
XMLOptions options)
Meant to be overriden -- as is, will set
options .export_images to this.getClass() != FSLoader.class. |
String |
FSLoader.saveAs(String path,
XMLOptions options)
Meant for programmatic access, such as calls to project.saveAs(path, overwrite) which call exactly this method.
|
void |
Loader.writeXMLTo(Project project,
Writer writer,
XMLOptions options)
Write the project as XML.
|
Modifier and Type | Method and Description |
---|---|
void |
ProjectThing.exportXML(StringBuilder sb_body,
String indent,
XMLOptions options)
Expects a
HashMap<Thing,Boolean> as any . |
Copyright © 2015–2021 Fiji. All rights reserved.