Class PreferencesUpdatedEvent

java.lang.Object
org.cytoscape.event.AbstractCyEvent<Object>
org.cytoscape.application.swing.events.PreferencesUpdatedEvent
All Implemented Interfaces:
CyEvent<Object>

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

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.

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>
  • Constructor Details

    • 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 Details

    • 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.