public class JsMessagePort extends JsElementalMixinBase implements MessagePort
SVG_ZOOMANDPAN_DISABLE, SVG_ZOOMANDPAN_MAGNIFY, SVG_ZOOMANDPAN_UNKNOWN
Modifier | Constructor and Description |
---|---|
protected |
JsMessagePort() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
EventListener |
getOnmessage() |
void |
postMessage(String message)
Posts a message into the event queue.
|
void |
postMessage(String message,
Indexable messagePorts)
Posts a message into the event queue.
|
void |
setOnmessage(EventListener listener) |
void |
start() |
void |
webkitPostMessage(String message) |
void |
webkitPostMessage(String message,
Indexable transfer) |
addEventListener, addEventListener, beginElement, beginElementAt, dispatchEvent, endElement, endElementAt, getAnimatedClassName, getAnimatedHeight, getAnimatedHref, getAnimatedResult, getAnimatedTransform, getAnimatedWidth, getAnimatedX, getAnimatedY, getBBox, getChildElementCount, getCTM, getExternalResourcesRequired, getFarthestViewportElement, getFirstElementChild, getLastElementChild, getNearestViewportElement, getNextElementSibling, getPresentationAttribute, getPreserveAspectRatio, getPreviousElementSibling, getRequiredExtensions, getRequiredFeatures, getScreenCTM, getSvgStyle, getSystemLanguage, getTransformToElement, getViewBox, getXmllang, getXmlspace, getZoomAndPan, hasExtension, querySelector, querySelectorAll, removeEventListener, removeEventListener, setXmllang, setXmlspace, setZoomAndPan
at, at, intAt, intAt, length, numberAt, numberAt, setAt, setAt, setAt, setAt, setAt, setAt
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addEventListener, addEventListener, dispatchEvent, removeEventListener, removeEventListener
intAt, length
numberAt
public final EventListener getOnmessage()
getOnmessage
in interface MessagePort
public final void setOnmessage(EventListener listener)
setOnmessage
in interface MessagePort
public final void close()
close
in interface MessagePort
public final void postMessage(String message)
MessagePort
Posts a message into the event queue.
aMessage
postMessage
in interface MessagePort
public final void postMessage(String message, Indexable messagePorts)
MessagePort
Posts a message into the event queue.
aMessage
postMessage
in interface MessagePort
public final void start()
start
in interface MessagePort
public final void webkitPostMessage(String message)
webkitPostMessage
in interface MessagePort
public final void webkitPostMessage(String message, Indexable transfer)
webkitPostMessage
in interface MessagePort
Copyright © 2016. All rights reserved.