Class PreferencesUpdatedEvent
- java.lang.Object
-
- org.cytoscape.event.AbstractCyEvent<Object>
-
- org.cytoscape.application.swing.events.PreferencesUpdatedEvent
-
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 Summary
Constructors Constructor Description PreferencesUpdatedEvent(Object source, Properties oldProps, Properties newProps)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Properties
getNewProperties()
The new properties after being modified.Properties
getOldProperties()
The old properties before they were modified.-
Methods inherited from class org.cytoscape.event.AbstractCyEvent
getListenerClass, getSource
-
-
-
-
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.
-
-