public class EngineEventsCustomizedListener extends java.lang.Object implements CustomizedListener
OnLoad
and OnBookmark
events.Constructor and Description |
---|
EngineEventsCustomizedListener() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
disableEvent(Element wo,
java.lang.Class<? extends java.lang.annotation.Annotation> eventType)
Overwrite this method if you want to add script to disable custom event
on browser.
|
java.lang.String |
enableEvent(Element wo,
java.lang.Class<? extends java.lang.annotation.Annotation> eventType)
Overwrite this method if you want to add script to enable custom event on
browser.
|
public java.lang.String enableEvent(Element wo, java.lang.Class<? extends java.lang.annotation.Annotation> eventType)
CustomizedListener
Element.listenerOn(Class)
method is
called. Custom events are the events not supported by browser but
provided by Java Script tools like: jQuery UI, Prototype etc.enableEvent
in interface CustomizedListener
wo
- Element to listen toeventType
- browser event typepublic java.lang.String disableEvent(Element wo, java.lang.Class<? extends java.lang.annotation.Annotation> eventType)
CustomizedListener
Element.listenerOff(Class)
method
is called. Custom events are the events not supported by browser but
provided by Java Script tools like: jQuery UI, Prototype etc.disableEvent
in interface CustomizedListener
wo
- Element to listen toeventType
- browser event type