@Test public void testEvents() { AddedNodeViewsEvent ev1 = new AddedNodeViewsEvent(networkView, views); for ( View<CyNode> nv : ev1.getNodeViews()) assertTrue(views.contains(nv)); assertEquals(ev1.getSource(),networkView); }
public Collection<View<CyNode>> getNodeViews() { return getPayloadCollection(); }
AddedNodeViewsEvent extends AbstractCyPayloadEvent<CyNetworkView,View<CyNode>> { public Collection<View<CyNode>> getNodeViews() { return getPayloadCollection(); } }
AddedNodeViewsEvent extends AbstractCyPayloadEvent<CyNetworkView,View<CyNode>> { public Collection<View<CyNode>> getNodeViews() { return getPayloadCollection(); } AddedNodeViewsEvent(final CyNetworkView source, final Collection<View<CyNode>> nodeViews); }
AddedNodeViewsEvent extends AbstractCyPayloadEvent<CyNetworkView,View<CyNode>> { public Collection<View<CyNode>> getNodeViews() { return getPayloadCollection(); } AddedNodeViewsEvent(final CyNetworkView source, final Collection<View<CyNode>> nodeViews); Collection<View<CyNode>> getNodeViews(); }
AddedNodeViewsEvent extends AbstractCyPayloadEvent<CyNetworkView,View<CyNode>> { public Collection<View<CyNode>> getNodeViews() { return getPayloadCollection(); } AddedNodeViewsEvent(final CyNetworkView source, final Collection<View<CyNode>> nodeViews); Collection<View<CyNode>> getNodeViews();  }