Class HtmlLinePeer<N extends Line,NB extends LinePeerBase<N,NB,NM>,NM extends LinePeerMixin<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.javafxgraphics.gwtj2cl.html.HtmlSVGShapePeer<N,NB,NM>
dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.html.HtmlLinePeer<N,NB,NM>
- All Implemented Interfaces:
LinePeerMixin<N,
,NB, NM> NodePeerMixin<N,
,NB, NM> ShapePeerMixin<N,
,NB, NM> NodePeer<N>
public final class HtmlLinePeer<N extends Line,NB extends LinePeerBase<N,NB,NM>,NM extends LinePeerMixin<N,NB,NM>>
extends HtmlSVGShapePeer<N,NB,NM>
implements LinePeerMixin<N,NB,NM>
- Author:
- Bruno Salmon
-
Field Summary
Fields inherited from class dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.html.HtmlSVGShapePeer
bBox, height, svgElement, width, x, y
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
updateCursor
(Cursor cursor) void
updateEndX
(Double endX) void
updateEndY
(Double endY) void
updateSmooth
(Boolean smooth) void
updateStartX
(Double startX) void
updateStartY
(Double startY) protected void
Methods inherited from class dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.html.HtmlSVGShapePeer
bind, getBBox, updateAllNodeTransforms, updateEffect, updateFill, updateStroke, updateStrokeDashArray, updateStrokeDashOffset, updateStrokeLineCap, updateStrokeLineJoin, updateStrokeMiterLimit, updateStrokeType, updateStrokeWidth
Methods inherited from class dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.html.HtmlNodePeer
fromPx, getEffectElement, toCssTextAlignment, toCssTextAlignment, toFilter, toPx
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, 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.base.NodePeerMixin
bind, getNode, getNodePeerBase, isTreeVisible, requestFocus, snapshot, unbind, updateAllNodeTransforms, updateBlendMode, updateClip, 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
-
HtmlLinePeer
public HtmlLinePeer() -
HtmlLinePeer
-
-
Method Details
-
updateStartX
- Specified by:
updateStartX
in interfaceLinePeerMixin<N extends Line,
NB extends LinePeerBase<N, NB, NM>, NM extends LinePeerMixin<N, NB, NM>>
-
updateStartY
- Specified by:
updateStartY
in interfaceLinePeerMixin<N extends Line,
NB extends LinePeerBase<N, NB, NM>, NM extends LinePeerMixin<N, NB, NM>>
-
updateEndX
- Specified by:
updateEndX
in interfaceLinePeerMixin<N extends Line,
NB extends LinePeerBase<N, NB, NM>, NM extends LinePeerMixin<N, NB, NM>>
-
updateEndY
- Specified by:
updateEndY
in interfaceLinePeerMixin<N extends Line,
NB extends LinePeerBase<N, NB, NM>, NM extends LinePeerMixin<N, NB, NM>>
-
updateCursor
- Specified by:
updateCursor
in interfaceNodePeerMixin<N extends Line,
NB extends LinePeerBase<N, NB, NM>, NM extends LinePeerMixin<N, NB, NM>> - Overrides:
updateCursor
in classHtmlSvgNodePeer<elemental2.dom.HTMLElement,
N extends Line, NB extends LinePeerBase<N, NB, NM>, NM extends LinePeerMixin<N, NB, NM>>
-
updateSmooth
- Specified by:
updateSmooth
in interfaceShapePeerMixin<N extends Shape,
NB extends ShapePeerBase<N, NB, NM>, NM extends ShapePeerMixin<N, NB, NM>>
-
updateStroke
protected void updateStroke()
-