Class PreferencesUpdatedEvent

  • All Implemented Interfaces:
    CyEvent<Object>

    public final class PreferencesUpdatedEvent
    extends AbstractCyEvent<Object>
    An event indicating that system preferences have been updated.

    Module: swing-application-api

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

    <dependency>
        <groupId>org.cytoscape</groupId>
        <artifactId>swing-application-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

      • PreferencesUpdatedEvent

        public PreferencesUpdatedEvent​(Object source,
                                       Properties oldProps,
                                       Properties newProps)
        Constructor.
        Parameters:
        source - The object firing this event.
        oldProps - The old properties.
        newProps - The new properties.
    • Method Detail

      • getOldProperties

        public Properties getOldProperties()
        The old properties before they were modified.
        Returns:
        the old properties before they were modified.
      • getNewProperties

        public Properties getNewProperties()
        The new properties after being modified.
        Returns:
        the new properties after being modified.