Package org.cytoscape.work.util
Interface ListChangeListener<T>
public interface ListChangeListener<T>
Classes which wish to listen for changes in ListSelection objects
(ListSingleSelection, ListMultipleSelection) should implement this interface
and add themselves as observers (listeners) to the object.
Cytoscape Backwards Compatibility (SPI Interface): We expect that this interface will be implemented. Therefore to maintain backwards compatibility this interface will only be modified for major version updates.
Module: work-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>work-api</artifactId> </dependency>
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
listChanged
(ListSelection<T> source) default void
selectionChanged
(ListSelection<T> source)
-
Method Details
-
selectionChanged
-
listChanged
-