Class GwtJ2clMediaViewPeer<E extends elemental2.dom.Element,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<E,N,NB,NM>
- All Implemented Interfaces:
NodePeerMixin<N,
,NB, NM> HasSizeChangedCallback
,LayoutMeasurable
,HtmlLayoutMeasurable
,NodePeer<N>
public class GwtJ2clMediaViewPeer<E extends elemental2.dom.Element,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, clipNodes, clipPath, containerType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
bind
(N node, SceneRequester sceneRequester) double
maxHeight
(double width) double
maxWidth
(double height) double
measure
(elemental2.dom.HTMLElement e, boolean width) double
minHeight
(double width) double
minWidth
(double height) double
prefHeight
(double width) double
prefWidth
(double height) void
setSizeChangedCallback
(Runnable sizeChangedCallback) Methods inherited from class dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.html.HtmlNodePeer
fromPx, getEffectElement, toCssTextAlignment, toCssTextAlignment, toFilter, toPx, updateAllNodeTransforms, updateEffect
Methods inherited from class dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.shared.HtmlSvgNodePeer
applyClipPath, applyClipPathToClipNodes, clearLayoutCache, 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, updateVisible
Methods inherited from class dev.webfx.kit.mapper.peers.javafxgraphics.base.NodePeerImpl
getNode, getNodePeerBase
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.html.layoutmeasurable.HtmlLayoutMeasurable
clearCache, getCache, getElement, getLayoutBounds, measureHeight, measureLayoutBounds, measureWidth, sizeAndMeasure
Methods 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:
setSizeChangedCallback
in interfaceHasSizeChangedCallback
-
bind
- Specified by:
bind
in interfaceNodePeer<E extends elemental2.dom.Element>
- Specified by:
bind
in interfaceNodePeerMixin<E extends elemental2.dom.Element,
N extends MediaView, NB extends NodePeerBase<N, NB, NM>> - Overrides:
bind
in 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:
minWidth
in interfaceHtmlLayoutMeasurable
- Specified by:
minWidth
in interfaceLayoutMeasurable
-
prefWidth
public double prefWidth(double height) - Specified by:
prefWidth
in interfaceHtmlLayoutMeasurable
- Specified by:
prefWidth
in interfaceLayoutMeasurable
-
maxWidth
public double maxWidth(double height) - Specified by:
maxWidth
in interfaceHtmlLayoutMeasurable
- Specified by:
maxWidth
in interfaceLayoutMeasurable
-
minHeight
public double minHeight(double width) - Specified by:
minHeight
in interfaceHtmlLayoutMeasurable
- Specified by:
minHeight
in interfaceLayoutMeasurable
-
prefHeight
public double prefHeight(double width) - Specified by:
prefHeight
in interfaceHtmlLayoutMeasurable
- Specified by:
prefHeight
in interfaceLayoutMeasurable
-
maxHeight
public double maxHeight(double width) - Specified by:
maxHeight
in interfaceHtmlLayoutMeasurable
- Specified by:
maxHeight
in interfaceLayoutMeasurable
-
measure
public double measure(elemental2.dom.HTMLElement e, boolean width) - Specified by:
measure
in interfaceHtmlLayoutMeasurable
-