Class HtmlLabelPeer<N extends Label,NB extends LabelPeerBase<N,NB,NM>,NM extends LabelPeerMixin<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.HtmlRegionPeer<N,NB,NM>
dev.webfx.kit.mapper.peers.javafxcontrols.gwtj2cl.html.HtmlControlPeer<N,NB,NM>
dev.webfx.kit.mapper.peers.javafxcontrols.gwtj2cl.html.HtmlLabelPeer<N,NB,NM>
- All Implemented Interfaces:
ControlPeerMixin<N,
,NB, NM> LabeledPeerMixin<N,
,NB, NM> LabelPeerMixin<N,
,NB, NM> NodePeerMixin<N,
,NB, NM> RegionPeerMixin<N,
,NB, NM> LayoutMeasurable
,HtmlLayoutMeasurable
,HtmlLayoutMeasurableNoGrow
,HtmlLayoutMeasurableNoHGrow
,HtmlLayoutMeasurableNoVGrow
,NodePeer<N>
public final class HtmlLabelPeer<N extends Label,NB extends LabelPeerBase<N,NB,NM>,NM extends LabelPeerMixin<N,NB,NM>>
extends HtmlControlPeer<N,NB,NM>
implements LabelPeerMixin<N,NB,NM>, HtmlLayoutMeasurableNoGrow
- Author:
- Bruno Salmon
-
Field Summary
Fields inherited from class dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.shared.HtmlSvgNodePeer
clip, clipMask, clipNodes, clipPath, containerType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
updateFont
(Font font) void
updateGraphic
(Node graphic) protected void
void
updateLineSpacing
(Number lineSpacing) void
updateText
(String text) void
updateTextAlignment
(TextAlignment textAlignment) void
updateTextFill
(Paint textFill) void
updateWrapText
(boolean wrapText) Methods inherited from class dev.webfx.kit.mapper.peers.javafxcontrols.gwtj2cl.html.HtmlControlPeer
doesSkinRelyOnPeerToProvideVisualContent, prepareDomForAdditionalSkinChildren, updatePadding
Methods inherited from class dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.html.HtmlRegionPeer
getBackgroundElement, getBorderElement, getEffectElement, toCssPadding, updateBackground, updateBorder, updateHeight, updateWidth
Methods inherited from class dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.html.HtmlNodePeer
getScenePeer, getSvgRoot, toCssTextAlignment, toCssTextAlignment, toFilter, toPx, updateAllNodeTransforms, updateEffect
Methods inherited from class dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.shared.HtmlSvgNodePeer
applyClipClipNodes, applyClipMask, applyClipPath, bind, clearLayoutCache, computeClipMask, computeClipPath, getChildrenContainer, getContainer, getElement, getHtmlFocusableElement, getJavaFxFocusableNode, getPeerFromElement, getPeerFromElementOrParents, getStyleAttribute, getVisibleContainer, installTouchListeners, isClip, isJavaFxFocusOwner, isScrolling, isTreeVisible, makeContainerInvisible, passHtmlTouchEventOnToFx, passOnToFx, requestFocus, setChildrenContainer, setContainer, setElementAttribute, setElementAttribute, setElementAttribute, setElementAttribute, setElementAttribute, setElementStyleAttribute, setElementTextContent, setFontAttributes, setFontAttributes, setJavaFxFocusOwner, setJavaFxFocusOwner, setScrolling, 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, measure, measureHeight, measureLayoutBounds, measureWidth, prefHeight, prefWidth, sizeAndMeasure
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.html.layoutmeasurable.HtmlLayoutMeasurableNoHGrow
maxWidth, minWidth
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.html.layoutmeasurable.HtmlLayoutMeasurableNoVGrow
maxHeight, minHeight
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxcontrols.base.LabeledPeerMixin
updateFont, updateGraphic, updateLineSpacing, updateText, updateTextAlignment, updateTextFill, updateWrapText
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.RegionPeerMixin
updateBackground, updateBorder, updateHeight, updatePadding, updateWidth
-
Constructor Details
-
HtmlLabelPeer
public HtmlLabelPeer() -
HtmlLabelPeer
-
-
Method Details
-
updateText
- Specified by:
updateText
in interfaceLabeledPeerMixin<N extends Labeled,
NB extends LabeledPeerBase<N, NB, NM>, NM extends LabeledPeerMixin<N, NB, NM>>
-
updateGraphic
- Specified by:
updateGraphic
in interfaceLabeledPeerMixin<N extends Labeled,
NB extends LabeledPeerBase<N, NB, NM>, NM extends LabeledPeerMixin<N, NB, NM>>
-
updateHtmlContent
protected void updateHtmlContent() -
updateFont
- Specified by:
updateFont
in interfaceLabeledPeerMixin<N extends Labeled,
NB extends LabeledPeerBase<N, NB, NM>, NM extends LabeledPeerMixin<N, NB, NM>>
-
updateTextAlignment
- Specified by:
updateTextAlignment
in interfaceLabeledPeerMixin<N extends Labeled,
NB extends LabeledPeerBase<N, NB, NM>, NM extends LabeledPeerMixin<N, NB, NM>>
-
updateTextFill
- Specified by:
updateTextFill
in interfaceLabeledPeerMixin<N extends Labeled,
NB extends LabeledPeerBase<N, NB, NM>, NM extends LabeledPeerMixin<N, NB, NM>>
-
updateWrapText
public void updateWrapText(boolean wrapText) - Specified by:
updateWrapText
in interfaceLabeledPeerMixin<N extends Labeled,
NB extends LabeledPeerBase<N, NB, NM>, NM extends LabeledPeerMixin<N, NB, NM>>
-
updateLineSpacing
- Specified by:
updateLineSpacing
in interfaceLabeledPeerMixin<N extends Labeled,
NB extends LabeledPeerBase<N, NB, NM>, NM extends LabeledPeerMixin<N, NB, NM>>
-