JavaTM 2 Platform
Standard Ed. 5.0

java.util
Ŭ·¡½º EventListenerProxy

java.lang.Object 
  »óÀ§¸¦ È®Àå java.util.EventListenerProxy
¸ðµç ±¸ÇöµÈ ÀÎÅÍÆäÀ̽º:
EventListener
¾Ë·ÁÁø Á÷°è ¼­ºê Ŭ·¡½º:
AWTEventListenerProxy, PropertyChangeListenerProxy, VetoableChangeListenerProxy

public abstract class EventListenerProxy
extends Object
implements EventListener

Ãß°¡ ÆĶó¹ÌÅͼ¼Æ®¸¦ ¸®½º³Ê¿¡°Ô °ü·ÃÁþ´Â EventListener Ŭ·¡½ºÀÇ abstract ·¡ÆÛ Å¬·¡½º. ¼­ºê Ŭ·¡½º´Â ºÎ°¡Àû Àμö ¶Ç´Â ÆĶó¹ÌÅÍ¿¡ storage ¸Þ¼­µå¿Í accessor ¸Þ¼­µå¸¦ Á¦°øÇÒ ÇÊ¿ä°¡ ÀÖ½À´Ï´Ù. ÁöÁ¤µÈ ÇÁ·ÎÆÛƼ¸¦ ±× ¸®½º³Ê¿¡°Ô °ü·Ã½ÃÅ°´Â ÇÑ ¼ö´ÜÀ¸·Î¼­ getListeners() ¸Þ¼­µå¸¦ »ç¿ëÇØ EventListerProxy ¼­ºê Ŭ·¡½º¸¦ µ¹·ÁÁÙ ¼ö°¡ ÀÖ½À´Ï´Ù. ¿¹¸¦ µé¾î ÁöÁ¤µÈ ÇÁ·ÎÆÛƼ¸¦ Áö¿øÇÏ´Â Bean ¿¡´Â ´ÙÀ½°ú °°ÀÌ ÇÁ·ÎÆÛƼÀÇ PropertyChangeListener¸¦ Ãß°¡ÇÏ´Â 2°³ÀÇ Àμö ¸Þ¼­µåÀÇ ½Ã±×´ÏÃÄ°¡ ÀÖ½À´Ï´Ù. public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener). Bean°¡ 0 Àμö³ª ±¸ÇöÇÏ´Â °æ¿ì, ´ÙÀ½°ú °°ÀÌ ¸®½º³Ê ¸Þ¼­µå¸¦ ÃëµæÇÕ´Ï´Ù. public PropertyChangeListener[] getPropertyChangeListeners(). ¹è¿­¿¡´Â PropertyChangeListenerProxy °´Ã¼À̱⵵ ÇÑ ³»ºÎÀÇ PropertyChangeListeners¸¦ Æ÷ÇÔÇÒ ¼öµµ ÀÖ½À´Ï´Ù. È£Ãâ ¸Þ¼­µå¿¡ ÀÇÇØ ÁöÁ¤µÈ ÇÁ·ÎÆÛƼ¸¦ ¾ò´ÂÀÎ °æ¿ì, ¿ä¼Ò°¡ ÇÁ·Ï½Ã Ŭ·¡½ºÀΰ¡ ¾î¶²°¡¸¦ È®ÀÎÇϱâ À§Çؼ­ ¿ä¼Ò¸¦ °Ë»çÇÒ ÇÊ¿ä°¡ ÀÖ½À´Ï´Ù.

µµÀÔµÈ ¹öÀü :
1.4

»ý¼ºÀÚ °³¿ä
EventListenerProxy (EventListener  listener)
           
 
¸Þ¼­µå °³¿ä
 EventListener getListener ()
           
 
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

»ý¼ºÀÚ »ó¼¼

EventListenerProxy

public EventListenerProxy(EventListener  listener)
ÆĶó¹ÌÅÍ:
listener - ¸®½º³Ê °´Ã¼
¸Þ¼­µåÀÇ »ó¼¼

getListener

public EventListener  getListener()
¹Ýȯ°ª:
ÀÌ ÇÁ·Ï½Ã¿¡ °ü·ÃÇÑ ¸®½º³ÊÀÔ´Ï´Ù.

JavaTM 2 Platform
Standard Ed. 5.0

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.