Class HtmlRegionPeer<N extends Region,NB extends RegionPeerBase<N,NB,NM>,NM extends RegionPeerMixin<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>
- All Implemented Interfaces:
NodePeerMixin<N,
,NB, NM> RegionPeerMixin<N,
,NB, NM> NodePeer<N>
- Direct Known Subclasses:
HtmlBrowserRegionPeer
,HtmlControlPeer
,HtmlJavaFXRegionPeer
,HtmlProgressBarPeer
,HtmlScrollPanePeer
,HtmlSliderPeer
public abstract class HtmlRegionPeer<N extends Region,NB extends RegionPeerBase<N,NB,NM>,NM extends RegionPeerMixin<N,NB,NM>>
extends HtmlNodePeer<N,NB,NM>
implements RegionPeerMixin<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
ConstructorsModifierConstructorDescriptionprotected
HtmlRegionPeer
(NB base, elemental2.dom.HTMLElement element) -
Method Summary
Modifier and TypeMethodDescriptionprotected elemental2.dom.HTMLElement
protected elemental2.dom.HTMLElement
protected elemental2.dom.HTMLElement
protected elemental2.dom.CSSProperties.PaddingUnionType
toCssPadding
(Insets padding) void
updateBackground
(Background background) void
updateBorder
(Border border) void
updateHeight
(Number height) void
updatePadding
(Insets padding) void
updateWidth
(Number width) 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.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
-
Constructor Details
-
HtmlRegionPeer
-
-
Method Details
-
updateWidth
- Specified by:
updateWidth
in interfaceRegionPeerMixin<N extends Region,
NB extends RegionPeerBase<N, NB, NM>, NM extends RegionPeerMixin<N, NB, NM>>
-
updateHeight
- Specified by:
updateHeight
in interfaceRegionPeerMixin<N extends Region,
NB extends RegionPeerBase<N, NB, NM>, NM extends RegionPeerMixin<N, NB, NM>>
-
updateBackground
- Specified by:
updateBackground
in interfaceRegionPeerMixin<N extends Region,
NB extends RegionPeerBase<N, NB, NM>, NM extends RegionPeerMixin<N, NB, NM>>
-
getBackgroundElement
protected elemental2.dom.HTMLElement getBackgroundElement() -
getBorderElement
protected elemental2.dom.HTMLElement getBorderElement() -
getEffectElement
protected elemental2.dom.HTMLElement getEffectElement()- Overrides:
getEffectElement
in classHtmlNodePeer<N extends Region,
NB extends RegionPeerBase<N, NB, NM>, NM extends RegionPeerMixin<N, NB, NM>>
-
updateBorder
- Specified by:
updateBorder
in interfaceRegionPeerMixin<N extends Region,
NB extends RegionPeerBase<N, NB, NM>, NM extends RegionPeerMixin<N, NB, NM>>
-
updatePadding
- Specified by:
updatePadding
in interfaceRegionPeerMixin<N extends Region,
NB extends RegionPeerBase<N, NB, NM>, NM extends RegionPeerMixin<N, NB, NM>>
-
toCssPadding
-