public class DisGenetStyleManager extends Object implements org.cytoscape.session.events.SessionLoadedListener
Copyright (C) 2024 MEDBIOINFORMATICS SOLUTIONS SL
This file is part of the DISGENET Cytoscape App. The DISGENET Cytoscape App is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
The DISGENET Cytoscape App is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with the DISGENET Cytoscape App. If not, see http://www.gnu.org/licenses/.
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 © 2024. All rights reserved.