Uses of Interface
org.cytoscape.view.model.CyNetworkView
Package
Description
This package provides Cytoscape version number, application-wide setting,
basic access to current network, selected networks, views and rendering engines.
This package provides application events/listeners, including
Cytoscape startup/shutdown, setCurrentNetwork/setCurrentNetworkView/
setSelectedNetwork.
This package defines the various interfaces, abstract classes, and enums
that represent the Cytoscape Swing Application API.
Interface to support execution of tasks as commands, including
the ability to get a list of namespaces, commands, and arguments,
and then execute those commands with a set of arguments.
Handle importing Cytoscape data (network, attributes, session, properties, etc) from files/URLs.
This package provides factory interfaces to be used by anyone wishing to provide
export or writing capabilities to the rest of Cytoscape.
This package provides a mechanism for executing remote jobs from within Cytoscape.
This package contains the interfaces and classes necessary to capturing,
storing, and retrieving the state of a Cytoscape session.
This package provides base classes for common task factory types as well as their associated task types found in Cytoscape.
This package provides a variety of task factory interfaces for creating
new instances of network and other objects.
This package includes a set of task factory interfaces showing and hiding
nodes and edges within network views.
This package contains a set of task factory interfaces used for
exporting or writing a variety of Cytoscape objects to files.
This package provides access to the available layout algorithms, as well as provides abstract layout
classes and layout information containers for the convenience of implementing other layout algorithms.
Module for View Models and Visual Properties.
Definitions for View-Model related events and their listeners.
API set for rendering engines (visualizers).
This package provides support for graphical annotations associated with a Cytoscape
CyNetworkView
.This package provides an API for augmenting a
RenderingEngine
s
node rendering with custom graphics.Interfaces for VisualPropertyValues -- ArrowShape, LineType and NodeShape
Visual Mapping basic API module.
Events for Visual Mappings.
-
Uses of CyNetworkView in org.cytoscape.application
Modifier and TypeMethodDescriptionCyApplicationManager.getCurrentNetworkView()
Returns the current network view.Modifier and TypeMethodDescriptionCyApplicationManager.getSelectedNetworkViews()
Returns the list of selected network views.Modifier and TypeMethodDescriptionvoid
CyApplicationManager.setCurrentNetworkView(CyNetworkView netView)
Sets the current network view to the specified network view.Modifier and TypeMethodDescriptionvoid
CyApplicationManager.setSelectedNetworkViews(List<CyNetworkView> views)
Sets the specified network views as selected. -
Uses of CyNetworkView in org.cytoscape.application.events
Modifier and TypeMethodDescriptionSetCurrentNetworkViewEvent.getNetworkView()
Returns the network view associated with this event.Modifier and TypeMethodDescriptionSetSelectedNetworkViewsEvent.getNetworkViews()
Returns the list of network views that have been selected.ModifierConstructorDescriptionSetCurrentNetworkViewEvent(CyApplicationManager source, CyNetworkView view)
Constructor.ModifierConstructorDescriptionSetSelectedNetworkViewsEvent(CyApplicationManager source, List<CyNetworkView> views)
Constructor. -
Uses of CyNetworkView in org.cytoscape.application.swing
Modifier and TypeMethodDescriptionCyEdgeViewContextMenuFactory.createMenuItem(CyNetworkView netView, View<CyEdge> edgeView)
This method should return a CyMenuItem to be added to the context menu of the specified edge view.CyNetworkViewContextMenuFactory.createMenuItem(CyNetworkView netView)
This method should return a CyMenuItem to be added to the context menu of the specified network view.CyNodeViewContextMenuFactory.createMenuItem(CyNetworkView netView, View<CyNode> nodeView)
This method should return a CyMenuItem to be added to the context menu of the specified node view.CyNetworkViewDesktopMgr.getBounds(CyNetworkView view)
Deprecated.This method has been deprecated in version 3.4.void
CyNetworkViewDesktopMgr.setBounds(CyNetworkView view, Rectangle bounds)
Deprecated.This method has been deprecated in version 3.4 and does not do anything anymore. -
Uses of CyNetworkView in org.cytoscape.command
Modifier and TypeMethodDescriptionStringToModel.getNetworkView(String strNetView)
Convert a string request for a network view into aCyNetworkView
. -
Uses of CyNetworkView in org.cytoscape.io.read
Modifier and TypeMethodDescriptionCyNetworkReader.buildCyNetworkView(CyNetwork network)
A method to build aCyNetworkView
from one of the networks just read. -
Uses of CyNetworkView in org.cytoscape.io.write
Modifier and TypeMethodDescriptionCyNetworkViewWriterFactory.createWriter(OutputStream os, CyNetworkView view)
Creates a single Task that will write the specified network to the specified OutputStream.CyNetworkViewWriterManager.getWriter(CyNetworkView view, CyFileFilter filter, File file)
Returns theCyWriter
Task that will attempt to write the specified view to the specified file of the specified file type.CyNetworkViewWriterManager.getWriter(CyNetworkView view, CyFileFilter filter, OutputStream os)
Returns theCyWriter
Task that will attempt to write the specified view to the specified output steam of the specified file type. -
Uses of CyNetworkView in org.cytoscape.jobs
Modifier and TypeMethodDescriptiondefault CyNetworkView
CyJobDataService.getViewData(CyJobData data, String key)
Optional method to extract data for aCyNetworkView
from aCyJobData
object.Modifier and TypeMethodDescriptiondefault CyJobData
CyJobDataService.addData(CyJobData data, String key, CyNetworkView networkView, List<? extends CyIdentifiable> nodesAndEdges, List<VisualProperty<?>> properties)
An optional method to add network view data to aCyJobData
item. -
Uses of CyNetworkView in org.cytoscape.session
Modifier and TypeMethodDescriptionCySession.getNetworkViews()
Returns a set of all CyNetworkView objects contained in this Session.CySession.getViewVisualStyleMap()
Returns a map of CyNetworkViews to the names of the VisualStyle applied to that network view in this session.Modifier and TypeMethodDescriptionCySession.Builder.networkViews(Set<CyNetworkView> views)
Returns an instance of Builder that has at least been configured with the specified network views.CySession.Builder.viewVisualStyleMap(Map<CyNetworkView,String> vs)
Returns an instance of Builder that has at least been configured with the specified network view visual style name map. -
Uses of CyNetworkView in org.cytoscape.task
Modifier and TypeFieldDescriptionprotected CyNetworkView
AbstractEdgeViewTask.netView
The network view associated withAbstractEdgeViewTask.edgeView
.protected CyNetworkView
AbstractNodeViewTask.netView
The network view that descendants of this class will operate on.protected CyNetworkView
AbstractNetworkViewTask.view
The network view that descendants of this class will operate on.Modifier and TypeFieldDescriptionprotected Collection<CyNetworkView>
AbstractNetworkViewCollectionTask.networkViews
A collection of network views to operate on for any descendants of this class.Modifier and TypeMethodDescriptionEdgeViewTaskFactory.createTaskIterator(View<CyEdge> edgeView, CyNetworkView networkView)
Creates a new TaskIterator using the given edge view and network view.NetworkViewLocationTaskFactory.createTaskIterator(CyNetworkView networkView, Point2D javaPt, Point2D xformPt)
Creates a task iterator using the specified network view and points.NetworkViewTaskFactory.createTaskIterator(CyNetworkView networkView)
Creates a new TaskIterator using the givenCyNetworkView
NodeViewTaskFactory.createTaskIterator(View<CyNode> nodeView, CyNetworkView networkView)
Provisions this factory with the node view and its associated network view, both of which will be passed into any task that will be created by this factory.default boolean
EdgeViewTaskFactory.isOn(View<CyEdge> edgeView, CyNetworkView networkView)
If this task factory implements theTogglable
interface then this method determines if the button or check box is on or off.default boolean
NetworkViewLocationTaskFactory.isOn(CyNetworkView networkView, Point2D javaPt, Point2D xformPt)
If this task factory implements theTogglable
interface then this method determines if the button or check box is on or off.default boolean
NetworkViewTaskFactory.isOn(CyNetworkView networkView)
If this task factory implements theTogglable
interface then this method determines if the button or check box is on or off.default boolean
NodeViewTaskFactory.isOn(View<CyNode> nodeView, CyNetworkView networkView)
If this task factory implements theTogglable
interface then this method determines if the button or check box is on or off.boolean
AbstractEdgeViewTaskFactory.isReady(View<CyEdge> edgeView, CyNetworkView networkView)
Returns true if the supplied edge and network views are not null.boolean
AbstractNetworkViewLocationTaskFactory.isReady(CyNetworkView networkView, Point2D javaPt, Point2D xformPt)
Returns true if the supplied view and coordinates are not null.boolean
AbstractNetworkViewTaskFactory.isReady(CyNetworkView networkView)
Returns true if the supplied network view is not null.boolean
AbstractNodeViewTaskFactory.isReady(View<CyNode> nodeView, CyNetworkView networkView)
Returns true of the supplied network and node views are not null.boolean
EdgeViewTaskFactory.isReady(View<CyEdge> edgeView, CyNetworkView networkView)
Returns true if this task factory is ready to produce a TaskIterator.boolean
NetworkViewLocationTaskFactory.isReady(CyNetworkView networkView, Point2D javaPt, Point2D xformPt)
Returns true if this task factory is ready to produce a TaskIterator.boolean
NetworkViewTaskFactory.isReady(CyNetworkView networkView)
Returns true if this task factory is ready to produce a TaskIterator.boolean
NodeViewTaskFactory.isReady(View<CyNode> nodeView, CyNetworkView networkView)
Returns true if the node view and network view are in a state that is ready to be processed by the generated tasks and false otherwise.Modifier and TypeMethodDescriptionNetworkViewCollectionTaskFactory.createTaskIterator(Collection<CyNetworkView> networkViews)
Provisions this factory with the collection of network views that will be passed into any task created by it.default boolean
NetworkViewCollectionTaskFactory.isOn(Collection<CyNetworkView> networkViews)
If this task factory implements theTogglable
interface then this method determines if the button or check box is on or off.boolean
AbstractNetworkViewCollectionTaskFactory.isReady(Collection<CyNetworkView> networkViews)
Returns true if the supplied collection is not null.boolean
NetworkViewCollectionTaskFactory.isReady(Collection<CyNetworkView> networkViews)
Returns true if this task factory is ready to produce a TaskIterator.ModifierConstructorDescriptionAbstractEdgeViewTask(View<CyEdge> edgeView, CyNetworkView netView)
Base constructor for all tasks that need an edge view to operate on.A base class for tasks that need to operate on a network view.AbstractNodeViewTask(View<CyNode> nodeView, CyNetworkView netView)
Base class constructor for all tasks that need to operate on a node view and possibly its associated network view.ModifierConstructorDescriptionAbstractNetworkViewCollectionTask(Collection<CyNetworkView> networkViews)
Base class for any tasks that need to operate on a collection of network views. -
Uses of CyNetworkView in org.cytoscape.task.create
Modifier and TypeMethodDescriptionNewEmptyNetworkViewFactory.createNewEmptyNetworkView()
Returns a new, empty CyNetworkView. -
Uses of CyNetworkView in org.cytoscape.task.hide
Modifier and TypeMethodDescriptionHideTaskFactory.createTaskIterator(CyNetworkView view, Collection<CyNode> nodes, Collection<CyEdge> edges)
Creates a task iterator that will hide the given nodes and edges.UnHideTaskFactory.createTaskIterator(CyNetworkView view, Collection<CyNode> nodes, Collection<CyEdge> edges)
Creates a task iterator that will show the given nodes and edges. -
Uses of CyNetworkView in org.cytoscape.task.write
Modifier and TypeMethodDescriptionExportNetworkViewTaskFactory.createTaskIterator(CyNetworkView view, File file)
Creates the task iterator for exporting network views. -
Uses of CyNetworkView in org.cytoscape.view.layout
Modifier and TypeFieldDescriptionprotected CyNetworkView
AbstractLayoutTask.networkView
The network view that the layout will be applied to.Modifier and TypeMethodDescriptionCyLayoutAlgorithm.createTaskIterator(CyNetworkView networkView, Object layoutContext, Set<View<CyNode>> nodesToLayOut, String layoutAttribute)
Creates a task iterator containing the layout tasks.CyLayoutAlgorithmManager.getLayoutAttribute(CyLayoutAlgorithm layout, CyNetworkView view)
Returns the attribute name that has been associated with the layout, or the empty string if there is no valid attribute associated to the layout for the given view.boolean
AbstractLayoutAlgorithm.isReady(CyNetworkView view, Object tunableContext, Set<View<CyNode>> nodesToLayout, String attributeName)
boolean
CyLayoutAlgorithm.isReady(CyNetworkView networkView, Object layoutContext, Set<View<CyNode>> nodesToLayOut, String layoutAttribute)
Returns true if the task factory is ready to produce a task iterator.static List<LayoutPartition>
PartitionUtil.partition(CyNetworkView networkView, boolean selectedOnly, EdgeWeighter edgeWeighter)
Partition the graph -- this builds the LayoutEdge and LayoutNode arrays as a byproduct.static List<LayoutPartition>
PartitionUtil.partition(CyNetworkView networkView, Collection<CyNode> nodeSet, EdgeWeighter edgeWeighter)
Partition the graph -- this builds the LayoutEdge and LayoutNode arrays as a byproduct.ModifierConstructorDescriptionAbstractLayoutTask(String displayName, CyNetworkView networkView, Set<View<CyNode>> nodesToLayOut, String layoutAttribute, UndoSupport undo)
Constructor.AbstractParallelPartitionLayoutTask(String displayName, boolean singlePartition, CyNetworkView networkView, Set<View<CyNode>> nodesToLayOut, String layoutAttribute, UndoSupport undo)
Creates a new AbstractPartitionLayoutTask object.AbstractPartitionLayoutTask(String displayName, boolean singlePartition, CyNetworkView networkView, Set<View<CyNode>> nodesToLayOut, String layoutAttribute, UndoSupport undo)
Creates a new AbstractPartitionLayoutTask object.LayoutEdit(String name, CyNetworkView view)
Constructor.LayoutPartition(CyNetworkView networkView, Collection<View<CyNode>> nodeSet, EdgeWeighter edgeWeighter)
LayoutPartition: use this constructor to create a LayoutPartition that includes the entire network. -
Uses of CyNetworkView in org.cytoscape.view.model
Modifier and TypeInterfaceDescriptioninterface
An immutable snapshot of aCyNetworkView
created using thecreateSnapshot()
method.interface
A CyNetwork with no corresponding view.Modifier and TypeMethodDescriptionCyNetworkViewFactory.createNetworkView(CyNetwork network)
Create aCyNetworkView
from aCyNetwork
object.CyNetworkViewSnapshot.getMutableNetworkView()
Returns the mutable CyNetworkView that was used to create this snapshot.Modifier and TypeMethodDescriptionCyNetworkViewManager.getNetworkViews(CyNetwork network)
Returns a collection of network views corresponding to the specified network, if found.CyNetworkViewManager.getNetworkViewSet()
Provides the set of network views that are currently known to the network manager.Modifier and TypeMethodDescriptionvoid
CyNetworkViewManager.addNetworkView(CyNetworkView view)
Registers a network view with the network view manager and sets the new view as current.void
CyNetworkViewManager.addNetworkView(CyNetworkView view, boolean setCurrent)
Registers a network view with the network view manager.void
CyNetworkViewManager.destroyNetworkView(CyNetworkView view)
Destroys a network view. -
Uses of CyNetworkView in org.cytoscape.view.model.events
ModifierConstructorDescriptionAboutToRemoveEdgeViewsEvent(CyNetworkView source, Collection<View<CyEdge>> payload)
Creates the event for about to be removed edge views.AboutToRemoveNodeViewsEvent(CyNetworkView source, Collection<View<CyNode>> payload)
Creates the event for about to be removed node views.AddedEdgeViewsEvent(CyNetworkView source, Collection<View<CyEdge>> edgeViews)
Creates the event for new edge views.AddedNodeViewsEvent(CyNetworkView source, Collection<View<CyNode>> nodeViews)
Creates the event for a new node view.FitContentEvent(CyNetworkView source)
Fit the size of network view to the current container.FitSelectedEvent(CyNetworkView source)
Fit the selected part of network view to the container.NetworkViewAboutToBeDestroyedEvent(CyNetworkViewManager source, CyNetworkView view)
Creates the event for network views that are about to be destroyed.NetworkViewAddedEvent(CyNetworkViewManager source, CyNetworkView view)
Creates the event for network views that are added.Event for updating (redrawing) presentation.ViewChangedEvent(CyNetworkView source, Collection<ViewChangeRecord<T>> payload)
-
Uses of CyNetworkView in org.cytoscape.view.presentation
Modifier and TypeMethodDescriptiondefault Image
NetworkImageFactory.createImage(CyNetworkView networkView, int width, int height)
Creates a network image thumbnail with the given width and height.NetworkImageFactory.createImage(CyNetworkView networkView, Collection<Annotation> annotations, Map<String,Object> properties)
Creates a network image thumbnail with the given properties. -
Uses of CyNetworkView in org.cytoscape.view.presentation.annotations
Modifier and TypeMethodDescriptionAnnotation.getNetworkView()
Return the view that this Annotation is forModifier and TypeMethodDescriptionAnnotationFactory.createAnnotation(Class<? extends T> type, CyNetworkView view, Map<String,String> argMap)
Create an annotation.AnnotationManager.getAnnotations(CyNetworkView networkView)
Retrieve the list of annotations for a specific network view.AnnotationManager.getSelectedAnnotations(CyNetworkView networkView)
Retrieve the list of selected annotations for a specific network view. -
Uses of CyNetworkView in org.cytoscape.view.presentation.customgraphics
Modifier and TypeMethodDescriptionvoid
Cy2DGraphicLayer.draw(Graphics2D g, Shape shape, CyNetworkView networkView, View<? extends CyIdentifiable> view)
This method is called by Cytoscape when aCyNetworkView
is being updated in order to let the custom graphics draw onto itsGraphics2D
object.CyCustomGraphics.getLayers(CyNetworkView networkView, View<? extends CyIdentifiable> grView)
Get layers that belong to this object. -
Uses of CyNetworkView in org.cytoscape.view.presentation.property.values
Modifier and TypeMethodDescriptionHandle.calculateHandleLocation(CyNetworkView netView, View<CyEdge> edgeView)
Calculate absolute position of this handle for the given edge view.HandleFactory.createHandle(CyNetworkView graphView, View<CyEdge> view, double x, double y)
Creates a new instance of the Handle.void
Handle.defineHandle(CyNetworkView netView, View<CyEdge> edgeView, double x, double y)
Define this handle. -
Uses of CyNetworkView in org.cytoscape.view.vizmap
Modifier and TypeMethodDescriptionvoid
VisualStyle.apply(CyNetworkView networkView)
Apply Visual Style to the entire network view.VisualMappingManager.getVisualStyle(CyNetworkView networkViewModel)
Returns the VisualStyle associated with the target network view model.void
VisualMappingManager.setVisualStyle(VisualStyle visualStyle, CyNetworkView networkViewModel)
Set a VisualStyle to the target network view model. -
Uses of CyNetworkView in org.cytoscape.view.vizmap.events
Modifier and TypeMethodDescriptionVisualStyleSetEvent.getNetworkView()
Get the The target network view model.ModifierConstructorDescriptionVisualStyleSetEvent(VisualMappingManager source, VisualStyle style, CyNetworkView view)
Creates the event.