public final class LayoutEdit extends AbstractCyEdit
Module: layout-api
To use this in your app, include the following dependency in your POM:
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>layout-api</artifactId>
</dependency>| Constructor and Description |
|---|
LayoutEdit(String name,
CyNetworkView view)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
redo()
The method that performs the redo.
|
void |
undo()
The method that performs the undo.
|
getPresentationName, getRedoPresentationName, getUndoPresentationNamepublic LayoutEdit(String name, CyNetworkView view)
name - The name that will appear in the undo menu.view - The view whose current position will be tracked.public void redo()
AbstractCyEditredo in class AbstractCyEditpublic void undo()
AbstractCyEditundo in class AbstractCyEditCopyright 2011-2015 Cytoscape Consortium. All rights reserved.