public interface AncestorListener extends EventListener
| Modifier and Type | Method and Description | 
|---|---|
| void | ancestorAdded(AncestorEvent event)
              当源或其祖先被调用setVisible(true)或被添加到组件层次结构中时,被调用。 
             | 
| void | ancestorMoved(AncestorEvent event)
              当源或其祖先被移动时调用。 
             | 
| void | ancestorRemoved(AncestorEvent event)
              当源或其祖先被调用setVisible(false)或被从组件层次结构中删除时,被调用。 
             | 
void ancestorAdded(AncestorEvent event)
void ancestorRemoved(AncestorEvent event)
void ancestorMoved(AncestorEvent event)
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.