|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
public interface AncestorListener
»óÀ§ Ŭ·¡½º ¸®½º³ÊÀÔ´Ï´Ù. JComponent ¶Ç´Â °Ô´Ù°¡ À§Å¬·¡½ºÀÇ 1 °³·Î º¯°æÀÌ ÀϾÀ» ¶§ÀÇ ÅëÁö¸¦ ¼Æ÷Æ®Çϱâ À§ÇÑ ÀÎÅÍÆäÀ̽ºÀÔ´Ï´Ù. ÀÌ·¯ÇÑ º¯°æ¿¡´Â À̵¿À̳ª, setVisible() ¸Þ¼µå¿¡ ÇØ, ¶Ç´Â ÄÄÆÛ³ÍÆ® °èÃþ¿¡¼ Ãß°¡ ¶Ç´Â »èÁ¦µÇ´Â °Í¿¡ ÇØ, ÄÄÆÛ³ÍÆ®°¡ °¡½Ã ¶Ç´Â ºÒ°¡½Ã°¡ µÇ¾úÀ» °æ¿ìµîÀÌ ÀÖ½À´Ï´Ù.
¸Þ¼µå °³¿ä | |
---|---|
void |
ancestorAdded (AncestorEvent event)
setVisible(true)°¡ ºÒ·Á °¡µç°¡, ȤÀº ÄÄÆÛ³ÍÆ® °èÃþ¿¡ Ãß°¡µÇ´Â °Í¿¡ ÇØ, ¼Ò½º ¶Ç´Â °Ô´Ù°¡ À§Å¬·¡½ºÀÇ 1 °³°¡ °¡½Ã·Î µÇ¾úÀ» ¶§¿¡ ºÒ·Á °©´Ï´Ù. |
void |
ancestorMoved (AncestorEvent event)
¼Ò½º ¶Ç´Â °Ô´Ù°¡ À§Å¬·¡½ºÀÇ 1 °³°¡ À̵¿ÇßÀ» ¶§¿¡ ºÒ·Á °©´Ï´Ù. |
void |
ancestorRemoved (AncestorEvent event)
setVisible(false)°¡ ºÒ·Á °¡µç°¡, ȤÀº ÄÄÆÛ³ÍÆ® °èÃþÀ¸·ÎºÎÅÍ »èÁ¦µÇ´Â °Í¿¡ ÇØ, ¼Ò½º ¶Ç´Â °Ô´Ù°¡ À§Å¬·¡½ºÀÇ 1 °³°¡ ºÒ°¡½Ã°¡ µÇ¾úÀ» ¶§¿¡ ºÒ·Á °©´Ï´Ù. |
¸Þ¼µåÀÇ »ó¼¼ |
---|
void ancestorAdded(AncestorEvent event)
void ancestorRemoved(AncestorEvent event)
void ancestorMoved(AncestorEvent event)
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.