de.uni_paderborn.fujaba.fsa.listener
Class AncestorNotifier

java.lang.Object
  extended byde.uni_paderborn.fujaba.fsa.listener.AncestorNotifier
All Implemented Interfaces:
java.awt.event.ComponentListener, java.util.EventListener, java.beans.PropertyChangeListener, java.io.Serializable

public class AncestorNotifier
extends java.lang.Object
implements java.awt.event.ComponentListener, java.beans.PropertyChangeListener, java.io.Serializable

Only changes to original Notifier: - ignores visibility of components - endpoint for ancestor listening can be specified

Version:
$Revision: 1.13 $
Author:
$Author: lowende $
See Also:
Serialized Form

Field Summary
static java.lang.Object KEY
          No comment provided by developer, please add a comment to improve documentation.
 
Constructor Summary
AncestorNotifier(javax.swing.JComponent root)
          Constructor for class AncestorNotifier
AncestorNotifier(javax.swing.JComponent root, java.awt.Container end)
          Constructor for class AncestorNotifier
 
Method Summary
 void addAncestorListener(javax.swing.event.AncestorListener l)
          Access method for an one to n association.
 void componentHidden(java.awt.event.ComponentEvent e)
          No comment provided by developer, please add a comment to improve documentation.
 void componentMoved(java.awt.event.ComponentEvent e)
          No comment provided by developer, please add a comment to improve documentation.
 void componentResized(java.awt.event.ComponentEvent e)
          No comment provided by developer, please add a comment to improve documentation.
 void componentShown(java.awt.event.ComponentEvent e)
          No comment provided by developer, please add a comment to improve documentation.
protected  void fireAncestorAdded(javax.swing.JComponent source, int id, java.awt.Container ancestor, java.awt.Container ancestorParent)
          No comment provided by developer, please add a comment to improve documentation.
protected  void fireAncestorMoved(javax.swing.JComponent source, int id, java.awt.Container ancestor, java.awt.Container ancestorParent)
          No comment provided by developer, please add a comment to improve documentation.
protected  void fireAncestorRemoved(javax.swing.JComponent source, int id, java.awt.Container ancestor, java.awt.Container ancestorParent)
          No comment provided by developer, please add a comment to improve documentation.
 java.awt.Container getEnd()
          Get the end attribute of the AncestorNotifier object
 javax.swing.JComponent getRoot()
          Get the root attribute of the AncestorNotifier object
 void propertyChange(java.beans.PropertyChangeEvent evt)
          No comment provided by developer, please add a comment to improve documentation.
 void removeAncestorListener(javax.swing.event.AncestorListener 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.
 void setEnd(java.awt.Container end)
          Sets the end attribute of the AncestorNotifier object
 void setRoot(javax.swing.JComponent root)
          Sets the root attribute of the AncestorNotifier object
 int sizeOfAncestorListeners()
          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
 

Field Detail

KEY

public static final java.lang.Object KEY
No comment provided by developer, please add a comment to improve documentation.

Constructor Detail

AncestorNotifier

public AncestorNotifier(javax.swing.JComponent root)
Constructor for class AncestorNotifier

Parameters:
root - No description provided

AncestorNotifier

public AncestorNotifier(javax.swing.JComponent root,
                        java.awt.Container end)
Constructor for class AncestorNotifier

Parameters:
root - No description provided
end - No description provided
Method Detail

setRoot

public void setRoot(javax.swing.JComponent root)
Sets the root attribute of the AncestorNotifier object

Parameters:
root - The new root value

getRoot

public javax.swing.JComponent getRoot()
Get the root attribute of the AncestorNotifier object

Returns:
The root value

setEnd

public void setEnd(java.awt.Container end)
Sets the end attribute of the AncestorNotifier object

Parameters:
end - The new end value

getEnd

public java.awt.Container getEnd()
Get the end attribute of the AncestorNotifier object

Returns:
The end value

addAncestorListener

public void addAncestorListener(javax.swing.event.AncestorListener l)
Access method for an one to n association.

Parameters:
l - The object added.

removeAncestorListener

public void removeAncestorListener(javax.swing.event.AncestorListener l)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
l - No description provided

sizeOfAncestorListeners

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

Returns:
No description provided

fireAncestorAdded

protected void fireAncestorAdded(javax.swing.JComponent source,
                                 int id,
                                 java.awt.Container ancestor,
                                 java.awt.Container ancestorParent)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
source - No description provided
id - No description provided
ancestor - No description provided
ancestorParent - No description provided

fireAncestorRemoved

protected void fireAncestorRemoved(javax.swing.JComponent source,
                                   int id,
                                   java.awt.Container ancestor,
                                   java.awt.Container ancestorParent)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
source - No description provided
id - No description provided
ancestor - No description provided
ancestorParent - No description provided

fireAncestorMoved

protected void fireAncestorMoved(javax.swing.JComponent source,
                                 int id,
                                 java.awt.Container ancestor,
                                 java.awt.Container ancestorParent)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
source - No description provided
id - No description provided
ancestor - No description provided
ancestorParent - No description provided

componentShown

public void componentShown(java.awt.event.ComponentEvent e)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
componentShown in interface java.awt.event.ComponentListener
Parameters:
e - No description provided

componentHidden

public void componentHidden(java.awt.event.ComponentEvent e)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
componentHidden in interface java.awt.event.ComponentListener
Parameters:
e - No description provided

componentResized

public void componentResized(java.awt.event.ComponentEvent e)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
componentResized in interface java.awt.event.ComponentListener
Parameters:
e - No description provided

componentMoved

public void componentMoved(java.awt.event.ComponentEvent e)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
componentMoved in interface java.awt.event.ComponentListener
Parameters:
e - No description provided

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

removeYou

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