|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjava.beans.FeatureDescriptor
java.beans.EventSetDescriptor
public class EventSetDescriptor
EventSetDescriptor´Â ÁöÁ¤µÈ JavaBean°¡ Æ®¸®°Å ÇÏ´Â À̺¥Æ®ÀÇ ±×·ìÀ» ±â¼úÇÕ´Ï´Ù.
ÁöÁ¤µÈ À̺¥Æ® ±×·ìÀº ¸ðµÎ ´ÜÀÏÀÇ À̺¥Æ® ¸®½º³Ê ÀÎÅÍÆäÀ̽º»óÀÇ ¸Þ¼µå È£Ãâ·Î¼ Àü´ÞµË´Ï´Ù. À̺¥Æ® ¸®½º³Ê °´Ã¼´Â À̺¥Æ® ¼Ò½º·ÎºÎÅÍ Á¦°øµÇ´Â µî·Ï ¸Þ¼µåÀÇ È£Ãâ¿¡ ÀÇÇØ µî·ÏµË´Ï´Ù.
»ý¼ºÀÚ °³¿ä | |
---|---|
EventSetDescriptor (Class <? > sourceClass,
String eventSetName,
Class <? > listenerType,
String listenerMethodName)
ÁöÁ¤µÈ À̺¥Æ® fred°¡ (1) FredListener ÀÎÅÍÆäÀ̽ºÀÇ ´ÜÀÏÀÇ ¸Þ¼µå È£Ãâ·Î¼ Àü´ÞµÇ´Â (2) FredEvent ÇüÀÇ ´ÜÀÏÀÇ Àμö¸¦ ÃëÇÏ´Â (3) FredListener¸¦ ¼Ò½º ÄÄÆÛ³ÍÆ®ÀÇ addFredListener ¸Þ¼µåÀÇ È£Ãâ·Î µî·ÏÇØ removeFredListener ¸Þ¼µåÀÇ È£Ãâ·Î »èÁ¦ÇÑ´Ù, ¶ó°í ÇÏ´Â °¡Àå ´Ü¼øÇÑ Ç¥ÁØ ¼³°è ÆÐÅÏ¿¡ µû¸£´Â °ÍÀ¸·Î¼EventSetDescriptor¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
EventSetDescriptor (Class <? > sourceClass,
String eventSetName,
Class <? > listenerType,
String [] listenerMethodNames,
String addListenerMethodName,
String removeListenerMethodName)
ij¸¯ÅÍ ¶óÀθíÀ» »ç¿ëÇØ, Á¦·Î·ÎºÎÅÍ EventSetDescriptor¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
EventSetDescriptor (Class <? > sourceClass,
String eventSetName,
Class <? > listenerType,
String [] listenerMethodNames,
String addListenerMethodName,
String removeListenerMethodName,
String getListenerMethodName)
ÀÌ »ý¼ºÀڴ ij¸¯ÅÍ ¶óÀθíÀ» »ç¿ëÇØ, Á¦·Î·ÎºÎÅÍ EventSetDescriptorÀ» ÀÛ¼ºÇÕ´Ï´Ù. |
|
EventSetDescriptor (String eventSetName,
Class <? > listenerType,
Method [] listenerMethods,
Method addListenerMethod,
Method removeListenerMethod)
java.lang.reflect.Method °´Ã¼¿Í java.lang.Class °´Ã¼¸¦ »ç¿ëÇØ, Á¦·Î·ÎºÎÅÍ EventSetDescriptor¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
EventSetDescriptor (String eventSetName,
Class <? > listenerType,
Method [] listenerMethods,
Method addListenerMethod,
Method removeListenerMethod,
Method getListenerMethod)
ÀÌ »ý¼ºÀÚ´Â java.lang.reflect.Method °´Ã¼¿Í java.lang.Class °´Ã¼¸¦ »ç¿ëÇØ, Á¦·Î·ÎºÎÅÍ EventSetDescriptor¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
EventSetDescriptor (String eventSetName,
Class <? > listenerType,
MethodDescriptor [] listenerMethodDescriptors,
Method addListenerMethod,
Method removeListenerMethod)
java.lang.reflect.MethodDescriptor °´Ã¼¿Í java.lang.Class °´Ã¼¸¦ »ç¿ëÇØ, Á¦·Î·ÎºÎÅÍ EventSetDescriptor¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
Method |
getAddListenerMethod ()
À̺¥Æ® ¸®½º³ÊÀÇ Ãß°¡½Ã¿¡ »ç¿ëÇÏ´Â ¸Þ¼µå¸¦ ÃëµæÇÕ´Ï´Ù. |
Method |
getGetListenerMethod ()
µî·ÏÀÌ ³¡³ À̺¥Æ® ¸®½º³Ê¿¡°Ô·ÎÀÇ ¾×¼¼½º¿¡ »ç¿ëÇÏ´Â ¸Þ¼µå¸¦ ÃëµæÇÕ´Ï´Ù. |
MethodDescriptor [] |
getListenerMethodDescriptors ()
Ÿ°Ù ¸®½º³Ê ÀÎÅÍÆäÀ̽ºÀÇ MethodDescriptor ¸¦ ÃëµæÇÕ´Ï´Ù. |
Method [] |
getListenerMethods ()
Ÿ°Ù ¸®½º³Ê ÀÎÅÍÆäÀ̽ºÀÇ ¸Þ¼µå¸¦ ÃëµæÇÕ´Ï´Ù. |
Class <? > |
getListenerType ()
Ÿ°Ù ÀÎÅÍÆäÀ̽ºÀÇ Class °´Ã¼¸¦ ÃëµæÇÕ´Ï´Ù. |
Method |
getRemoveListenerMethod ()
À̺¥Æ® ¸®½º³ÊÀÇ »èÁ¦½Ã¿¡ »ç¿ëÇÏ´Â ¸Þ¼µå¸¦ ÃëµæÇÕ´Ï´Ù. |
boolean |
isInDefaultEventSet ()
À̺¥Æ® ¼¼Æ®°¡ µðÆúÆ®¼¼Æ®ÀÏÁö ¾î¶³Áö¸¦ º¸°íÇÕ´Ï´Ù. |
boolean |
isUnicast ()
º¸Åë, À̺¥Æ® ¼Ò½º´Â ¸ÖƼ ij½ºÆ®ÀÔ´Ï´Ù. |
void |
setInDefaultEventSet (boolean inDefaultEventSet)
À̺¥Æ® ¼¼Æ®¸¦ µðÆúÆ®¼¼Æ®·Î¼ ¸¶Å© ÇÕ´Ï´Ù. |
void |
setUnicast (boolean unicast)
À̺¥Æ® ¼¼Æ®¸¦ uni-cast, ¶Ç´Â ºñuni-cast·Î¼ ¸¶Å© ÇÕ´Ï´Ù. |
Ŭ·¡½º java.beans. FeatureDescriptor ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
attributeNames,
getDisplayName,
getName,
getShortDescription,
getValue,
isExpert,
isHidden,
isPreferred,
setDisplayName,
setExpert,
setHidden,
setName,
setPreferred,
setShortDescription,
setValue |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
»ý¼ºÀÚ »ó¼¼ |
---|
public EventSetDescriptor(Class <? > sourceClass, String eventSetName, Class <? > listenerType, String listenerMethodName) throws IntrospectionException
sourceClass
- À̺¥Æ®¸¦ Æ®¸®°Å Çϴ Ŭ·¡½ºeventSetName
- À̺¥Æ®ÀÇ ÇÁ·Î±×·¥¸í (fred µî). º¸Åë, ¼±µÎÀÇ ¹®ÀÚ´Â ¾ËÆÄºªÀÇ ¼Ò¹®ÀÚ°¡ µÇ´ÂlistenerType
- À̺¥Æ®ÀÇ Àü´Þó°¡ µÇ´Â Ÿ°Ù ÀÎÅÍÆäÀ̽ºlistenerMethodName
- À̺¥Æ®°¡ Ÿ°Ù ¸®½º³Ê ÀÎÅÍÆäÀ̽º¿¡ Àü´ÞµÇ¾úÀ» ¶§¿¡ È£ÃâµÇ´Â ¸Þ¼µå
IntrospectionException
- ÀÎÆ®·Î½ºÆäÅ©¼ÇÁß¿¡ ¿¹¿Ü°¡ ¹ß»ýÇßÀ» °æ¿ìpublic EventSetDescriptor(Class <? > sourceClass, String eventSetName, Class <? > listenerType, String [] listenerMethodNames, String addListenerMethodName, String removeListenerMethodName) throws IntrospectionException
sourceClass
- À̺¥Æ®¸¦ Æ®¸®°Å Çϴ Ŭ·¡½ºeventSetName
- À̺¥Æ® ¼¼Æ®ÀÇ ÇÁ·Î±×·¥¸í. º¸Åë, ¼±µÎÀÇ ¹®ÀÚ´Â ¾ËÆÄºªÀÇ ¼Ò¹®ÀÚ°¡ µÇ´ÂlistenerType
- À̺¥Æ®ÀÇ Àü´Þó°¡ µÇ´Â Ÿ°Ù ÀÎÅÍÆäÀ̽ºÀÇ Å¬·¡½ºlistenerMethodNames
- À̺¥Æ®°¡ Ÿ°Ù ¸®½º³Ê ÀÎÅÍÆäÀ̽º¿¡ Àü´ÞµÇ¾úÀ» ¶§¿¡ È£ÃâµÇ´Â ¸Þ¼µåÀÇ À̸§addListenerMethodName
- À̺¥Æ® ¸®½º³Ê °´Ã¼ÀÇ µî·Ï¿¡ »ç¿ëµÇ´Â À̺¥Æ® ¼Ò½º»óÀÇ ¸Þ¼µåÀÇ À̸§removeListenerMethodName
- À̺¥Æ® ¸®½º³Ê °´Ã¼ÀÇ µî·Ï ÇØÁ¦¿¡ »ç¿ëµÇ´Â À̺¥Æ® ¼Ò½º»óÀÇ ¸Þ¼µåÀÇ À̸§
IntrospectionException
- ÀÎÆ®·Î½ºÆäÅ©¼ÇÁß¿¡ ¿¹¿Ü°¡ ¹ß»ýÇßÀ» °æ¿ìpublic EventSetDescriptor(Class <? > sourceClass, String eventSetName, Class <? > listenerType, String [] listenerMethodNames, String addListenerMethodName, String removeListenerMethodName, String getListenerMethodName) throws IntrospectionException
sourceClass
- À̺¥Æ®¸¦ Æ®¸®°Å Çϴ Ŭ·¡½ºeventSetName
- À̺¥Æ® ¼¼Æ®ÀÇ ÇÁ·Î±×·¥¸í. º¸Åë, ¼±µÎÀÇ ¹®ÀÚ´Â ¾ËÆÄºªÀÇ ¼Ò¹®ÀÚ°¡ µÇ´ÂlistenerType
- À̺¥Æ®ÀÇ Àü´Þó°¡ µÇ´Â Ÿ°Ù ÀÎÅÍÆäÀ̽ºÀÇ Å¬·¡½ºlistenerMethodNames
- À̺¥Æ®°¡ Ÿ°Ù ¸®½º³Ê ÀÎÅÍÆäÀ̽º¿¡ Àü´ÞµÇ¾úÀ» ¶§¿¡ È£ÃâµÇ´Â ¸Þ¼µåÀÇ À̸§addListenerMethodName
- À̺¥Æ® ¸®½º³Ê °´Ã¼ÀÇ µî·Ï¿¡ »ç¿ëµÇ´Â À̺¥Æ® ¼Ò½º»óÀÇ ¸Þ¼µåÀÇ À̸§removeListenerMethodName
- À̺¥Æ® ¸®½º³Ê °´Ã¼ÀÇ µî·Ï ÇØÁ¦¿¡ »ç¿ëµÇ´Â À̺¥Æ® ¼Ò½º»óÀÇ ¸Þ¼µåÀÇ À̸§getListenerMethodName
- À̺¥Æ® ¸®½º³Ê °´Ã¼ÀÇ ¹è¿¿¡ÀÇ ¾×¼¼½º¿¡ »ç¿ëµÇ´Â À̺¥Æ® ¼Ò½º»óÀÇ ¸Þ¼µå
IntrospectionException
- ÀÎÆ®·Î½ºÆäÅ©¼ÇÁß¿¡ ¿¹¿Ü°¡ ¹ß»ýÇßÀ» °æ¿ìpublic EventSetDescriptor(String eventSetName, Class <? > listenerType, Method [] listenerMethods, Method addListenerMethod, Method removeListenerMethod) throws IntrospectionException
eventSetName
- À̺¥Æ® ¼¼Æ®ÀÇ ÇÁ·Î±×·¥¸ílistenerType
- ¸®½º³Ê ÀÎÅÍÆäÀ̽ºÀÇ Å¬·¡½ºlistenerMethods
- Ÿ°Ù ¸®½º³Ê³»ÀÇ °³°³ÀÇ À̺¥Æ® ó¸® ¸Þ¼µå¿¡ ´ëÇØ ±â¼úÇÏ´Â Method °´Ã¼ÀÇ ¹è¿addListenerMethod
- À̺¥Æ® ¸®½º³Ê °´Ã¼ÀÇ µî·Ï¿¡ »ç¿ëµÇ´Â À̺¥Æ® ¼Ò½º»óÀÇ ¸Þ¼µåremoveListenerMethod
- À̺¥Æ® ¸®½º³Ê °´Ã¼ÀÇ µî·Ï ÇØÁ¦¿¡ »ç¿ëµÇ´Â À̺¥Æ® ¼Ò½º»óÀÇ ¸Þ¼µå
IntrospectionException
- ÀÎÆ®·Î½ºÆäÅ©¼ÇÁß¿¡ ¿¹¿Ü°¡ ¹ß»ýÇßÀ» °æ¿ìpublic EventSetDescriptor(String eventSetName, Class <? > listenerType, Method [] listenerMethods, Method addListenerMethod, Method removeListenerMethod, Method getListenerMethod) throws IntrospectionException
eventSetName
- À̺¥Æ® ¼¼Æ®ÀÇ ÇÁ·Î±×·¥¸ílistenerType
- ¸®½º³Ê ÀÎÅÍÆäÀ̽ºÀÇ Å¬·¡½ºlistenerMethods
- Ÿ°Ù ¸®½º³Ê³»ÀÇ °³°³ÀÇ À̺¥Æ® ó¸® ¸Þ¼µå¿¡ ´ëÇØ ±â¼úÇÏ´Â Method °´Ã¼ÀÇ ¹è¿addListenerMethod
- À̺¥Æ® ¸®½º³Ê °´Ã¼ÀÇ µî·Ï¿¡ »ç¿ëµÇ´Â À̺¥Æ® ¼Ò½º»óÀÇ ¸Þ¼µåremoveListenerMethod
- À̺¥Æ® ¸®½º³Ê °´Ã¼ÀÇ µî·Ï ÇØÁ¦¿¡ »ç¿ëµÇ´Â À̺¥Æ® ¼Ò½º»óÀÇ ¸Þ¼µågetListenerMethod
- À̺¥Æ® ¸®½º³Ê °´Ã¼ÀÇ ¹è¿¿¡ÀÇ ¾×¼¼½º¿¡ »ç¿ëµÇ´Â À̺¥Æ® ¼Ò½º»óÀÇ ¸Þ¼µå
IntrospectionException
- ÀÎÆ®·Î½ºÆäÅ©¼ÇÁß¿¡ ¿¹¿Ü°¡ ¹ß»ýÇßÀ» °æ¿ìpublic EventSetDescriptor(String eventSetName, Class <? > listenerType, MethodDescriptor [] listenerMethodDescriptors, Method addListenerMethod, Method removeListenerMethod) throws IntrospectionException
eventSetName
- À̺¥Æ® ¼¼Æ®ÀÇ ÇÁ·Î±×·¥¸ílistenerType
- ¸®½º³Ê ÀÎÅÍÆäÀ̽ºÀÇ Å¬·¡½ºlistenerMethodDescriptors
- Ÿ°Ù ¸®½º³Ê³»ÀÇ °³°³ÀÇ À̺¥Æ® ó¸® ¸Þ¼µå¿¡ ´ëÇØ ±â¼úÇÏ´Â MethodDescriptor °´Ã¼ÀÇ ¹è¿addListenerMethod
- À̺¥Æ® ¸®½º³Ê °´Ã¼ÀÇ µî·Ï¿¡ »ç¿ëµÇ´Â À̺¥Æ® ¼Ò½º»óÀÇ ¸Þ¼µåremoveListenerMethod
- À̺¥Æ® ¸®½º³Ê °´Ã¼ÀÇ µî·Ï ÇØÁ¦¿¡ »ç¿ëµÇ´Â À̺¥Æ® ¼Ò½º»óÀÇ ¸Þ¼µå
IntrospectionException
- ÀÎÆ®·Î½ºÆäÅ©¼ÇÁß¿¡ ¿¹¿Ü°¡ ¹ß»ýÇßÀ» °æ¿ì¸Þ¼µåÀÇ »ó¼¼ |
---|
public Class <? > getListenerType()
public Method [] getListenerMethods()
public MethodDescriptor [] getListenerMethodDescriptors()
MethodDescriptor
¸¦ ÃëµæÇÕ´Ï´Ù.
MethodDescriptor
°´Ã¼ÀÇ ¹è¿public Method getAddListenerMethod()
public Method getRemoveListenerMethod()
public Method getGetListenerMethod()
public void setUnicast(boolean unicast)
unicast
- À̺¥Æ® ¼¼Æ®°¡ uni-castÀÎ °æ¿ì´Â truepublic boolean isUnicast()
public void setInDefaultEventSet(boolean inDefaultEventSet)
inDefaultEventSet
- À̺¥Æ® ¼¼Æ®°¡ µðÆúÆ®¼¼Æ®ÀÎ °æ¿ì´Â true
, ±× ¿ÜÀÇ °æ¿ì´Â false
public boolean isInDefaultEventSet()
true
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.