Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


oracle.ide.config
Class ChangeEventSource

java.lang.Object
  extended by oracle.javatools.data.HashStructureAdapter
      extended by oracle.ide.config.ChangeEventSource

Direct Known Subclasses:
AbstractToDoItem, EnvironOptions, GlobalIgnoreList, KeyStrokeOptions, ProxyOptions, UIEditorOptions, VCSCopyableMap

public class ChangeEventSource
extends HashStructureAdapter

Implements the registry of ChangeListeners. This class is a helper for objects registered as IdeSettings.registerData()


Field Summary

 

Fields inherited from class oracle.javatools.data.HashStructureAdapter
_hash

 

Constructor Summary
  ChangeEventSource()
          Creates a default ChangeEventSource.
protected ChangeEventSource(HashStructure hash)
          Creates a ChangeEventSource using the specified HashStructure for storage.

 

Method Summary
 void addChangeListener(javax.swing.event.ChangeListener l)
           
 java.lang.Object copyTo(java.lang.Object target)
          Copy support.
 void fireChangeEvent()
          Note: explicit calls to this method may result in duplicate event firings.
protected  void fireChangeEvent(java.lang.Object source)
           
 void removeChangeListener(javax.swing.event.ChangeListener l)
           
protected  void setUseObjectEquals()
          Subclasses that are fully migrated to HashStructureAdapter semantics need to stub out this method until all ChangeEventSource impls are proper HashStructureAdapters.

 

Methods inherited from class oracle.javatools.data.HashStructureAdapter
addStructureChangeListener, containsKey, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ChangeEventSource

public ChangeEventSource()
Creates a default ChangeEventSource.

ChangeEventSource

protected ChangeEventSource(HashStructure hash)
Creates a ChangeEventSource using the specified HashStructure for storage.

Method Detail

setUseObjectEquals

protected void setUseObjectEquals()
Subclasses that are fully migrated to HashStructureAdapter semantics need to stub out this method until all ChangeEventSource impls are proper HashStructureAdapters.

copyTo

public java.lang.Object copyTo(java.lang.Object target)
Description copied from class: HashStructureAdapter
Copy support. The specified target must not be null and must be the exact same type as this instance.
Overrides:
copyTo in class HashStructureAdapter

addChangeListener

public void addChangeListener(javax.swing.event.ChangeListener l)

removeChangeListener

public void removeChangeListener(javax.swing.event.ChangeListener l)

fireChangeEvent

public void fireChangeEvent()
Note: explicit calls to this method may result in duplicate event firings. Events should get sent automatically whenever a change occurs on the underlying HashStructure. Fires a stateChanged event with 'this' as the source of the event. It is by design that the current implementation does not allow to specify the source of the event from the public API.

fireChangeEvent

protected final void fireChangeEvent(java.lang.Object source)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


Copyright © 1997, 2011, Oracle. All rights reserved.