|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.ui.vaadin.gwt.client.editor.jsni.AbstractFrameEventHandler info.magnolia.ui.vaadin.gwt.client.editor.jsni.WebkitFrameEventHandler
public class WebkitFrameEventHandler
WebkitFrameEventHandler. Provides separated implementations to overcome different bugs in the handling of iframes on webkit browsers including the iPad. See SCRUM-1593 for details.
Constructor Summary | |
---|---|
WebkitFrameEventHandler()
|
Method Summary | |
---|---|
void |
init()
|
void |
initNativeKeyListener(com.google.gwt.dom.client.Element element)
Catches key events on the contentDocument of the frame Element and fires it on the frame to enable event bubbling
from the frame up to the DOM. |
void |
initNativeTouchSelectionListener(com.google.gwt.dom.client.Element element,
PageEditorView.Listener listener)
Custom implementation for iPads of the touch end handling. |
void |
notifyUrlChange()
|
void |
onFrameReady()
|
void |
registerLoadHandler()
Registers two separated implementations of an onload event. |
void |
registerUnloadHandler(com.google.gwt.dom.client.Element element,
com.google.gwt.user.client.Timer timer)
This function is supposed to trigger an unload event, when the page inside the Iframe is changed. |
Methods inherited from class info.magnolia.ui.vaadin.gwt.client.editor.jsni.AbstractFrameEventHandler |
---|
getEventBus, getView, initNativeMouseSelectionListener, initScrollListener, reloadIFrame, setEventBus, setView |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebkitFrameEventHandler()
Method Detail |
---|
public void init()
init
in class AbstractFrameEventHandler
public void onFrameReady()
onFrameReady
in class AbstractFrameEventHandler
public void registerLoadHandler()
public void notifyUrlChange()
notifyUrlChange
in class AbstractFrameEventHandler
public void registerUnloadHandler(com.google.gwt.dom.client.Element element, com.google.gwt.user.client.Timer timer)
public void initNativeTouchSelectionListener(com.google.gwt.dom.client.Element element, PageEditorView.Listener listener)
initNativeTouchSelectionListener
in class AbstractFrameEventHandler
public void initNativeKeyListener(com.google.gwt.dom.client.Element element)
AbstractFrameEventHandler
Element
and fires it on the frame to enable event bubbling
from the frame up to the DOM.
initNativeKeyListener
in class AbstractFrameEventHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |