Package javafx.scene
Interface INode
- All Superinterfaces:
HasBlendModeProperty
,HasClipProperty
,HasEffectProperty
,HasLayoutXProperty
,HasLayoutYProperty
,HasManagedProperty
,HasMouseTransparentProperty
,HasOnMouseClickedProperty
,HasOpacityProperty
,HasParentProperty
,HasVisibleProperty
,LayoutMeasurable
,LayoutMeasurableMixin
- All Known Subinterfaces:
PreferenceResizableNode
- All Known Implementing Classes:
AnchorPane
,Arc
,BorderPane
,Button
,ButtonBar
,ButtonBase
,Canvas
,Cell
,CheckBox
,ChoiceBox
,Circle
,ComboBoxBase
,ContextMenuContent
,ContextMenuContent.MenuItemContainer
,Control
,DatePicker
,DialogPane
,FlowPane
,GridPane
,Group
,HBox
,Hyperlink
,ImageView
,Label
,Labeled
,LabeledText
,Line
,MediaView
,Node
,Pane
,Parent
,PasswordField
,Path
,PopupControl.CSSBridge
,ProgressBar
,ProgressIndicator
,RadioButton
,Rectangle
,Region
,ScrollPane
,Separator
,Shape
,Slider
,SplitPane
,StackPane
,SubtractShape
,SVGPath
,TabPane
,Text
,TextArea
,TextField
,TextFlow
,TextInputControl
,TitledPane
,ToggleButton
,ToolkitTextBox
,VBox
,WebView
public interface INode
extends LayoutMeasurableMixin, HasParentProperty, HasManagedProperty, HasMouseTransparentProperty, HasOnMouseClickedProperty, HasLayoutXProperty, HasLayoutYProperty, HasVisibleProperty, HasOpacityProperty, HasClipProperty, HasBlendModeProperty, HasEffectProperty
- Author:
- Bruno Salmon
-
Property Summary
Properties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasBlendModeProperty
blendMode
Properties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasClipProperty
clip
Properties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasEffectProperty
effect
Properties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasLayoutXProperty
layoutX
Properties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasLayoutYProperty
layoutY
Properties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasManagedProperty
managed
Properties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasMouseTransparentProperty
mouseTransparent
Properties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasOnMouseClickedProperty
onMouseClicked
Properties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasOpacityProperty
opacity
Properties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasParentProperty
parent
Properties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasVisibleProperty
visible
-
Field Summary
Modifier and TypeFieldDescriptionstatic final double
This is a special value that might be returned bygetBaselineOffset()
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
autosize()
default double
The 'alphabetic' (or 'roman') baseline offset from the node's layoutBounds.minY location that should be used when this node is being vertically aligned by baseline with other nodes.default Orientation
Returns an observable map of properties on this node for use primarily by application developers.getScene()
boolean
Tests if Node has properties.default boolean
default void
relocate
(double x, double y) default void
resize
(double width, double height) default void
resizeRelocate
(double x, double y, double width, double height) Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasBlendModeProperty
blendModeProperty, getBlendMode, setBlendMode
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasClipProperty
clipProperty, getClip, setClip
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasEffectProperty
effectProperty, getEffect, setEffect
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasLayoutXProperty
getLayoutX, layoutXProperty, setLayoutX
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasLayoutYProperty
getLayoutY, layoutYProperty, setLayoutY
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasManagedProperty
isManaged, managedProperty, setManaged
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasMouseTransparentProperty
isMouseTransparent, mouseTransparentProperty, setMouseTransparent
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasOnMouseClickedProperty
getOnMouseClicked, onMouseClickedProperty, setOnMouseClicked
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasOpacityProperty
getOpacity, opacityProperty, setOpacity
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasParentProperty
getParent, parentProperty, setParent
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasVisibleProperty
isVisible, setVisible, visibleProperty
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.emul_coupling.LayoutMeasurableMixin
clearCache, getLayoutBounds, getLayoutMeasurable, maxHeight, maxWidth, minHeight, minWidth, prefHeight, prefWidth
-
Field Details
-
BASELINE_OFFSET_SAME_AS_HEIGHT
static final double BASELINE_OFFSET_SAME_AS_HEIGHTThis is a special value that might be returned bygetBaselineOffset()
. This means that the Parent (layout Pane) of this Node should use the height of this Node as a baseline.- See Also:
-
-
Method Details
-
getTransforms
ObservableList<Transform> getTransforms() -
getAllNodeTransforms
-
relocate
default void relocate(double x, double y) -
isResizable
default boolean isResizable() -
getContentBias
-
resize
default void resize(double width, double height) -
resizeRelocate
default void resizeRelocate(double x, double y, double width, double height) -
autosize
void autosize() -
getBaselineOffset
default double getBaselineOffset()The 'alphabetic' (or 'roman') baseline offset from the node's layoutBounds.minY location that should be used when this node is being vertically aligned by baseline with other nodes. By default this returnsBASELINE_OFFSET_SAME_AS_HEIGHT
for resizable Nodes and layoutBounds height for non-resizable. Subclasses which contain text should override this method to return their actual text baseline offset.- Returns:
- offset of text baseline from layoutBounds.minY for non-resizable Nodes or
BASELINE_OFFSET_SAME_AS_HEIGHT
otherwise
-
getProperties
ObservableMap<Object,Object> getProperties()Returns an observable map of properties on this node for use primarily by application developers.- Returns:
- an observable map of properties on this node for use primarily by application developers
-
hasProperties
boolean hasProperties()Tests if Node has properties.- Returns:
- true if node has properties.
-
getScene
Scene getScene() -
getNodePeer
NodePeer getNodePeer() -
getOrCreateAndBindNodePeer
NodePeer getOrCreateAndBindNodePeer()
-