|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component.NativeInLightFixer
This odd class is to help out a native component that has been embedded in a lightweight component. Moving lightweight components around and changing their visibility is not seen by the native window system. This is a feature for lightweights, but a problem for native components that depend upon the lightweights. An instance of this class listens to the lightweight parents of an associated native component (the outer class).
Field Summary | |
(package private) Vector |
lightParents
|
(package private) Container |
nativeHost
|
Constructor Summary | |
(package private) |
Component.NativeInLightFixer()
|
Method Summary | |
void |
componentAdded(ContainerEvent e)
Invoked when a component has been added to a lightweight parent. |
void |
componentHidden(ComponentEvent e)
Invoked when component has been hidden. |
void |
componentMoved(ComponentEvent e)
Invoked when one of the lightweight parents has been moved. |
void |
componentRemoved(ContainerEvent e)
Invoked when a lightweight parent has been removed. |
void |
componentResized(ComponentEvent e)
Invoked when one of the lightweight parents has been resized. |
void |
componentShown(ComponentEvent e)
Invoked when a lightweight parent component has been shown. |
(package private) void |
removeReferences()
Removes references to this object so it can be garbage collected. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
Vector lightParents
Container nativeHost
Constructor Detail |
Component.NativeInLightFixer()
Method Detail |
public void componentResized(ComponentEvent e)
componentResized
in interface ComponentListener
public void componentMoved(ComponentEvent e)
componentMoved
in interface ComponentListener
public void componentShown(ComponentEvent e)
componentShown
in interface ComponentListener
public void componentHidden(ComponentEvent e)
componentHidden
in interface ComponentListener
public void componentAdded(ContainerEvent e)
componentAdded
in interface ContainerListener
public void componentRemoved(ContainerEvent e)
componentRemoved
in interface ContainerListener
void removeReferences()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |