The New Unicast/Multicast Event Set dialog box appears, enabling you to customize the code to be generated for the event set.
java.util.EventListener
. EventListenerList
support class from the javax.swing.event
package. This option only appears for Multicast event sets.If you do not select the Pass Event as Parameter option, each firing method has the same parameters as the constructor of the event object class. The constructor is called in the body of the firing method, and then the newly created event is passed to the listeners. If there are multiple constructors for the event class, the code generator behaves as if the Pass Event as Parameter option is enabled.
addEventNameListener
method
and a RemoveEventNameListener
method to your source code,
along with firing methods if you specified them. ![]() |
You can find information about unicast and multicast event delivery and APIs
referenced above in the JavaBeans specification found at
http://java.sun.com/beans/docs/spec.html .
|
See also | |
---|---|
Creating a Bean
Creating a Bean Property Deleting a Property or Event Set Generating BeanInfo |