Class HtmlButtonPeer<N extends Button,NB extends ButtonPeerBase<N,NB,NM>,NM extends ButtonPeerMixin<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.HtmlButtonPeer<N,NB,NM>
- All Implemented Interfaces:
ButtonBasePeerMixin<N,
,NB, NM> ButtonPeerMixin<N,
,NB, NM> ControlPeerMixin<N,
,NB, NM> LabeledPeerMixin<N,
,NB, NM> NodePeerMixin<N,
,NB, NM> RegionPeerMixin<N,
,NB, NM> NoWrapWhiteSpacePeer
,NodePeer<N>
public final class HtmlButtonPeer<N extends Button,NB extends ButtonPeerBase<N,NB,NM>,NM extends ButtonPeerMixin<N,NB,NM>>
extends HtmlControlPeer<N,NB,NM>
implements ButtonPeerMixin<N,NB,NM>, NoWrapWhiteSpacePeer
- 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
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
fromPx, toCssTextAlignment, toCssTextAlignment, toFilter, toPx, updateAllNodeTransforms, updateEffect
Methods inherited from class dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.shared.HtmlSvgNodePeer
applyClipPath, applyClipPathToClipNodes, bind, 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.javafxcontrols.base.LabeledPeerMixin
updateFont, 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
-
HtmlButtonPeer
public HtmlButtonPeer() -
HtmlButtonPeer
-
-
Method Details
-
updateGraphic
- Specified by:
updateGraphic
in interfaceLabeledPeerMixin<N extends Button,
NB extends ButtonPeerBase<N, NB, NM>, NM extends ButtonPeerMixin<N, NB, NM>>
-
updateText
- Specified by:
updateText
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>>
-