public interface EventListener extends java.util.EventListener
EventListenerinterface MUST be implemented by an application and registered with the
EventManagerto receive events.
The application MUST NOT make any assumptions about synchronization of
calls to the
EventListener. The listener may be called at
any time. The application is responsible for handling concurrency.
From the call to
handleEvent until it returns the event
system will not change the state of the
handleEvent returns the state of the
Event instance is unpredictable.
void handleEvent(Event value)
Eventfor the event to which this listener has been registered. This method will be called when the value has changed.
Eventobject containing the value that triggered the event.
Copyright (c) 2014, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.