de.uni_paderborn.fujaba.fsa.listener
Class ParentNotifier

java.lang.Object
  extended byde.uni_paderborn.fujaba.fsa.listener.ParentNotifier
All Implemented Interfaces:
java.util.EventListener, java.beans.PropertyChangeListener

public class ParentNotifier
extends java.lang.Object
implements java.beans.PropertyChangeListener

Notifier for Parent changes in FSA hierarchy

Notifies the listeners whenever changes in the Swing-component hierarchy or the association to their fsa components result in a change of the parent of the watched fsa component

Version:
$Revision: 1.16 $
Author:
$Author: lowende $

Constructor Summary
ParentNotifier(FSAObject root)
          Constructor for class ParentNotifier
 
Method Summary
 void addListener(ParentListener l)
          Access method for an one to n association.
protected  void fireParentChanged(FSAObject source, FSAContainer oldParent, FSAContainer newParent)
          No comment provided by developer, please add a comment to improve documentation.
 FSAObject getRoot()
          Get the root attribute of the ParentNotifier object
 void propertyChange(java.beans.PropertyChangeEvent evt)
          No comment provided by developer, please add a comment to improve documentation.
 void removeListener(ParentListener l)
          No comment provided by developer, please add a comment to improve documentation.
 void removeYou()
          No comment provided by developer, please add a comment to improve documentation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParentNotifier

public ParentNotifier(FSAObject root)
Constructor for class ParentNotifier

Parameters:
root - No description provided
Method Detail

getRoot

public FSAObject getRoot()
Get the root attribute of the ParentNotifier object

Returns:
The root value

addListener

public void addListener(ParentListener l)
Access method for an one to n association.

Parameters:
l - The object added.

removeListener

public void removeListener(ParentListener l)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
l - No description provided

fireParentChanged

protected void fireParentChanged(FSAObject source,
                                 FSAContainer oldParent,
                                 FSAContainer newParent)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
source - No description provided
oldParent - No description provided
newParent - No description provided

removeYou

public void removeYou()
No comment provided by developer, please add a comment to improve documentation.


propertyChange

public void propertyChange(java.beans.PropertyChangeEvent evt)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
propertyChange in interface java.beans.PropertyChangeListener
Parameters:
evt - No description provided