|
||||||||||
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
public abstract class AbstractFrameEventHandler
AbstractFrameEventHandler.
Constructor Summary | |
---|---|
AbstractFrameEventHandler()
|
Method Summary | |
---|---|
com.google.web.bindery.event.shared.EventBus |
getEventBus()
|
PageEditorView |
getView()
|
abstract void |
init()
|
abstract 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 |
initNativeMouseSelectionListener(com.google.gwt.dom.client.Element element,
PageEditorView.Listener listener)
Takes care of the touch end events for selecting elements inside the page editor. |
void |
initNativeTouchSelectionListener(com.google.gwt.dom.client.Element element,
PageEditorView.Listener listener)
Takes care of the mouse up events for selecting elements inside the page editor. |
void |
initScrollListener(com.google.gwt.dom.client.Element element)
|
abstract void |
notifyUrlChange()
|
void |
onFrameReady()
|
void |
reloadIFrame(com.google.gwt.dom.client.Element iframeElement)
Force iframe to be reloaded. |
void |
setEventBus(com.google.web.bindery.event.shared.EventBus eventBus)
|
void |
setView(PageEditorView view)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractFrameEventHandler()
Method Detail |
---|
public void reloadIFrame(com.google.gwt.dom.client.Element iframeElement)
public abstract void notifyUrlChange()
public com.google.web.bindery.event.shared.EventBus getEventBus()
public void setEventBus(com.google.web.bindery.event.shared.EventBus eventBus)
public void setView(PageEditorView view)
public PageEditorView getView()
public abstract void init()
public void onFrameReady()
public void initNativeTouchSelectionListener(com.google.gwt.dom.client.Element element, PageEditorView.Listener listener)
public void initNativeMouseSelectionListener(com.google.gwt.dom.client.Element element, PageEditorView.Listener listener)
public abstract void initNativeKeyListener(com.google.gwt.dom.client.Element element)
Element
and fires it on the frame to enable event bubbling
from the frame up to the DOM.
public void initScrollListener(com.google.gwt.dom.client.Element element)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |