public abstract class VisibilityWatcher
extends java.awt.event.ComponentAdapter
implements java.beans.PropertyChangeListener
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
ANCESTOR_PROPERTY_NAME |
Constructor and Description |
---|
VisibilityWatcher() |
Modifier and Type | Method and Description |
---|---|
void |
componentHidden(java.awt.event.ComponentEvent e) |
void |
componentShown(java.awt.event.ComponentEvent e) |
void |
deinstall(java.awt.Component component) |
void |
install(java.awt.Component component) |
void |
propertyChange(java.beans.PropertyChangeEvent e) |
abstract void |
visibilityChanged()
Invokes every time component changes its visibility.
|
protected static final java.lang.String ANCESTOR_PROPERTY_NAME
public final void componentHidden(java.awt.event.ComponentEvent e)
componentHidden
in interface java.awt.event.ComponentListener
componentHidden
in class java.awt.event.ComponentAdapter
public final void componentShown(java.awt.event.ComponentEvent e)
componentShown
in interface java.awt.event.ComponentListener
componentShown
in class java.awt.event.ComponentAdapter
public final void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange
in interface java.beans.PropertyChangeListener
public final void install(java.awt.Component component)
public void deinstall(java.awt.Component component)
public abstract void visibilityChanged()