public class IDAREVisualStyle extends Object implements org.cytoscape.session.events.SessionLoadedListener, GraphicsChangedListener
IDAREProperties) for better visibility of the networks.| Modifier and Type | Field and Description | 
|---|---|
static String | 
IDARE_STYLE_TITLE  | 
| Constructor and Description | 
|---|
IDAREVisualStyle(org.cytoscape.view.vizmap.VisualStyleFactory visualStyleFactoryServiceRef,
                org.cytoscape.view.vizmap.VisualMappingManager vmmServiceRef,
                org.cytoscape.view.vizmap.VisualMappingFunctionFactory vmfFactoryD,
                org.cytoscape.view.vizmap.VisualMappingFunctionFactory vmfFactoryP,
                org.cytoscape.event.CyEventHelper eventHelper,
                ImageStorage imf,
                org.cytoscape.view.model.CyNetworkViewManager cyNetViewMgr,
                NodeManager idm,
                ActiveNodeManager anm)
Create a new Visual Style and Activator. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
applyStyleToNetwork(org.cytoscape.view.model.CyNetworkView view)
Apply the contained visualstyle to a given Networkview and update that view. 
 | 
void | 
applyToAll()
Check whether this style 
 | 
void | 
handleEvent(org.cytoscape.session.events.SessionLoadedEvent arg0)  | 
void | 
imageUpdated(GraphicsChangedEvent e)
Update according to the updated images provided in this event. 
 | 
void | 
reset()
Reset the Visual Style to use its default properties 
 | 
void | 
setupVisualStyle()
Setup the visual Style 
 | 
void | 
shutdown()
Remove the Visualstyle from Cytoscape. 
 | 
void | 
updateRelevantViews()
Update all views, that are associated with the IDARE visualstyle 
 | 
public static String IDARE_STYLE_TITLE
public IDAREVisualStyle(org.cytoscape.view.vizmap.VisualStyleFactory visualStyleFactoryServiceRef,
                        org.cytoscape.view.vizmap.VisualMappingManager vmmServiceRef,
                        org.cytoscape.view.vizmap.VisualMappingFunctionFactory vmfFactoryD,
                        org.cytoscape.view.vizmap.VisualMappingFunctionFactory vmfFactoryP,
                        org.cytoscape.event.CyEventHelper eventHelper,
                        ImageStorage imf,
                        org.cytoscape.view.model.CyNetworkViewManager cyNetViewMgr,
                        NodeManager idm,
                        ActiveNodeManager anm)
visualStyleFactoryServiceRef - - Service reference for visual stylevmmServiceRef - - Visual Mapping ManagervmfFactoryD - - Visualmapping function factory for Discrete mappingsvmfFactoryP - - Visualmapping function factory for passthrough mappingseventHelper - - Cytoscape Event helperimf - - The IDARE specific mapping function for images.cyNetViewMgr - - A Cytoscape Network View Manageridm - - The Nodemanager of IDAREanm - - The ActiveNodeManager of IDAREpublic void shutdown()
public void reset()
public void setupVisualStyle()
public void applyStyleToNetwork(org.cytoscape.view.model.CyNetworkView view)
view - the view to apply the style topublic void applyToAll()
public void handleEvent(org.cytoscape.session.events.SessionLoadedEvent arg0)
handleEvent in interface org.cytoscape.session.events.SessionLoadedListenerpublic void updateRelevantViews()
public void imageUpdated(GraphicsChangedEvent e)
GraphicsChangedListenerimageUpdated in interface GraphicsChangedListenere - the GraphicsChangedEvent to processCopyright © 2018. All rights reserved.