June 1997
Intermediate to advanced
318 pages
8h 17m
English
Class java.beans.EventSetDescriptor
An
EventSetDescriptor
describes a group of events that a Bean
can fire. This group of events is sent to the target object via
method calls on an event-listener interface. Another object can
register itself as an event listener for the described listener
interface by calling the associated registration method on the event-
source object.
public class EventSetDescriptor extends FeatureDescriptor { // constructors public EventSetDescriptor(Class sourceClass, String eventSetName, Class listenerType, String listenerMethodName) throws IntrospectionException; public EventSetDescriptor(Class sourceClass, String eventSetName, Class listenerType, String listenerMethodNames[], String addListenerMethodName, String removeListenerMethodName) throws IntrospectionException; public EventSetDescriptor(String eventSetName, Class listenerType, Method listenerMethods[], Method addListenerMethod, Method removeListenerMethod) throws IntrospectionException; public EventSetDescriptor(String eventSetName, Class listenerType, MethodDescriptor listenerMethodDescriptors[], Method addListenerMethod, Method removeListenerMethod) throws IntrospectionException; // methods public Method getAddListenerMethod(); public MethodDescriptor[] getListenerMethodDescriptors(); public Method[] getListenerMethods(); public Class getListenerType(); public Method getRemoveListenerMethod(); public boolean isInDefaultEventSet(); public boolean isUnicast(); public ...Read now
Unlock full access