Cytoscape 3.0.1 API

org.cytoscape.view.vizmap.gui
Interface DefaultViewEditor


public interface DefaultViewEditor

Default View Editor is the component to display available visual properties and its default view for given Visual Style. This component will be provided as a 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
 Component getDefaultView(VisualStyle vs)
          For a given visual style name, return a component containing a graphical view of the specified visual style.
 void showEditor(Component parent)
          Show the default view editor in the specified parent component.
 

Method Detail

getDefaultView

Component getDefaultView(VisualStyle vs)
For a given visual style name, return a component containing a graphical view of the specified visual style.

Parameters:
vs - The VisualStyle to get the default view of.
Returns:
a component containing a graphical view of the specified visual style.

showEditor

void showEditor(Component parent)
Show the default view editor in the specified parent component.

Parameters:
parent - The component in which the default view should be shown.

Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.