Method addMethodeListener = AttributeBooleanCheckBoxCometeV2.class.getMethod(
"addBooleanAttributeListener", new Class[] { BooleanAttributeListener.class });
Method removeMethodeListener = AttributeBooleanCheckBoxCometeV2.class.getMethod(
"removeBooleanAttributeListener",
new Class[] { BooleanAttributeListener.class });
vector.add(new EventSetDescriptor(name, listenerType, new Method[] { methodeListener1,
methodeListener2, methodeListener3 }, addMethodeListener, removeMethodeListener));
name = "inputChange";
listenerType = InputListener.class;
methodeListener1 = InputListener.class.getMethod("booleanValueChange",
new Class[] { boolean.class });
methodeListener2 = InputListener.class.getMethod("numberValueChange",
new Class[] { double.class });
methodeListener3 = InputListener.class.getMethod("stringValueChange",
new Class[] { String.class });
addMethodeListener = AttributeBooleanCheckBoxCometeV2.class.getMethod(
"addInputListener", new Class[] { InputListener.class });
removeMethodeListener = AttributeBooleanCheckBoxCometeV2.class.getMethod(
"removeInputListener", new Class[] { InputListener.class });
vector.add(new EventSetDescriptor(name, listenerType, new Method[] { methodeListener1,
methodeListener2, methodeListener3 }, addMethodeListener, removeMethodeListener));
final EventSetDescriptor[] eventdesc = new EventSetDescriptor[vector.size()];
int index = 0;
final Enumeration<EventSetDescriptor> enumeration = vector.elements();