Cytoscape 3.0.1 API

org.cytoscape.view.vizmap
Interface VisualStyleFactory


public interface VisualStyleFactory

Factory for VisualStyles. This object will be provided as an OSGi service.


Cytoscape Backwards Compatibility (API Interface): We expect that this interface will be used but not implemented by developers using this interface. As such, we reserve the right to add methods to the interface as part of minor version upgrades. We will not remove methods for any changes other than major version upgrades.

Method Summary
 VisualStyle createVisualStyle(String title)
          Create a new VisualStyle.
 VisualStyle createVisualStyle(VisualStyle original)
          Create a copy of given VisualStyle.
 

Method Detail

createVisualStyle

VisualStyle createVisualStyle(String title)
Create a new VisualStyle.

Parameters:
title - Title of the visual style. This can be null, but in that case, default title will be used. Note: This is NOT an identifier of this object, just a title.
Returns:
New VisualStyle object.

createVisualStyle

VisualStyle createVisualStyle(VisualStyle original)
Create a copy of given VisualStyle.

Parameters:
original - VisualStyle to be copied from.
Returns:
New VisualStyle copied from the original.

Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.