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, getUndoPresentationName
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.public void redo()
AbstractCyEdit
redo
in class AbstractCyEdit
public void undo()
AbstractCyEdit
undo
in class AbstractCyEdit
Copyright 2011-2015 Cytoscape Consortium. All rights reserved.