Class NodePart

    • Field Detail

      • DEFAULT_SHAPE_PADDING

        protected static final double DEFAULT_SHAPE_PADDING
        The default padding between the node's border and its content.
        See Also:
        Constant Field Values
      • DEFAULT_CHILDREN_PANE_WIDTH

        protected static final double DEFAULT_CHILDREN_PANE_WIDTH
        The default width of the nested graph area.
        See Also:
        Constant Field Values
      • DEFAULT_CHILDREN_PANE_HEIGHT

        protected static final double DEFAULT_CHILDREN_PANE_HEIGHT
        The default height of the nested graph area.
        See Also:
        Constant Field Values
      • DEFAULT_NESTED_CHILDREN_ZOOM_FACTOR

        public static final double DEFAULT_NESTED_CHILDREN_ZOOM_FACTOR
        The default zoom factor that is applied to the nested graph area.
        See Also:
        Constant Field Values
      • DEFAULT_OUTER_LAYOUT_CONTAINER_WIDTH_NESTING

        public static final double DEFAULT_OUTER_LAYOUT_CONTAINER_WIDTH_NESTING
        The default width for the outer most layout container of this node in the case of nested content.
        See Also:
        Constant Field Values
      • DEFAULT_OUTER_LAYOUT_CONTAINER_HEIGHT_NESTING

        public static final double DEFAULT_OUTER_LAYOUT_CONTAINER_HEIGHT_NESTING
        The default height for the outer most layout container of this node in the case of nested content.
        See Also:
        Constant Field Values
      • CSS_CLASS_SHAPE

        public static final java.lang.String CSS_CLASS_SHAPE
        The CSS class that is applied to the Rectangle that displays border and background.
        See Also:
        Constant Field Values
      • CSS_CLASS_LABEL

        public static final java.lang.String CSS_CLASS_LABEL
        The CSS class that is applied to the Text that displays the label.
        See Also:
        Constant Field Values
      • CSS_CLASS_ICON

        public static final java.lang.String CSS_CLASS_ICON
        The CSS class that is applied to the Image that displays the icon.
        See Also:
        Constant Field Values
    • Constructor Detail

      • NodePart

        public NodePart()
    • Method Detail

      • getIconImageView

        protected javafx.scene.image.ImageView getIconImageView()
        Returns the ImageView that displays the node's icon.
        Returns:
        The ImageView that displays the node's icon.
      • getLabelText

        protected javafx.scene.text.Text getLabelText()
        Returns the Text that displays the node's label.
        Returns:
        The Text that displays the node's label.
      • getShape

        public javafx.scene.Node getShape()
        Returns the Shape that displays the node's border and background.
        Returns:
        The Shape that displays the node's border and background.
      • refreshIcon

        protected void refreshIcon()
        If the given icon is an Image, that Image will be used as the icon of this NodePart.
      • refreshLabel

        protected void refreshLabel()
        Changes the label of this NodePart to the given value.
      • refreshTooltip

        protected void refreshTooltip()
        Changes the tooltip of this NodePart to the given value.