public class WebkitFrameEventHandler extends AbstractFrameEventHandler
Constructor and Description |
---|
WebkitFrameEventHandler() |
Modifier and Type | Method and Description |
---|---|
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.
|
getEventBus, getView, initNativeMouseSelectionListener, initScrollListener, reloadIFrame, setEventBus, setView
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
Copyright © 2015 Magnolia International Ltd.. All rights reserved.