Class GroupEdgesAddedEvent

  • All Implemented Interfaces:
    CyEvent

    public final class GroupEdgesAddedEvent
    extends AbstractCyEvent
    This event signals that edges have been added to the network.

    Module: group-api

    To use this in your app, include the following dependency in your POM:

    <dependency>
        <groupId>org.cytoscape</groupId>
        <artifactId>group-api</artifactId>
    </dependency>

    Cytoscape Backwards Compatibility (Final Class): This class is final and therefore can't be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.
    • Constructor Detail

      • GroupEdgesAddedEvent

        public GroupEdgesAddedEvent​(CyGroup source,
                                    CyEdge edge)
        Constructs event.
        Parameters:
        source - the CyGroup that is changing.
        edge - A single edge added.
      • GroupEdgesAddedEvent

        public GroupEdgesAddedEvent​(CyGroup source,
                                    List<CyEdge> edges)
        Constructs event.
        Parameters:
        source - the CyGroup that is changing.
        edges - A list of edges added. May be null.
    • Method Detail

      • getEdges

        public List<CyEdge> getEdges()
        Returns the list of edges associated with this event. The list may be empty, but will not be null.
        Returns:
        the list of edges associated with this event.