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