public class DelayedVizProp extends Object
| Constructor and Description |
|---|
DelayedVizProp(org.cytoscape.model.CyIdentifiable netObj,
org.cytoscape.view.model.VisualProperty<?> prop,
Object value,
boolean isLocked)
Specify the desired visual property value for a node or edge.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
applyAll(org.cytoscape.view.model.CyNetworkView netView,
Iterable<DelayedVizProp> delayedProps)
Assign the visual properties stored in delayedProps to the given CyNetworkView.
|
static void |
testAll(org.cytoscape.view.model.CyNetworkView netView,
Iterable<DelayedVizProp> delayedProps)
Test whether the DelayedVizProps got properly applied.
|
public DelayedVizProp(org.cytoscape.model.CyIdentifiable netObj,
org.cytoscape.view.model.VisualProperty<?> prop,
Object value,
boolean isLocked)
netObj - A CyNode or CyEdgeprop - The visual property whose value you want to assignvalue - The visual property value you want to assignisLocked - true if you want the value to be set as a bypass value, false if you want the value to persist until a visual style is applied to the network viewpublic static void applyAll(org.cytoscape.view.model.CyNetworkView netView,
Iterable<DelayedVizProp> delayedProps)
netView - The CyNetworkView that contains the nodes and edges for which you want to assign the visual propertiesdelayedProps - A series of DelayedVizProps that specifies the visual property values of nodes and edgespublic static void testAll(org.cytoscape.view.model.CyNetworkView netView,
Iterable<DelayedVizProp> delayedProps)
netView - - The CyNetworkView the DelayedVizProp got assigned to.delayedProps - - The DelayedVizProp iterable which needs to be checked.Copyright © 2018. All rights reserved.