public class DisGenetStyleManager extends Object implements org.cytoscape.session.events.SessionLoadedListener
Modifier and Type | Method and Description |
---|---|
static DisGenetStyleManager |
getInstance(org.cytoscape.task.read.LoadVizmapFileTaskFactory loadVizmapFileTaskFactory,
org.cytoscape.view.vizmap.VisualMappingManager vmm,
org.cytoscape.view.vizmap.VisualStyleFactory vsf) |
static org.cytoscape.view.vizmap.VisualStyle |
getVisualStyleByName(org.cytoscape.view.vizmap.VisualMappingManager vmm,
String styleName)
Get the visual style by name.
|
void |
handleEvent(org.cytoscape.session.events.SessionLoadedEvent e) |
void |
loadStyles()
Load the visual styles of the app.
|
public static DisGenetStyleManager getInstance(org.cytoscape.task.read.LoadVizmapFileTaskFactory loadVizmapFileTaskFactory, org.cytoscape.view.vizmap.VisualMappingManager vmm, org.cytoscape.view.vizmap.VisualStyleFactory vsf)
public void loadStyles()
public static org.cytoscape.view.vizmap.VisualStyle getVisualStyleByName(org.cytoscape.view.vizmap.VisualMappingManager vmm, String styleName)
vmm
- the visualmappingmanager of the Cytoscape session.styleName
- the name of the style to load.public void handleEvent(org.cytoscape.session.events.SessionLoadedEvent e)
handleEvent
in interface org.cytoscape.session.events.SessionLoadedListener
Copyright © 2019. All rights reserved.