Class HtmlToggleButtonPeer<N extends ToggleButton,NB extends ToggleButtonPeerBase<N,NB,NM>,NM extends ToggleButtonPeerMixin<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.HtmlToggleButtonPeer<N,NB,NM>
- All Implemented Interfaces:
ButtonBasePeerMixin<N,
,NB, NM> ControlPeerMixin<N,
,NB, NM> LabeledPeerMixin<N,
,NB, NM> ToggleButtonPeerMixin<N,
,NB, NM> NodePeerMixin<N,
,NB, NM> RegionPeerMixin<N,
,NB, NM> LayoutMeasurable
,HtmlLayoutMeasurable
,NodePeer<N>
public final class HtmlToggleButtonPeer<N extends ToggleButton,NB extends ToggleButtonPeerBase<N,NB,NM>,NM extends ToggleButtonPeerMixin<N,NB,NM>>
extends HtmlControlPeer<N,NB,NM>
implements ToggleButtonPeerMixin<N,NB,NM>, HtmlLayoutMeasurable
- 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 TypeMethodDescriptiongetCache()
double
maxHeight
(double width) void
updateFont
(Font font) void
updateGraphic
(Node graphic) protected void
void
updateLineSpacing
(Number lineSpacing) void
updateSelected
(Boolean selected) 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.javafxgraphics.gwtj2cl.html.layoutmeasurable.HtmlLayoutMeasurable
clearCache, getElement, getLayoutBounds, maxWidth, measure, measureHeight, measureLayoutBounds, measureWidth, minHeight, minWidth, prefHeight, prefWidth, sizeAndMeasure
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
-
HtmlToggleButtonPeer
public HtmlToggleButtonPeer() -
HtmlToggleButtonPeer
-
-
Method Details
-
updateSelected
- Specified by:
updateSelected
in interfaceToggleButtonPeerMixin<N extends ToggleButton,
NB extends ToggleButtonPeerBase<N, NB, NM>, NM extends ToggleButtonPeerMixin<N, NB, NM>>
-
maxHeight
public double maxHeight(double width) - Specified by:
maxHeight
in interfaceHtmlLayoutMeasurable
- Specified by:
maxHeight
in interfaceLayoutMeasurable
-
getCache
- Specified by:
getCache
in interfaceHtmlLayoutMeasurable
-
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>>
-