|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cytoscape.work.undo.AbstractCyEdit
org.cytoscape.view.layout.LayoutEdit
public final class LayoutEdit
An undoable edit that will undo and redo of a layout algorithm applied to a network view.
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 Summary | |
---|---|
LayoutEdit(String name,
CyNetworkView view)
Constructor. |
Method Summary | |
---|---|
void |
redo()
The method that performs the redo. |
void |
undo()
The method that performs the undo. |
Methods inherited from class org.cytoscape.work.undo.AbstractCyEdit |
---|
getPresentationName, getRedoPresentationName, getUndoPresentationName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LayoutEdit(String name, CyNetworkView view)
name
- The name that will appear in the undo menu.view
- The view whose current position will be tracked.Method Detail |
---|
public void redo()
AbstractCyEdit
redo
in class AbstractCyEdit
public void undo()
AbstractCyEdit
undo
in class AbstractCyEdit
|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |