public class LegendUpdater extends Object implements org.cytoscape.model.events.RowsSetListener
| Constructor and Description |
|---|
LegendUpdater(IDARELegend target,
NodeManager nm,
org.cytoscape.application.CyApplicationManager appmgr,
org.cytoscape.view.vizmap.VisualMappingManager vmm,
StyleManager mgr)
Default contstructor using the target
IDARELegend, the NodeManager to check whether there are layouts for the node,
The Style Manager to determine, whether a Style is using ImageNodes and Cytoscape managers to deterine the properties of visual styles and nodes. |
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Activate the legend updating method
|
void |
disable()
Inactivate the updating method
|
void |
handleEvent(org.cytoscape.model.events.RowsSetEvent e) |
void |
updateLegend(String NodeID) |
public LegendUpdater(IDARELegend target, NodeManager nm, org.cytoscape.application.CyApplicationManager appmgr, org.cytoscape.view.vizmap.VisualMappingManager vmm, StyleManager mgr)
IDARELegend, the NodeManager to check whether there are layouts for the node,
The Style Manager to determine, whether a Style is using ImageNodes and Cytoscape managers to deterine the properties of visual styles and nodes.target - - The IDARELegend which this updated updates.nm - - the nodemanager where the updater checks for layouts.appmgr - - the Application MAnager to determine the current viewvmm - - the VisualStyle Manager to determine the Style of the current viewmgr - - the StyleManager that handles the image node to Style settings.public void activate()
public void disable()
public void handleEvent(org.cytoscape.model.events.RowsSetEvent e)
handleEvent in interface org.cytoscape.model.events.RowsSetListenerpublic void updateLegend(String NodeID)
Copyright © 2018. All rights reserved.