|
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 µµ ÂüÁ¶ÇϽʽÿÀ.