|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--java.beans.FeatureDescriptor | +--java.beans.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)
ÀÌ constructor Àº 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)
ÀÌ constructor Àº 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 Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
Java, Java 2 D, ¹× JDBC ´Â ¹Ì±¹ ¹× ±× ¿ÜÀÇ ³ª¶ó¿¡ ÀÖ¾î¼ÀÇ ¹Ì±¹ Sun Microsystems, Inc. ÀÇ »óÇ¥ ȤÀº µî·Ï»óÇ¥ÀÔ´Ï´Ù.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.