Cytoscape 3.0.0-beta1 API

org.cytoscape.view.vizmap.gui
Interface SelectedVisualStyleManager


public interface SelectedVisualStyleManager

Manages current (selected) Visual Style. Selected style will be set by SelectedVisualStyleSwitchedListener.


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 getCurrentVisualStyle()
          Returns currently selected Visual Style.
 VisualStyle getDefaultStyle()
          Returns Default Visual Style.
 

Method Detail

getCurrentVisualStyle

VisualStyle getCurrentVisualStyle()
Returns currently selected Visual Style.

Returns:
Selected Visual Style.

getDefaultStyle

VisualStyle getDefaultStyle()
Returns Default Visual Style. Manager should always return actual (non-null) Visual Style.

Returns:
default Visual Style. This cannot be null.

Cytoscape 3.0.0-beta1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.