Class HtmlTextInputControlPeer<N extends TextInputControl,NB extends TextInputControlPeerBase<N,NB,NM>,NM extends TextInputControlPeerMixin<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.HtmlTextInputControlPeer<N,NB,NM>
- All Implemented Interfaces:
ControlPeerMixin<N,
,NB, NM> TextInputControlPeerMixin<N,
,NB, NM> NodePeerMixin<N,
,NB, NM> RegionPeerMixin<N,
,NB, NM> NodePeer<N>
,TextInputControl.SelectableTextInputControlPeer
- Direct Known Subclasses:
HtmlTextAreaPeer
,HtmlTextFieldPeer
public abstract class HtmlTextInputControlPeer<N extends TextInputControl,NB extends TextInputControlPeerBase<N,NB,NM>,NM extends TextInputControlPeerMixin<N,NB,NM>>
extends HtmlControlPeer<N,NB,NM>
implements TextInputControlPeerMixin<N,NB,NM>, TextInputControl.SelectableTextInputControlPeer
- 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
ConstructorDescriptionHtmlTextInputControlPeer
(NB base, elemental2.dom.HTMLElement textInputElement, String containerTag) -
Method Summary
Modifier and TypeMethodDescriptionvoid
bind
(N node, SceneRequester sceneRequester) protected String
getValue()
void
selectRange
(int anchor, int caretPosition) protected void
void
updateEditable
(Boolean editable) void
updateFont
(Font font) void
updatePromptText
(String promptText) void
updateText
(String text) 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, 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.base.NodePeerMixin
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
-
HtmlTextInputControlPeer
-
-
Method Details
-
bind
- Specified by:
bind
in interfaceNodePeer<N extends TextInputControl>
- Specified by:
bind
in interfaceNodePeerMixin<N extends TextInputControl,
NB extends TextInputControlPeerBase<N, NB, NM>, NM extends TextInputControlPeerMixin<N, NB, NM>> - Overrides:
bind
in classHtmlSvgNodePeer<elemental2.dom.HTMLElement,
N extends TextInputControl, NB extends TextInputControlPeerBase<N, NB, NM>, NM extends TextInputControlPeerMixin<N, NB, NM>>
-
selectRange
public void selectRange(int anchor, int caretPosition) - Specified by:
selectRange
in interfaceTextInputControl.SelectableTextInputControlPeer
-
updateFont
- Specified by:
updateFont
in interfaceTextInputControlPeerMixin<N extends TextInputControl,
NB extends TextInputControlPeerBase<N, NB, NM>, NM extends TextInputControlPeerMixin<N, NB, NM>>
-
updateText
- Specified by:
updateText
in interfaceTextInputControlPeerMixin<N extends TextInputControl,
NB extends TextInputControlPeerBase<N, NB, NM>, NM extends TextInputControlPeerMixin<N, NB, NM>>
-
updatePromptText
- Specified by:
updatePromptText
in interfaceTextInputControlPeerMixin<N extends TextInputControl,
NB extends TextInputControlPeerBase<N, NB, NM>, NM extends TextInputControlPeerMixin<N, NB, NM>>
-
updateEditable
- Specified by:
updateEditable
in interfaceTextInputControlPeerMixin<N extends TextInputControl,
NB extends TextInputControlPeerBase<N, NB, NM>, NM extends TextInputControlPeerMixin<N, NB, NM>>
-
getValue
-
setValue
-