APIdia Launch Partner
Top Fields Constructors Methods
javax.swing

pack-priv Class AncestorNotifier

extends Object
implements ComponentListener, PropertyChangeListener, Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable, java.beans.PropertyChangeListener, java.util.EventListener, java.awt.event.ComponentListener
Annotations
@SuppressWarnings:serial
Imports
javax.swing.event.*, java.awt.event.*, java.awt.Component, .Container, .Window, java.beans.PropertyChangeListener, .PropertyChangeEvent, java.io.Serializable

Author
Dave Moore

Field Summary

Modifier and TypeField and Description
pack-priv transient Component
pack-priv EventListenerList
pack-priv JComponent

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv void
pack-priv void
addListeners(Component ancestor, boolean addToFirst)

public void
componentHidden(ComponentEvent e)

Implements java.awt.event.ComponentListener.componentHidden.

Invoked when the component has been made invisible.

public void
componentMoved(ComponentEvent e)

Implements java.awt.event.ComponentListener.componentMoved.

Invoked when the component's position changes.

public void
componentResized(ComponentEvent e)

Implements java.awt.event.ComponentListener.componentResized.

Invoked when the component's size changes.

public void
componentShown(ComponentEvent e)

Implements java.awt.event.ComponentListener.componentShown.

Invoked when the component has been made visible.

protected void
fireAncestorAdded(JComponent source, int id, Container ancestor, Container ancestorParent)

Notify all listeners that have registered interest for notification on this event type.

protected void
fireAncestorMoved(JComponent source, int id, Container ancestor, Container ancestorParent)

Notify all listeners that have registered interest for notification on this event type.

protected void
fireAncestorRemoved(JComponent source, int id, Container ancestor, Container ancestorParent)

Notify all listeners that have registered interest for notification on this event type.

pack-priv AncestorListener[]
public void
propertyChange(PropertyChangeEvent evt)

Implements java.beans.PropertyChangeListener.propertyChange.

This method gets called when a bound property is changed.

pack-priv void
pack-priv void
pack-priv void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

firstInvisibleAncestorback to summary
pack-priv transient Component firstInvisibleAncestor
listenerListback to summary
pack-priv EventListenerList listenerList
rootback to summary
pack-priv JComponent root

Constructor Detail

AncestorNotifierback to summary
pack-priv AncestorNotifier(JComponent root)

Method Detail

addAncestorListenerback to summary
pack-priv void addAncestorListener(AncestorListener l)
addListenersback to summary
pack-priv void addListeners(Component ancestor, boolean addToFirst)
componentHiddenback to summary
public void componentHidden(ComponentEvent e)

Implements java.awt.event.ComponentListener.componentHidden.

Doc from java.awt.event.ComponentListener.componentHidden.

Invoked when the component has been made invisible.

componentMovedback to summary
public void componentMoved(ComponentEvent e)

Implements java.awt.event.ComponentListener.componentMoved.

Doc from java.awt.event.ComponentListener.componentMoved.

Invoked when the component's position changes.

componentResizedback to summary
public void componentResized(ComponentEvent e)

Implements java.awt.event.ComponentListener.componentResized.

Doc from java.awt.event.ComponentListener.componentResized.

Invoked when the component's size changes.

componentShownback to summary
public void componentShown(ComponentEvent e)

Implements java.awt.event.ComponentListener.componentShown.

Doc from java.awt.event.ComponentListener.componentShown.

Invoked when the component has been made visible.

fireAncestorAddedback to summary
protected void fireAncestorAdded(JComponent source, int id, Container ancestor, Container ancestorParent)

Notify all listeners that have registered interest for notification on this event type. The event instance is lazily created using the parameters passed into the fire method.

See Also
EventListenerList
fireAncestorMovedback to summary
protected void fireAncestorMoved(JComponent source, int id, Container ancestor, Container ancestorParent)

Notify all listeners that have registered interest for notification on this event type. The event instance is lazily created using the parameters passed into the fire method.

See Also
EventListenerList
fireAncestorRemovedback to summary
protected void fireAncestorRemoved(JComponent source, int id, Container ancestor, Container ancestorParent)

Notify all listeners that have registered interest for notification on this event type. The event instance is lazily created using the parameters passed into the fire method.

See Also
EventListenerList
getAncestorListenersback to summary
pack-priv AncestorListener[] getAncestorListeners()
propertyChangeback to summary
public void propertyChange(PropertyChangeEvent evt)

Implements java.beans.PropertyChangeListener.propertyChange.

Doc from java.beans.PropertyChangeListener.propertyChange.

This method gets called when a bound property is changed.

removeAllListenersback to summary
pack-priv void removeAllListeners()
removeAncestorListenerback to summary
pack-priv void removeAncestorListener(AncestorListener l)
removeListenersback to summary
pack-priv void removeListeners(Component ancestor)