| Constructs a new EventRef using an event descriptor string. The format of this string
is:
.
where eventSet refers to the fully qualified name of the EventSet class,
eventName refers to the name of the event Method, and eventDescriptor
describes the event argument and return types using the method descriptor format
defined in the Java Language Specification.
For example, given the following EventSet interface:
@ControlInterface
public interface MyControl
{
@EventSet
public interface MyEvents
{
public String myEvent(int arg0, Object arg2);
}
}
the eventDescriptor for myEvent would be:
MyControl.MyEvents.myEvent(ILjava/lang/Object;)Ljava/lang/String;
Parameters: eventDescriptor - the event descriptor string associated with the event |