Class SvgTextPeer<N extends Text,NB extends TextPeerBase<N,NB,NM>,NM extends TextPeerMixin<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.Element,N,NB,NM>
dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.svg.SvgNodePeer<N,NB,NM>
dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.svg.SvgShapePeer<N,NB,NM>
dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.svg.SvgTextPeer<N,NB,NM>
- All Implemented Interfaces:
NodePeerMixin<N,
,NB, NM> ShapePeerMixin<N,
,NB, NM> TextPeerMixin<N,
,NB, NM> NodePeer<N>
public final class SvgTextPeer<N extends Text,NB extends TextPeerBase<N,NB,NM>,NM extends TextPeerMixin<N,NB,NM>>
extends SvgShapePeer<N,NB,NM>
implements TextPeerMixin<N,NB,NM>
- 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
updateFont
(Font font) void
updateLineSpacing
(Number lineSpacing) void
updateText
(String text) void
updateTextAlignment
(TextAlignment textAlignment) void
updateTextOrigin
(VPos textOrigin) void
updateWrappingWidth
(Double wrappingWidth) void
void
Methods inherited from class dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.svg.SvgShapePeer
getBBox, updateAllNodeTransforms, updateFill, updateSmooth, updateStroke, updateStrokeDashArray, updateStrokeDashOffset, updateStrokeLineCap, updateStrokeLineJoin, updateStrokeMiterLimit, updateStrokeType, updateStrokeWidth
Methods inherited from class dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.svg.SvgNodePeer
computeClipPath, toFilter
Methods inherited from class dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.shared.HtmlSvgNodePeer
applyClipPath, applyClipPathToClipNodes, bind, clearLayoutCache, 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, updateEffect, 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.base.NodePeerMixin
bind, getNode, getNodePeerBase, isTreeVisible, requestFocus, snapshot, unbind, updateAllNodeTransforms, updateBlendMode, updateClip, updateCursor, updateDisabled, updateEffect, updateId, updateLayoutX, updateLayoutY, updateList, updateMouseTransparent, updateOnDragDetected, updateOnDragDone, updateOnDragDropped, updateOnDragEntered, updateOnDragExited, updateOnDragOver, updateOpacity, updateProperty, updateRotate, updateScaleX, updateScaleY, updateStyleClass, updateTransforms, updateTranslateX, updateTranslateY, updateVisible
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.base.ShapePeerMixin
updateFill, updateSmooth, updateStroke, updateStrokeDashArray, updateStrokeDashOffset, updateStrokeLineCap, updateStrokeLineJoin, updateStrokeMiterLimit, updateStrokeType, updateStrokeWidth
-
Constructor Details
-
SvgTextPeer
public SvgTextPeer() -
SvgTextPeer
-
-
Method Details
-
updateText
- Specified by:
updateText
in interfaceTextPeerMixin<N extends Text,
NB extends TextPeerBase<N, NB, NM>, NM extends TextPeerMixin<N, NB, NM>>
-
updateTextOrigin
- Specified by:
updateTextOrigin
in interfaceTextPeerMixin<N extends Text,
NB extends TextPeerBase<N, NB, NM>, NM extends TextPeerMixin<N, NB, NM>>
-
updateX
- Specified by:
updateX
in interfaceTextPeerMixin<N extends Text,
NB extends TextPeerBase<N, NB, NM>, NM extends TextPeerMixin<N, NB, NM>>
-
updateY
- Specified by:
updateY
in interfaceTextPeerMixin<N extends Text,
NB extends TextPeerBase<N, NB, NM>, NM extends TextPeerMixin<N, NB, NM>>
-
updateWrappingWidth
- Specified by:
updateWrappingWidth
in interfaceTextPeerMixin<N extends Text,
NB extends TextPeerBase<N, NB, NM>, NM extends TextPeerMixin<N, NB, NM>>
-
updateLineSpacing
- Specified by:
updateLineSpacing
in interfaceTextPeerMixin<N extends Text,
NB extends TextPeerBase<N, NB, NM>, NM extends TextPeerMixin<N, NB, NM>>
-
updateTextAlignment
- Specified by:
updateTextAlignment
in interfaceTextPeerMixin<N extends Text,
NB extends TextPeerBase<N, NB, NM>, NM extends TextPeerMixin<N, NB, NM>>
-
updateFont
- Specified by:
updateFont
in interfaceTextPeerMixin<N extends Text,
NB extends TextPeerBase<N, NB, NM>, NM extends TextPeerMixin<N, NB, NM>>
-