public final class FitSelectedEvent extends AbstractCyEvent<CyNetworkView>
This event should
be created and fired by the view being updated and not anyone else,
instead call the CyNetworkView.fitSelected()
method.
Module: viewmodel-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>viewmodel-api</artifactId> </dependency>
Constructor and Description |
---|
FitSelectedEvent(CyNetworkView source)
Fit the selected part of network view to the container.
|
public FitSelectedEvent(CyNetworkView source)
This event should
be created and fired by the view being updated and not anyone else,
instead call the CyNetworkView.fitSelected()
method.
source
- target network view for fitting.Copyright 2011-2015 Cytoscape Consortium. All rights reserved.