Class FxNodePeer<FxN extends Node,N extends Node,NB extends NodePeerBase<N,NB,NM>,NM extends NodePeerMixin<N,NB,NM>>
java.lang.Object
dev.webfx.kit.mapper.peers.javafxgraphics.base.NodePeerImpl<N,NB,NM>
dev.webfx.kit.mapper.peers.javafxgraphics.openjfx.FxNodePeer<FxN,N,NB,NM>
- All Implemented Interfaces:
NodePeerMixin<N,
,NB, NM> NodePeer<N>
- Direct Known Subclasses:
FxRegionPeer
public abstract class FxNodePeer<FxN extends Node,N extends Node,NB extends NodePeerBase<N,NB,NM>,NM extends NodePeerMixin<N,NB,NM>>
extends NodePeerImpl<N,NB,NM>
implements NodePeerMixin<N,NB,NM>
- Author:
- Bruno Salmon
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
bind
(N node, SceneRequester sceneRequester) protected abstract FxN
protected void
void
void
updateAllNodeTransforms
(List<Transform> allNodeTransforms) void
updateBlendMode
(BlendMode blendMode) void
updateClip
(Node clip) void
updateCursor
(Cursor cursor) void
updateDisabled
(Boolean disabled) void
updateEffect
(Effect effect) void
void
updateLayoutX
(Number layoutX) void
updateLayoutY
(Number layoutY) void
updateMouseTransparent
(Boolean mouseTransparent) void
updateOnDragDetected
(EventHandler<? super MouseEvent> eventHandler) void
updateOnDragDone
(EventHandler<? super DragEvent> eventHandler) void
updateOnDragDropped
(EventHandler<? super DragEvent> eventHandler) void
updateOnDragEntered
(EventHandler<? super DragEvent> eventHandler) void
updateOnDragExited
(EventHandler<? super DragEvent> eventHandler) void
updateOnDragOver
(EventHandler<? super DragEvent> eventHandler) void
updateOpacity
(Double opacity) void
updateRotate
(Number rotate) void
updateScaleX
(Number scaleX) void
updateScaleY
(Number scaleX) void
updateStyleClass
(List<String> styleClass, ListChangeListener.Change<String> change) void
updateTransforms
(List<Transform> transforms, ListChangeListener.Change<Transform> change) void
updateTranslateX
(Number translateX) void
updateTranslateY
(Number translateY) void
updateVisible
(Boolean visible) 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, snapshot, unbind, updateList, updateProperty
-
Constructor Details
-
FxNodePeer
-
-
Method Details
-
getFxNode
-
createFxNode
-
onFxNodeCreated
protected void onFxNodeCreated() -
bind
-
requestFocus
public void requestFocus()- Specified by:
requestFocus
in interfaceNodePeer<FxN extends Node>
- Specified by:
requestFocus
in interfaceNodePeerMixin<FxN extends Node,
N extends Node, NB extends NodePeerBase<N, NB, NM>> - Overrides:
requestFocus
in classNodePeerImpl<N extends Node,
NB extends NodePeerBase<N, NB, NM>, NM extends NodePeerMixin<N, NB, NM>>
-
updateMouseTransparent
- Specified by:
updateMouseTransparent
in interfaceNodePeerMixin<FxN extends Node,
N extends Node, NB extends NodePeerBase<N, NB, NM>>
-
updateId
-
updateVisible
- Specified by:
updateVisible
in interfaceNodePeerMixin<FxN extends Node,
N extends Node, NB extends NodePeerBase<N, NB, NM>>
-
updateOpacity
- Specified by:
updateOpacity
in interfaceNodePeerMixin<FxN extends Node,
N extends Node, NB extends NodePeerBase<N, NB, NM>>
-
updateDisabled
- Specified by:
updateDisabled
in interfaceNodePeerMixin<FxN extends Node,
N extends Node, NB extends NodePeerBase<N, NB, NM>>
-
updateBlendMode
- Specified by:
updateBlendMode
in interfaceNodePeerMixin<FxN extends Node,
N extends Node, NB extends NodePeerBase<N, NB, NM>>
-
updateEffect
- Specified by:
updateEffect
in interfaceNodePeerMixin<FxN extends Node,
N extends Node, NB extends NodePeerBase<N, NB, NM>>
-
updateClip
- Specified by:
updateClip
in interfaceNodePeerMixin<FxN extends Node,
N extends Node, NB extends NodePeerBase<N, NB, NM>>
-
updateLayoutX
- Specified by:
updateLayoutX
in interfaceNodePeerMixin<FxN extends Node,
N extends Node, NB extends NodePeerBase<N, NB, NM>>
-
updateLayoutY
- Specified by:
updateLayoutY
in interfaceNodePeerMixin<FxN extends Node,
N extends Node, NB extends NodePeerBase<N, NB, NM>>
-
updateTranslateX
- Specified by:
updateTranslateX
in interfaceNodePeerMixin<FxN extends Node,
N extends Node, NB extends NodePeerBase<N, NB, NM>>
-
updateTranslateY
- Specified by:
updateTranslateY
in interfaceNodePeerMixin<FxN extends Node,
N extends Node, NB extends NodePeerBase<N, NB, NM>>
-
updateScaleX
- Specified by:
updateScaleX
in interfaceNodePeerMixin<FxN extends Node,
N extends Node, NB extends NodePeerBase<N, NB, NM>>
-
updateScaleY
- Specified by:
updateScaleY
in interfaceNodePeerMixin<FxN extends Node,
N extends Node, NB extends NodePeerBase<N, NB, NM>>
-
updateRotate
- Specified by:
updateRotate
in interfaceNodePeerMixin<FxN extends Node,
N extends Node, NB extends NodePeerBase<N, NB, NM>>
-
updateTransforms
public void updateTransforms(List<Transform> transforms, ListChangeListener.Change<Transform> change) - Specified by:
updateTransforms
in interfaceNodePeerMixin<FxN extends Node,
N extends Node, NB extends NodePeerBase<N, NB, NM>>
-
updateStyleClass
- Specified by:
updateStyleClass
in interfaceNodePeerMixin<FxN extends Node,
N extends Node, NB extends NodePeerBase<N, NB, NM>>
-
updateAllNodeTransforms
- Specified by:
updateAllNodeTransforms
in interfaceNodePeerMixin<FxN extends Node,
N extends Node, NB extends NodePeerBase<N, NB, NM>>
-
updateCursor
- Specified by:
updateCursor
in interfaceNodePeerMixin<FxN extends Node,
N extends Node, NB extends NodePeerBase<N, NB, NM>>
-
updateOnDragDetected
- Specified by:
updateOnDragDetected
in interfaceNodePeerMixin<FxN extends Node,
N extends Node, NB extends NodePeerBase<N, NB, NM>>
-
updateOnDragEntered
- Specified by:
updateOnDragEntered
in interfaceNodePeerMixin<FxN extends Node,
N extends Node, NB extends NodePeerBase<N, NB, NM>>
-
updateOnDragDropped
- Specified by:
updateOnDragDropped
in interfaceNodePeerMixin<FxN extends Node,
N extends Node, NB extends NodePeerBase<N, NB, NM>>
-
updateOnDragOver
- Specified by:
updateOnDragOver
in interfaceNodePeerMixin<FxN extends Node,
N extends Node, NB extends NodePeerBase<N, NB, NM>>
-
updateOnDragExited
- Specified by:
updateOnDragExited
in interfaceNodePeerMixin<FxN extends Node,
N extends Node, NB extends NodePeerBase<N, NB, NM>>
-
updateOnDragDone
- Specified by:
updateOnDragDone
in interfaceNodePeerMixin<FxN extends Node,
N extends Node, NB extends NodePeerBase<N, NB, NM>>
-