Hi,
In Cy3 is there any new way for capture the node selected event? I know in Cy2 one can use the GraphViewChangeEvent in giny but wonder if there is any new method in Cy3 for this types of events.
Thanks,
Dazhi
if (e.getSource() != tableICareAbout)
return;
if (!e.containsColumn(CyNetwork.SELECTED)
return;
for (RowSetRecord record : e.getColumnRecords(CyNetwork.SELECTED)) {
// do something for the nodes you care about!
}
--
You received this message because you are subscribed to the Google Groups "cytoscape-discuss" group.
To post to this group, send email to cytoscap...@googlegroups.com.
To unsubscribe from this group, send email to cytoscape-disc...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cytoscape-discuss?hl=en.
Thanks for the answer. One more question: how do I register a RowsSetListener to listen to the RowsSetEvent? I looked around in the Cy3 API but couldn’t find an “addRowsSetListener” method in any class.