20230528 java.beans.EventSetDescriptor
介绍
java.beans.EventSetDescriptor
public class EventSetDescriptor extends FeatureDescriptor
API
构造器
EventSetDescriptor(Class<?> sourceClass, String eventSetName, Class<?> listenerType, String listenerMethodName) throws IntrospectionException
EventSetDescriptor(Class<?> sourceClass, String eventSetName, Class<?> listenerType, String[] listenerMethodNames, String addListenerMethodName, String removeListenerMethodName) throws IntrospectionException
EventSetDescriptor(Class<?> sourceClass, String eventSetName, Class<?> listenerType, String[] listenerMethodNames, String addListenerMethodName, String removeListenerMethodName, String getListenerMethodName) throws IntrospectionException
EventSetDescriptor(String eventSetName, Class<?> listenerType, Method[] listenerMethods, Method addListenerMethod, Method removeListenerMethod) throws IntrospectionException
EventSetDescriptor(String eventSetName, Class<?> listenerType, Method[] listenerMethods, Method addListenerMethod, Method removeListenerMethod, Method getListenerMethod) throws IntrospectionException
EventSetDescriptor(String eventSetName, Class<?> listenerType, MethodDescriptor[] listenerMethodDescriptors, Method addListenerMethod, Method removeListenerMethod) throws IntrospectionException
public
-
getListenerType
-
getListenerMethods
-
getListenerMethodDescriptors
-
getAddListenerMethod
-
getRemoveListenerMethod
-
getGetListenerMethod
-
setUnicast
-
isUnicast
- unicast 单播,默认是 false
-
setInDefaultEventSet
-
isInDefaultEventSet
- inDefaultEventSet ,是否默认状态,默认是 true