public final class FitContentEvent extends AbstractCyEvent<CyNetworkView>
This event should
be created and fired by the view being updated and not anyone else,
instead call the CyNetworkView.fitContent() 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 |
|---|
FitContentEvent(CyNetworkView source)
Fit the size of network view to the current container.
|
public FitContentEvent(CyNetworkView source)
This event should
be created and fired by the view being updated and not anyone else,
instead call the CyNetworkView.fitContent() method.
source - network view to be fitted to the container.Copyright 2011-2015 Cytoscape Consortium. All rights reserved.