Use the SmartGuide - New Event Listener window to create a new event
listener and add it as an event set feature. An event set
consists of an event listener interface with associated event object and
multicaster classes. The multicaster enables multiple listeners for an
event.
Method features are also added that other beans can use to add and remove
the listener. These methods enable other beans to start and stop
listening for the event.
Fields
- Event name
- The name of the event set feature. Enter a name for the
feature.
- Event listener
- The name of the event listener. This field is initialized when you
define the Event name field. For example, if the event name
is whatHappened, the event listener name is initially
WhatHappenedListener.
- Event object
- The name of the event object. This field is initialized when you
define the Event name field. For example, if the event name
is whatHappened, the event object name is initially
WhatHappenedEvent.
- Event Multicaster
- The name of the event multicaster. This field is initialized when
you define the Event name field. For example, if the event
name is whatHappened, the event multicaster name is initially
WhatHappenedMulticaster.
Event Listener Methods SmartGuide
Bean Information SmartGuide
Features--BeanInfo Page
