Class GwtJ2clMediaViewPeer<N extends MediaView,NB extends NodePeerBase<N,NB,NM>,NM extends NodePeerMixin<N,NB,NM>>
java.lang.Object
dev.webfx.kit.mapper.peers.javafxgraphics.base.NodePeerImpl<N,NB,NM>
dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.shared.HtmlSvgNodePeer<elemental2.dom.HTMLElement,N,NB,NM>
dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.html.HtmlNodePeer<N,NB,NM>
dev.webfx.kit.mapper.peers.javafxmedia.spi.gwtj2cl.GwtJ2clMediaViewPeer<N,NB,NM>
- All Implemented Interfaces:
NodePeerMixin<N,,NB, NM> HasSizeChangedCallback,LayoutMeasurable,HtmlLayoutMeasurable,NodePeer<N>
public class GwtJ2clMediaViewPeer<N extends MediaView,NB extends NodePeerBase<N,NB,NM>,NM extends NodePeerMixin<N,NB,NM>>
extends HtmlNodePeer<N,NB,NM>
implements HtmlLayoutMeasurable, HasSizeChangedCallback
- Author:
- Bruno Salmon
-
Field Summary
Fields inherited from class dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.shared.HtmlSvgNodePeer
clip, clipMask, clipNodes, clipPath, containerTypeFields inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.html.layoutmeasurable.HtmlLayoutMeasurable
DETECT_WRONG_CACHE, ENABLE_CACHE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbind(N node, SceneRequester sceneRequester) doublemaxHeight(double width) doublemaxWidth(double height) doublemeasureElement(elemental2.dom.HTMLElement e, boolean measureWidth) doubleminHeight(double width) doubleminWidth(double height) doubleprefHeight(double width) doubleprefWidth(double height) voidsetSizeChangedCallback(Runnable sizeChangedCallback) Methods inherited from class dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.html.HtmlNodePeer
getEffectElement, getScenePeer, getSvgRoot, toCssTextAlignment, toCssTextAlignment, toFilter, toPx, updateAllNodeTransforms, updateEffectMethods inherited from class dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.shared.HtmlSvgNodePeer
applyClipClipNodes, applyClipMask, applyClipPath, clearLayoutCache, computeClipMask, computeClipPath, getChildrenContainer, getContainer, getElement, getHtmlFocusableElement, getJavaFxFocusableNode, getPeerFromElement, getPeerFromElementOrParents, getStyleAttribute, getVisibleContainer, installTouchListeners, isClip, isJavaFxFocusOwner, isTreeVisible, makeContainerInvisible, passHtmlTouchEventOnToFx, passOnToFx, requestFocus, setChildrenContainer, setContainer, setElementAttribute, setElementAttribute, setElementAttribute, setElementAttribute, setElementAttribute, setElementStyleAttribute, setElementTextContent, setFontAttributes, setFontAttributes, setJavaFxFocusOwner, setJavaFxFocusOwner, storePeerInElement, toContainerElement, toCssCursor, toNodePeer, updateBlendMode, updateClip, updateCursor, updateDisabled, updateId, updateLayoutX, updateLayoutY, updateMouseTransparent, updateOnDragDetected, updateOnDragDone, updateOnDragDropped, updateOnDragEntered, updateOnDragExited, updateOnDragOver, updateOpacity, updateRotate, updateScaleX, updateScaleY, updateStyleClass, updateTransforms, updateTranslateX, updateTranslateY, updateVisibleMethods inherited from class dev.webfx.kit.mapper.peers.javafxgraphics.base.NodePeerImpl
getNode, getNodePeerBaseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.html.layoutmeasurable.HtmlLayoutMeasurable
clearCache, getCache, getCacheOrMeasureElement, getElement, getLayoutBounds, measureHeight, measureLayoutBounds, measureWidth, prepareAndMeasureElementMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.base.NodePeerMixin
snapshot, unbind, updateList, updateProperty
-
Constructor Details
-
GwtJ2clMediaViewPeer
public GwtJ2clMediaViewPeer() -
GwtJ2clMediaViewPeer
-
-
Method Details
-
setSizeChangedCallback
- Specified by:
setSizeChangedCallbackin interfaceHasSizeChangedCallback
-
bind
- Specified by:
bindin interfaceNodePeer<N extends MediaView>- Specified by:
bindin interfaceNodePeerMixin<N extends MediaView,NB extends NodePeerBase<N, NB, NM>, NM extends NodePeerMixin<N, NB, NM>> - Overrides:
bindin classHtmlSvgNodePeer<elemental2.dom.HTMLElement,N extends MediaView, NB extends NodePeerBase<N, NB, NM>, NM extends NodePeerMixin<N, NB, NM>>
-
minWidth
public double minWidth(double height) - Specified by:
minWidthin interfaceHtmlLayoutMeasurable- Specified by:
minWidthin interfaceLayoutMeasurable
-
prefWidth
public double prefWidth(double height) - Specified by:
prefWidthin interfaceHtmlLayoutMeasurable- Specified by:
prefWidthin interfaceLayoutMeasurable
-
maxWidth
public double maxWidth(double height) - Specified by:
maxWidthin interfaceHtmlLayoutMeasurable- Specified by:
maxWidthin interfaceLayoutMeasurable
-
minHeight
public double minHeight(double width) - Specified by:
minHeightin interfaceHtmlLayoutMeasurable- Specified by:
minHeightin interfaceLayoutMeasurable
-
prefHeight
public double prefHeight(double width) - Specified by:
prefHeightin interfaceHtmlLayoutMeasurable- Specified by:
prefHeightin interfaceLayoutMeasurable
-
maxHeight
public double maxHeight(double width) - Specified by:
maxHeightin interfaceHtmlLayoutMeasurable- Specified by:
maxHeightin interfaceLayoutMeasurable
-
measureElement
public double measureElement(elemental2.dom.HTMLElement e, boolean measureWidth) - Specified by:
measureElementin interfaceHtmlLayoutMeasurable
-