public class DragDropCustomizedListener extends java.lang.Object implements CustomizedListener
Constructor and Description |
---|
DragDropCustomizedListener() |
Modifier and Type | Method and Description |
---|---|
static void |
callInitDragDrop(Element ele)
Sends to browser drag and drop event's listeners.
|
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 static final void callInitDragDrop(Element ele)
ele
- The element of listenerspublic 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