com.webrenderer.se.event.internal
Interface EventListenerManager.Functor
- All Known Implementing Classes:
- BrowserManager.BeforeNavigate, BrowserManager.BlockLoad, BrowserManager.LinkChange, BrowserManager.NavigationCanceled, BrowserManager.TitleChange, BrowserManager.URLChange, DomManager.ButtonClicked, DomManager.CheckBoxChecked, DomManager.CheckBoxUnchecked, DomManager.InputTextChanged, DomManager.RadioSelected, DOMManager2.ButtonClicked, DOMManager2.CheckBoxChecked, DOMManager2.CheckBoxUnchecked, DOMManager2.InputTextChanged, DOMManager2.RadioSelected, JavascriptManager.JavascriptDialog, JavascriptManager.StatusChange, KeyManager.OnKeyDown, KeyManager.OnKeyPress, KeyManager.OnKeyUp, MouseManager.OnClick, MouseManager.OnDoubleClick, MouseManager.OnMouseDown, MouseManager.OnMouseUp, NetworkManager.DocumentLoad, NetworkManager.DocumentPendingStop, NetworkManager.DocumentStop, NetworkManager.NetworkError, NetworkManager.NetworkHttpInterceptHeaders, NetworkManager.NetworkHttpResponse, NetworkManager.NetworkStatus, NetworkManager.ProgressChange, PromptManager.PromptDialog, ScrollManager.OnScrollPositionChange, WindowManager.NewWindow, WindowManager.WindowDestroy, WindowManager.WindowResize
- Enclosing class:
- EventListenerManager
public static interface EventListenerManager.Functor
The Functor interface is used to call the correct method for each
event in a listener. Most listener interfaces have several callback
methods, and the propogation algorithm does not have any information
about this. The functor is used to invoke the correct callback method,
while allowing the generic propogation algorithm to reside in this base
class.
|
Method Summary |
void |
propogate(java.util.EventListener l,
java.util.EventObject e)
This method calls the correct method for the listener interface
with the given event object. |
propogate
void propogate(java.util.EventListener l,
java.util.EventObject e)
- This method calls the correct method for the listener interface
with the given event object. This method is invoked by the
propogation algorithm.
- Parameters:
l - The listener to be notified of event.e - The event object.