Java™ Platform
Standard Ed. 6

Uses of Interface
java.awt.event.HierarchyListener

Packages that use HierarchyListener
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
 

Uses of HierarchyListener in java.awt
 

Classes in java.awt that implement HierarchyListener
 class AWTEventMulticaster
          AWTEventMulticaster implements efficient and thread-safe multi-cast event dispatching for the AWT events defined in the java.awt.event package.
 

Methods in java.awt that return HierarchyListener
static HierarchyListener AWTEventMulticaster.add(HierarchyListener a, HierarchyListener b)
          Adds hierarchy-listener-a with hierarchy-listener-b and returns the resulting multicast listener.
 HierarchyListener[] Component.getHierarchyListeners()
          Returns an array of all the hierarchy listeners registered on this component.
static HierarchyListener AWTEventMulticaster.remove(HierarchyListener l, HierarchyListener oldl)
          Removes the old hierarchy-listener from hierarchy-listener-l and returns the resulting multicast listener.
 

Methods in java.awt with parameters of type HierarchyListener
static HierarchyListener AWTEventMulticaster.add(HierarchyListener a, HierarchyListener b)
          Adds hierarchy-listener-a with hierarchy-listener-b and returns the resulting multicast listener.
 void Component.addHierarchyListener(HierarchyListener l)
          Adds the specified hierarchy listener to receive hierarchy changed events from this component when the hierarchy to which this container belongs changes.
static HierarchyListener AWTEventMulticaster.remove(HierarchyListener l, HierarchyListener oldl)
          Removes the old hierarchy-listener from hierarchy-listener-l and returns the resulting multicast listener.
 void Component.removeHierarchyListener(HierarchyListener l)
          Removes the specified hierarchy listener so that it no longer receives hierarchy changed events from this component.
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

Scripting on this page tracks web page traffic, but does not change the content in any way.