Cytoscape 3.0.1 API

org.cytoscape.application.swing.events
Class PreferencesUpdatedEvent

java.lang.Object
  extended by org.cytoscape.event.AbstractCyEvent<Object>
      extended by 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.

Constructor Summary
PreferencesUpdatedEvent(Object source, Properties oldProps, Properties newProps)
          Constructor.
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.

Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.