Class PreferencesUpdatedEvent
java.lang.Object
org.cytoscape.event.AbstractCyEvent<Object>
org.cytoscape.application.swing.events.PreferencesUpdatedEvent
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 Summary
ConstructorDescriptionPreferencesUpdatedEvent(Object source, Properties oldProps, Properties newProps)
Constructor. -
Method Summary
Modifier and TypeMethodDescriptionThe new properties after being modified.The old properties before they were modified.Methods inherited from class org.cytoscape.event.AbstractCyEvent
getListenerClass, getSource
-
Constructor Details
-
PreferencesUpdatedEvent
Constructor.- Parameters:
source
- The object firing this event.oldProps
- The old properties.newProps
- The new properties.
-
-
Method Details
-
getOldProperties
The old properties before they were modified.- Returns:
- the old properties before they were modified.
-
getNewProperties
The new properties after being modified.- Returns:
- the new properties after being modified.
-