Cytoscape 3.0.1 API

org.cytoscape.view.model.events
Class FitSelectedEvent

java.lang.Object
  extended by org.cytoscape.event.AbstractCyEvent<CyNetworkView>
      extended by org.cytoscape.view.model.events.FitSelectedEvent
All Implemented Interfaces:
CyEvent<CyNetworkView>

public final class FitSelectedEvent
extends AbstractCyEvent<CyNetworkView>

Fit only selected graph object views to the container.

This event should be created and fired by the view being updated and not anyone else, instead call the CyNetworkView.fitSelected() method.


Cytoscape Backwards Compatibility (Final Class): This class is final and therefore can't be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.

Constructor Summary
FitSelectedEvent(CyNetworkView source)
          Fit the selected part of network view to the container.
 
Method Summary
 
Methods inherited from class org.cytoscape.event.AbstractCyEvent
getListenerClass, getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FitSelectedEvent

public FitSelectedEvent(CyNetworkView source)
Fit the selected part of network view to the container. Usually this fires event to the presentation payer for redraw.

This event should be created and fired by the view being updated and not anyone else, instead call the CyNetworkView.fitSelected() method.

Parameters:
source - target network view for fitting.

Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.