info.magnolia.ui.vaadin.gwt.client.editor.jsni
Class WebkitFrameEventHandler
java.lang.Object
info.magnolia.ui.vaadin.gwt.client.editor.jsni.AbstractFrameEventHandler
info.magnolia.ui.vaadin.gwt.client.editor.jsni.WebkitFrameEventHandler
public class WebkitFrameEventHandler
- extends AbstractFrameEventHandler
WebkitFrameEventHandler. Provides separated implementations to overcome different bugs in the
handling of iframes on webkit browsers including the iPad.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebkitFrameEventHandler
public WebkitFrameEventHandler()
registerLoadHandler
public void registerLoadHandler()
- Specified by:
registerLoadHandler
in class AbstractFrameEventHandler
bindReadyHandler
public void bindReadyHandler(com.google.gwt.dom.client.Element iframe)
- Uses jQuery to detect when the iFrame is ready.
initNativeTouchSelectionListener
public void initNativeTouchSelectionListener(com.google.gwt.dom.client.Element element,
PageEditorView.Listener listener)
- Custom implementation for iPads of the touch end handling. Suppresses the selection, when scrolling.
- Overrides:
initNativeTouchSelectionListener
in class AbstractFrameEventHandler
initNativeKeyListener
public void initNativeKeyListener(com.google.gwt.dom.client.Element element)
- Description copied from class:
AbstractFrameEventHandler
- 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.
- Specified by:
initNativeKeyListener
in class AbstractFrameEventHandler
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.