public interface Listener
The typical life cycle is:
The application uses this interface in one of two ways. First, the client object can simply implement the listener interface. Second, it can create a "helper object" that implements the interface.
In either case, the class must override the notify( ) method. Look at the type of the event to find those of interest. Any one client generally cares about a specific subset of events. Then, look at the sender, target or other members to decide what to do with the particular event. Finally, perform the client-specific action.
| 限定符和类型 | 方法和说明 |
|---|---|
void |
elementChanged(DesignElementHandle focus,
NotificationEvent ev)
Notifies the listener about a Design Engine event.
|
void elementChanged(DesignElementHandle focus, NotificationEvent ev)
focus - The design element that has changed.ev - The notification event that describes the change.Copyright © 2008 Actuate Corp. All rights reserved.