Class ZestProperties


  • public class ZestProperties
    extends java.lang.Object
    The ZestProperties class contains the definition of the attributes (including their default values) that are evaluated by Zest.FX. It also provides type-safe utility methods to get and set the attribute values.
    • Constructor Detail

      • ZestProperties

        public ZestProperties()
    • Method Detail

      • getControlPoints

        public static java.util.List<Point> getControlPoints​(Edge edge)
        Returns the value of the CONTROL_POINTS__E attribute of the given Edge.
        Parameters:
        edge - The Edge for which to determine the router points.
        Returns:
        The value of the CONTROL_POINTS__E attribute of the given Edge, or an empty list, if the attribute is unset.
      • getCssClass

        public static java.lang.String getCssClass​(Edge edge)
        Returns the value of the CSS_CLASS__NE attribute of the given Edge.
        Parameters:
        edge - The Edge of which the CSS class is determined.
        Returns:
        The CSS class of the given Edge.
      • getCssClass

        public static java.lang.String getCssClass​(Node node)
        Returns the value of the CSS_CLASS__NE attribute of the given Node.
        Parameters:
        node - The Node of which the CSS class is determined.
        Returns:
        The CSS class of the given Node.
      • getCssId

        public static java.lang.String getCssId​(Edge edge)
        Returns the value of the CSS_ID__NE attribute of the given Edge.
        Parameters:
        edge - The Edge of which the CSS id is determined.
        Returns:
        The CSS id of the given Edge.
      • getCssId

        public static java.lang.String getCssId​(Node node)
        Returns the value of the CSS_ID__NE attribute of the given Node.
        Parameters:
        node - The Node of which the CSS id is determined.
        Returns:
        The CSS id of the given Node.
      • getCurve

        public static javafx.scene.Node getCurve​(Edge edge)
        Returns the value of the CURVE__E attribute of the given Edge.
        Parameters:
        edge - The Edge for which to return the value of its CURVE__E attribute.
        Returns:
        A Node that represents the visualization of the edge.
      • getCurveCssStyle

        public static java.lang.String getCurveCssStyle​(Edge edge)
        Returns the value of the CURVE_CSS_STYLE__E attribute of the given Edge.
        Parameters:
        edge - The Edge of which the curve CSS style is determined.
        Returns:
        The curve CSS style of the given Edge.
      • getEndPoint

        public static Point getEndPoint​(Edge edge)
        Returns the value of the END_POINT__E attribute of the given Edge.
        Parameters:
        edge - The Edge of which the end Point is determined.
        Returns:
        The end Point of the given Edge.
      • getExternalLabel

        public static java.lang.String getExternalLabel​(Edge edge)
        Returns the value of the EXTERNAL_LABEL__NE attribute of the given Edge.
        Parameters:
        edge - The Edge of which the label is determined.
        Returns:
        The label of the given Edge.
      • getExternalLabel

        public static java.lang.String getExternalLabel​(Node node)
        Returns the value of the EXTERNAL_LABEL__NE attribute of the given Node.
        Parameters:
        node - The Node of which the label is determined.
        Returns:
        The label of the given Node.
      • getExternalLabelCssStyle

        public static java.lang.String getExternalLabelCssStyle​(Edge edge)
        Returns the value of the EXTERNAL_LABEL_CSS_STYLE__NE attribute of the given Edge.
        Parameters:
        edge - The Edge of which the label CSS style is determined.
        Returns:
        The label CSS style of the given Edge.
      • getExternalLabelCssStyle

        public static java.lang.String getExternalLabelCssStyle​(Node node)
        Returns the value of the EXTERNAL_LABEL_CSS_STYLE__NE attribute of the given Node.
        Parameters:
        node - The Node of which the label CSS style is determined.
        Returns:
        The label CSS style of the given Node.
      • getIcon

        public static javafx.scene.image.Image getIcon​(Node node)
        Returns the value of the ICON__N attribute of the given Node.
        Parameters:
        node - The Node of which the icon is determined.
        Returns:
        The icon of the given Node.
      • getInvisible

        public static java.lang.Boolean getInvisible​(Edge edge)
        Returns the value of the INVISIBLE__NE attribute of the given Edge.
        Parameters:
        edge - The Edge of which the INVISIBLE__NE attribute value is determined.
        Returns:
        The value of the INVISIBLE__NE attribute of the given Edge.
      • getInvisible

        public static java.lang.Boolean getInvisible​(Node node)
        Returns the value of the INVISIBLE__NE attribute of the given Node.
        Parameters:
        node - The Node of which the INVISIBLE__NE attribute value is determined.
        Returns:
        The value of the INVISIBLE__NE attribute of the given Node.
      • getLabel

        public static java.lang.String getLabel​(Edge edge)
        Returns the value of the LABEL__NE attribute for the given Edge.
        Parameters:
        edge - The Edge whose attribute value is to be retrieved.
        Returns:
        The value of the LABEL__NE attribute Edge. If a Provider was set for the attribute, the value is retrieved from the provider using Provider.get().
      • getLabel

        public static java.lang.String getLabel​(Node node)
        Returns the value of the LABEL__NE attribute for the given Node.
        Parameters:
        node - The Node whose attribute value is to be retrieved.
        Returns:
        The value of the LABEL__NE attribute Node. If a Provider was set for the attribute, the value is retrieved from the provider using Provider.get().
      • getLabelCssStyle

        public static java.lang.String getLabelCssStyle​(Edge edge)
        Returns the value of the LABEL_CSS_STYLE__NE attribute of the given Edge.
        Parameters:
        edge - The Edge of which the label CSS style is determined.
        Returns:
        The label CSS style of the given Edge.
      • getLabelCssStyle

        public static java.lang.String getLabelCssStyle​(Node node)
        Returns the value of the LABEL_CSS_STYLE__NE attribute of the given Node.
        Parameters:
        node - The Node of which the label CSS style is determined.
        Returns:
        The label CSS style of the given Node.
      • getLabelPosition

        public static Point getLabelPosition​(Edge edge)
        Returns the value of the LABEL_POSITION__E attribute of the given Edge.
        Parameters:
        edge - The Edge of which the position is determined.
        Returns:
        The value of the LABEL_POSITION__E attribute of the given Edge.
      • getLabelTooltip

        public static java.lang.String getLabelTooltip​(Edge edge)
        Returns the value of the LABEL_TOOLTIP__E attribute of the given Edge.
        Parameters:
        edge - The Edge of which the label tooltip is determined.
        Returns:
        The tooltip of the given Edge label. If a Provider is set for LABEL_TOOLTIP__E, the value will be retrieved from it using Provider.get().
        Since:
        5.1
      • getLayoutAlgorithm

        public static ILayoutAlgorithm getLayoutAlgorithm​(Graph graph)
        Returns the value of the LAYOUT_ALGORITHM__G attribute of the given Graph.
        Parameters:
        graph - The Graph of which the layout algorithm is determined.
        Returns:
        The layout algorithm of the given Graph.
      • getLayoutIrrelevant

        public static java.lang.Boolean getLayoutIrrelevant​(Edge edge)
        Returns the value of the LAYOUT_IRRELEVANT__NE attribute of the given Edge.
        Parameters:
        edge - The Edge of which the layout irrelevant flag is determined.
        Returns:
        The layout irrelevant flag of the given Edge.
      • getLayoutIrrelevant

        public static java.lang.Boolean getLayoutIrrelevant​(Node node)
        Returns the value of the LAYOUT_IRRELEVANT__NE attribute of the given Node.
        Parameters:
        node - The Node of which the layout irrelevant flag is determined.
        Returns:
        The layout irrelevant flag of the given Node.
      • getModel

        public static java.lang.Object getModel​(Edge edge)
        Returns the value of the MODEL__GNE attribute of the given Edge.
        Parameters:
        edge - The Edge of which the model is determined.
        Returns:
        The model of the given Edge.
        Since:
        5.1
      • getModel

        public static java.lang.Object getModel​(Graph graph)
        Returns the value of the MODEL__GNE attribute of the given Graph.
        Parameters:
        graph - The Graph of which the model is determined.
        Returns:
        The model of the given Graph.
        Since:
        5.1
      • getModel

        public static java.lang.Object getModel​(Node node)
        Returns the value of the MODEL__GNE attribute of the given Node.
        Parameters:
        node - The Node of which the model is determined.
        Returns:
        The model of the given Node.
        Since:
        5.1
      • getPosition

        public static Point getPosition​(Node node)
        Returns the value of the POSITION__N attribute of the given Node.
        Parameters:
        node - The Node of which the position is determined.
        Returns:
        The value of the POSITION__N attribute of the given Node.
      • getRouter

        public static IConnectionRouter getRouter​(Edge edge)
        Returns the value of the ROUTER__E attribute of the given Edge.
        Parameters:
        edge - The Edge of which the router is determined.
        Returns:
        The router of the given Edge.
      • getShape

        public static javafx.scene.Node getShape​(Node node)
        Returns the value of the SHAPE__N attribute of the given Node.
        Parameters:
        node - The Node for which to return the value of its SHAPE__N attribute.
        Returns:
        A Node that represents the shape, which is used for rendering background and outline of the node.
      • getShapeCssStyle

        public static java.lang.String getShapeCssStyle​(Node node)
        Returns the value of the SHAPE_CSS_STYLE__N attribute of the given Node.
        Parameters:
        node - The Node of which the node rectangle CSS style is determined.
        Returns:
        The node rectangle CSS style of the given Node.
      • getSize

        public static Dimension getSize​(Node node)
        Returns the value of the SIZE__N attribute of the given Node.
        Parameters:
        node - The Node for which to return the SIZE__N.
        Returns:
        The value of the SIZE__N attribute of the given Node.
      • getSourceDecoration

        public static javafx.scene.Node getSourceDecoration​(Edge edge)
        Returns the value of the SOURCE_DECORATION__E attribute of the given Edge.
        Parameters:
        edge - The Edge of which the source decoration is determined.
        Returns:
        The source decoration of the given Edge.
      • getSourceDecorationCssStyle

        public static java.lang.String getSourceDecorationCssStyle​(Edge edge)
        Returns the value of the SOURCE_DECORATION_CSS_STYLE__E attribute of the given Edge.
        Parameters:
        edge - The Edge of which the source decoration CSS style is determined.
        Returns:
        The source decoration CSS style of the given Edge.
      • getSourceLabel

        public static java.lang.String getSourceLabel​(Edge edge)
        Returns the value of the SOURCE_LABEL__E attribute of the given Edge.
        Parameters:
        edge - The Edge of which the source decoration is determined.
        Returns:
        The value of the SOURCE_LABEL__E attribute. In case a provider is set for the attribute, the value will be retrieved from the provider using Provider.get().
      • getSourceLabelCssStyle

        public static java.lang.String getSourceLabelCssStyle​(Edge edge)
        Returns the value of the SOURCE_LABEL_CSS_STYLE__E attribute of the given Edge.
        Parameters:
        edge - The Edge of which the source label CSS style is determined.
        Returns:
        The source label CSS style of the given Edge.
      • getSourceLabelTooltip

        public static java.lang.String getSourceLabelTooltip​(Edge edge)
        Returns the value of the SOURCE_LABEL_TOOLTIP__E attribute of the given Edge.
        Parameters:
        edge - The Edge of which the source label tooltip is determined.
        Returns:
        The tooltip of the given Edge source label. If a Provider is set for SOURCE_LABEL_TOOLTIP__E, the value will be retrieved from it using Provider.get().
        Since:
        5.1
      • getStartPoint

        public static Point getStartPoint​(Edge edge)
        Returns the value of the START_POINT__E attribute of the given Edge.
        Parameters:
        edge - The Edge of which the start Point is determined.
        Returns:
        The start Point of the given Edge.
      • getTargetDecoration

        public static javafx.scene.Node getTargetDecoration​(Edge edge)
        Returns the value of the TARGET_DECORATION__E attribute of the given Edge.
        Parameters:
        edge - The Edge of which the target decoration is determined.
        Returns:
        The target decoration of the given Edge.
      • getTargetDecorationCssStyle

        public static java.lang.String getTargetDecorationCssStyle​(Edge edge)
        Returns the value of the TARGET_DECORATION_CSS_STYLE__E attribute of the given Edge.
        Parameters:
        edge - The Edge of which the target decoration CSS style is determined.
        Returns:
        The target decoration CSS style of the given Edge.
      • getTargetLabel

        public static java.lang.String getTargetLabel​(Edge edge)
        Returns the value of the TARGET_LABEL__E attribute of the given Edge.
        Parameters:
        edge - The Edge of which the target decoration is determined.
        Returns:
        The value of the TARGET_LABEL__E attribute. In case a provider is set for the attribute, the value will be retrieved from the provider using Provider.get().
      • getTargetLabelCssStyle

        public static java.lang.String getTargetLabelCssStyle​(Edge edge)
        Returns the value of the TARGET_LABEL_CSS_STYLE__E attribute of the given Edge.
        Parameters:
        edge - The Edge of which the target label CSS style is determined.
        Returns:
        The target label CSS style of the given Edge.
      • getTargetLabelTooltip

        public static java.lang.String getTargetLabelTooltip​(Edge edge)
        Returns the value of the TARGET_LABEL_TOOLTIP__E attribute of the given Edge.
        Parameters:
        edge - The Edge of which the target label tooltip is determined.
        Returns:
        The tooltip of the given Edge target label. If a Provider is set for TARGET_LABEL_TOOLTIP__E, the value will be retrieved from it using Provider.get().
        Since:
        5.1
      • getTooltip

        public static java.lang.String getTooltip​(Edge edge)
        Returns the value of the TOOLTIP__E attribute of the given Edge.
        Parameters:
        edge - The Edge of which the tooltip is determined.
        Returns:
        The tooltip of the given Edge. If a Provider is set for TOOLTIP__E, the value will be retrieved from it using Provider.get().
        Since:
        5.1
      • getTooltip

        public static java.lang.String getTooltip​(Node node)
        Returns the value of the TOOLTIP__N attribute of the given Node.
        Parameters:
        node - The Node of which the tooltip is determined.
        Returns:
        The tooltip of the given Node. If a Provider is set for TOOLTIP__N, the value will be retrieved from it using Provider.get().
      • setControlPoints

        public static void setControlPoints​(Edge edge,
                                            java.util.List<Point> controlPoints)
        Sets the value of the CONTROL_POINTS__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the CONTROL_POINTS__E attribute is changed.
        controlPoints - The new List of control Points for the given Edge.
      • setControlPoints

        public static void setControlPoints​(Edge edge,
                                            Provider<java.util.List<Point>> controlPointsProvider)
        Sets the value of the CONTROL_POINTS__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the CONTROL_POINTS__E attribute is changed.
        controlPointsProvider - The new List of control Points for the given Edge.
      • setCssClass

        public static void setCssClass​(Edge edge,
                                       Provider<java.lang.String> cssClassProvider)
        Sets the value of the CSS_CLASS__NE attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the CSS class is changed.
        cssClassProvider - The new CSS class for the given Edge.
      • setCssClass

        public static void setCssClass​(Edge edge,
                                       java.lang.String cssClass)
        Sets the value of the CSS_CLASS__NE attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the CSS class is changed.
        cssClass - The new CSS class for the given Edge.
      • setCssClass

        public static void setCssClass​(Node node,
                                       Provider<java.lang.String> cssClassProvider)
        Sets the value of the CSS_CLASS__NE attribute of the given Node to the given value.
        Parameters:
        node - The Node of which the CSS class is changed.
        cssClassProvider - The new CSS class for the given Node.
      • setCssClass

        public static void setCssClass​(Node node,
                                       java.lang.String cssClass)
        Sets the value of the CSS_CLASS__NE attribute of the given Node to the given value.
        Parameters:
        node - The Node of which the CSS class is changed.
        cssClass - The new CSS class for the given Node.
      • setCssId

        public static void setCssId​(Edge edge,
                                    Provider<java.lang.String> cssIdProvider)
        Sets the value of the CSS_ID__NE attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the CSS id is changed.
        cssIdProvider - The new CSS id for the given Edge.
      • setCssId

        public static void setCssId​(Edge edge,
                                    java.lang.String cssId)
        Sets the value of the CSS_ID__NE attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the CSS id is changed.
        cssId - The new CSS id for the given Edge.
      • setCssId

        public static void setCssId​(Node node,
                                    Provider<java.lang.String> cssIdProvider)
        Sets the value of the CSS_ID__NE attribute of the given Node to the given value.
        Parameters:
        node - The Node of which the CSS id is changed.
        cssIdProvider - The new CSS id for the given Node.
      • setCssId

        public static void setCssId​(Node node,
                                    java.lang.String cssId)
        Sets the value of the CSS_ID__NE attribute of the given Node to the given value.
        Parameters:
        node - The Node of which the CSS id is changed.
        cssId - The new CSS id for the given Node.
      • setCurve

        public static void setCurve​(Edge edge,
                                    javafx.scene.Node curve)
        Sets the value of the SHAPE__N attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge, for which to set the value of the CURVE__E attribute.
        curve - The Node that is used to visualize the connection.
      • setCurve

        public static void setCurve​(Edge edge,
                                    Provider<javafx.scene.Node> curveProvider)
        Sets the value of the CURVE__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge, for which to set the value of the CURVE__E attribute.
        curveProvider - The Node that is used to visualize the connection.
      • setCurveCssStyle

        public static void setCurveCssStyle​(Edge edge,
                                            Provider<java.lang.String> curveCssStyleProvider)
        Sets the value of the CURVE_CSS_STYLE__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the curve CSS style is changed.
        curveCssStyleProvider - The new curve CSS style for the given Edge.
      • setCurveCssStyle

        public static void setCurveCssStyle​(Edge edge,
                                            java.lang.String curveCssStyle)
        Sets the value of the CURVE_CSS_STYLE__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the curve CSS style is changed.
        curveCssStyle - The new curve CSS style for the given Edge.
      • setEndPoint

        public static void setEndPoint​(Edge edge,
                                       Point endPoint)
        Sets the value of the END_POINT__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge, for which to set the value of the END_POINT__E attribute.
        endPoint - The end Point for the given Edge.
      • setEndPoint

        public static void setEndPoint​(Edge edge,
                                       Provider<Point> endPointProvider)
        Sets the value of the END_POINT__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge, for which to set the value of the END_POINT__E attribute.
        endPointProvider - The end Point for the given Edge.
      • setExternalLabel

        public static void setExternalLabel​(Edge edge,
                                            Provider<java.lang.String> labelProvider)
        Sets the value of the EXTERNAL_LABEL__NE attribute of the given Edge to the given provider.
        Parameters:
        edge - The Edge of which the external label is changed.
        labelProvider - A Provider that is used to retrieve the value of the EXTERNAL_LABEL__NE attribute.
      • setExternalLabel

        public static void setExternalLabel​(Edge edge,
                                            java.lang.String label)
        Sets the value of the EXTERNAL_LABEL__NE attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the external label is changed.
        label - The new label for the given Edge.
      • setExternalLabel

        public static void setExternalLabel​(Node node,
                                            Provider<java.lang.String> labelProvider)
        Sets the value of the EXTERNAL_LABEL__NE attribute of the given Node to the given provider.
        Parameters:
        node - The Node of which the external label is changed.
        labelProvider - A Provider that is used to retrieve the value of the EXTERNAL_LABEL__NE attribute.
      • setExternalLabel

        public static void setExternalLabel​(Node node,
                                            java.lang.String label)
        Sets the value of the EXTERNAL_LABEL__NE attribute of the given Node to the given value.
        Parameters:
        node - The Node of which the external label is changed.
        label - The new label for the given Node.
      • setExternalLabelCssStyle

        public static void setExternalLabelCssStyle​(Edge edge,
                                                    Provider<java.lang.String> textCssStyleProvider)
        Sets the value of the EXTERNAL_LABEL_CSS_STYLE__NE attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the label CSS style is changed.
        textCssStyleProvider - The new label CSS style for the given Edge.
      • setExternalLabelCssStyle

        public static void setExternalLabelCssStyle​(Edge edge,
                                                    java.lang.String textCssStyle)
        Sets the value of the EXTERNAL_LABEL_CSS_STYLE__NE attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the label CSS style is changed.
        textCssStyle - The new label CSS style for the given Edge.
      • setExternalLabelCssStyle

        public static void setExternalLabelCssStyle​(Node node,
                                                    Provider<java.lang.String> textCssStyleProvider)
        Sets the value of the EXTERNAL_LABEL_CSS_STYLE__NE attribute of the given Node to the given value.
        Parameters:
        node - The Node of which the node label CSS style is changed.
        textCssStyleProvider - The new node label CSS style for the given Node.
      • setExternalLabelCssStyle

        public static void setExternalLabelCssStyle​(Node node,
                                                    java.lang.String textCssStyle)
        Sets the value of the EXTERNAL_LABEL_CSS_STYLE__NE attribute of the given Node to the given value.
        Parameters:
        node - The Node of which the node label CSS style is changed.
        textCssStyle - The new node label CSS style for the given Node.
      • setExternalLabelPosition

        public static void setExternalLabelPosition​(Edge edge,
                                                    Point externalLabelPosition)
        Sets the value of the EXTERNAL_LABEL_POSITION__NE attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the EXTERNAL_LABEL_POSITION__NE attribute is changed.
        externalLabelPosition - The new external label position.
      • setExternalLabelPosition

        public static void setExternalLabelPosition​(Node node,
                                                    Point externalLabelPosition)
        Sets the value of the EXTERNAL_LABEL_POSITION__NE attribute of the given Node to the given value.
        Parameters:
        node - The Node of which the EXTERNAL_LABEL_POSITION__NE attribute is changed.
        externalLabelPosition - The new external label position.
      • setExternalLabelTooltip

        public static void setExternalLabelTooltip​(Edge edge,
                                                   java.lang.String tooltip)
        Sets the value of the EXTERNAL_LABEL_TOOLTIP__NE attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the external label tooltip is changed.
        tooltip - The new external label tooltip for the given Edge.
        Since:
        5.1
      • setExternalLabelTooltip

        public static void setExternalLabelTooltip​(Node node,
                                                   java.lang.String tooltip)
        Sets the value of the EXTERNAL_LABEL_TOOLTIP__NE attribute of the given Node to the given value.
        Parameters:
        node - The Node of which the external label tooltip is changed.
        tooltip - The new tooltip for the given Node's external label.
        Since:
        5.1
      • setIcon

        public static void setIcon​(Node node,
                                   javafx.scene.image.Image icon)
        Sets the value of the ICON__N attribute of the given Node to the given value.
        Parameters:
        node - The Node of which the icon is changed.
        icon - The new Image for the given Node.
      • setIcon

        public static void setIcon​(Node node,
                                   Provider<javafx.scene.image.Image> iconProvider)
        Sets the value of the ICON__N attribute of the given Node to the given value.
        Parameters:
        node - The Node of which the icon is changed.
        iconProvider - The new Image for the given Node.
      • setInvisible

        public static void setInvisible​(Edge edge,
                                        java.lang.Boolean invisible)
        Sets the value of the INVISIBLE__NE attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge for which to set the INVISIBLE__NE attribute.
        invisible - The new value for the INVISIBLE__NE attribute of the given Edge.
      • setInvisible

        public static void setInvisible​(Edge edge,
                                        Provider<java.lang.Boolean> invisibleProvider)
        Sets the value of the INVISIBLE__NE attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge for which to set the INVISIBLE__NE attribute.
        invisibleProvider - The new value for the INVISIBLE__NE attribute of the given Edge.
      • setInvisible

        public static void setInvisible​(Node node,
                                        java.lang.Boolean invisible)
        Sets the value of the INVISIBLE__NE attribute of the given Node to the given value.
        Parameters:
        node - The Node for which to set the INVISIBLE__NE attribute.
        invisible - The new value for the INVISIBLE__NE attribute of the given Node.
      • setInvisible

        public static void setInvisible​(Node node,
                                        Provider<java.lang.Boolean> invisibleProvider)
        Sets the value of the INVISIBLE__NE attribute of the given Node to the given value.
        Parameters:
        node - The Node for which to set the INVISIBLE__NE attribute.
        invisibleProvider - The new value for the INVISIBLE__NE attribute of the given Node.
      • setLabel

        public static void setLabel​(Edge edge,
                                    Provider<java.lang.String> labelProvider)
        Sets the LABEL__NE attribute of the given Edge to the given provider.
        Parameters:
        edge - The Edge whose attribute is to be changed.
        labelProvider - A Provider which provides the value for the LABEL__NE attribute.
      • setLabel

        public static void setLabel​(Edge edge,
                                    java.lang.String label)
        Sets the LABEL__NE attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge whose attribute is to be changed.
        label - The new value for the LABEL__NE attribute.
      • setLabel

        public static void setLabel​(Node node,
                                    Provider<java.lang.String> labelProvider)
        Sets the LABEL__NE attribute of the given Node to the given provider.
        Parameters:
        node - The Node whose attribute is to be changed.
        labelProvider - A Provider which provides the value for the LABEL__NE attribute.
      • setLabel

        public static void setLabel​(Node node,
                                    java.lang.String label)
        Sets the LABEL__NE attribute of the given Node to the given value.
        Parameters:
        node - The Node whose attribute is to be changed.
        label - The new value for the LABEL__NE attribute.
      • setLabelCssStyle

        public static void setLabelCssStyle​(Edge edge,
                                            Provider<java.lang.String> textCssStyleProvider)
        Sets the value of the LABEL_CSS_STYLE__NE attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the label CSS style is changed.
        textCssStyleProvider - The new label CSS style for the given Edge.
      • setLabelCssStyle

        public static void setLabelCssStyle​(Edge edge,
                                            java.lang.String textCssStyle)
        Sets the value of the LABEL_CSS_STYLE__NE attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the label CSS style is changed.
        textCssStyle - The new label CSS style for the given Edge.
      • setLabelCssStyle

        public static void setLabelCssStyle​(Node node,
                                            Provider<java.lang.String> textCssStyleProvider)
        Sets the value of the LABEL_CSS_STYLE__NE attribute of the given Node to the given value.
        Parameters:
        node - The Node of which the node label CSS style is changed.
        textCssStyleProvider - The new node label CSS style for the given Node.
      • setLabelCssStyle

        public static void setLabelCssStyle​(Node node,
                                            java.lang.String textCssStyle)
        Sets the value of the LABEL_CSS_STYLE__NE attribute of the given Node to the given value.
        Parameters:
        node - The Node of which the node label CSS style is changed.
        textCssStyle - The new node label CSS style for the given Node.
      • setLabelPosition

        public static void setLabelPosition​(Edge edge,
                                            Point labelPosition)
        Sets the value of the LABEL_POSITION__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the label is changed.
        labelPosition - The new position for the label of the given Edge.
      • setLabelPosition

        public static void setLabelPosition​(Edge edge,
                                            Provider<Point> labelPositionProvider)
        Sets the value of the LABEL_POSITION__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the label is changed.
        labelPositionProvider - The new position for the label of the given Edge.
      • setLabelTooltip

        public static void setLabelTooltip​(Edge edge,
                                           Provider<java.lang.String> tooltipProvider)
        Sets the value of the LABEL_TOOLTIP__E attribute of the given Edge to the given provider.
        Parameters:
        edge - The Edge whose attribute is change.
        tooltipProvider - A Provider which is used to retrieve the LABEL_TOOLTIP__E value.
        Since:
        5.1
      • setLabelTooltip

        public static void setLabelTooltip​(Edge edge,
                                           java.lang.String tooltip)
        Sets the value of the LABEL_TOOLTIP__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the label tooltip is changed.
        tooltip - The new tooltip for the given Edge label.
        Since:
        5.1
      • setLayoutIrrelevant

        public static void setLayoutIrrelevant​(Edge edge,
                                               java.lang.Boolean layoutIrrelevant)
        Sets the value of the LAYOUT_IRRELEVANT__NE attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the layout irrelevant flag is changed.
        layoutIrrelevant - The new layout irrelevant flag for the given Edge.
      • setLayoutIrrelevant

        public static void setLayoutIrrelevant​(Edge edge,
                                               Provider<java.lang.Boolean> layoutIrrelevantProvider)
        Sets the value of the LAYOUT_IRRELEVANT__NE attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the layout irrelevant flag is changed.
        layoutIrrelevantProvider - The new layout irrelevant flag for the given Edge.
      • setLayoutIrrelevant

        public static void setLayoutIrrelevant​(Node node,
                                               java.lang.Boolean layoutIrrelevant)
        Sets the value of the LAYOUT_IRRELEVANT__NE attribute of the given Node to the given value.
        Parameters:
        node - The Node of which the layout irrelevant flag is changed.
        layoutIrrelevant - The new layout irrelevant flag for the given Node.
      • setLayoutIrrelevant

        public static void setLayoutIrrelevant​(Node node,
                                               Provider<java.lang.Boolean> layoutIrrelevantProvider)
        Sets the value of the LAYOUT_IRRELEVANT__NE attribute of the given Node to the given value.
        Parameters:
        node - The Node of which the layout irrelevant flag is changed.
        layoutIrrelevantProvider - The new layout irrelevant flag for the given Node.
      • setModel

        public static void setModel​(Edge edge,
                                    java.lang.Object model)
        Sets the value of the MODEL__GNE attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the model is changed.
        model - The model for the given Edge.
        Since:
        5.1
      • setModel

        public static void setModel​(Graph graph,
                                    java.lang.Object model)
        Sets the value of the MODEL__GNE attribute of the given Graph to the given value.
        Parameters:
        graph - The Graph of which the model is changed.
        model - The model for the given Graph.
        Since:
        5.1
      • setModel

        public static void setModel​(Node node,
                                    java.lang.Object model)
        Sets the value of the MODEL__GNE attribute of the given Node to the given value.
        Parameters:
        node - The Node of which the model is changed.
        model - The model for the given Node.
        Since:
        5.1
      • setPosition

        public static void setPosition​(Node node,
                                       Point position)
        Sets the value of the POSITION__N attribute of the given Node to the given value.
        Parameters:
        node - The Node of which the POSITION__N attribute is changed.
        position - The new node position.
      • setPosition

        public static void setPosition​(Node node,
                                       Provider<Point> positionProvider)
        Sets the value of the POSITION__N attribute of the given Node to the given value.
        Parameters:
        node - The Node of which the POSITION__N attribute is changed.
        positionProvider - The new node position.
      • setShape

        public static void setShape​(Node node,
                                    javafx.scene.Node shape)
        Sets the value of the SHAPE__N attribute of the given Node to the given value.
        Parameters:
        node - The Node, for which to set the value of the SHAPE__N attribute.
        shape - The shape that is be used for rendering the node outline and background.
      • setShape

        public static void setShape​(Node node,
                                    Provider<javafx.scene.Node> shapeProvider)
        Sets the value of the SHAPE__N attribute of the given Node to the given value.
        Parameters:
        node - The Node, for which to set the value of the SHAPE__N attribute.
        shapeProvider - The shape that is be used for rendering the node outline and background.
      • setShapeCssStyle

        public static void setShapeCssStyle​(Node node,
                                            Provider<java.lang.String> rectCssStyleProvider)
        Sets the value of the SHAPE_CSS_STYLE__N attribute of the given Node to the given value.
        Parameters:
        node - The Node of which the node rectangle CSS style is changed.
        rectCssStyleProvider - The new node rectangle CSS style for the given Node.
      • setShapeCssStyle

        public static void setShapeCssStyle​(Node node,
                                            java.lang.String rectCssStyle)
        Sets the value of the SHAPE_CSS_STYLE__N attribute of the given Node to the given value.
        Parameters:
        node - The Node of which the node rectangle CSS style is changed.
        rectCssStyle - The new node rectangle CSS style for the given Node.
      • setSize

        public static void setSize​(Node node,
                                   Dimension size)
        Sets the value of the SIZE__N attribute of the given Node to the given value.
        Parameters:
        node - The Node for which to return the SIZE__N.
        size - The Dimension describing the new size for the given Node.
      • setSize

        public static void setSize​(Node node,
                                   Provider<Dimension> sizeProvider)
        Sets the value of the SIZE__N attribute of the given Node to the given value.
        Parameters:
        node - The Node for which to return the SIZE__N.
        sizeProvider - The Dimension describing the new size for the given Node.
      • setSourceDecoration

        public static void setSourceDecoration​(Edge edge,
                                               javafx.scene.Node sourceDecoration)
        Sets the value of the SOURCE_DECORATION__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the source decoration is changed.
        sourceDecoration - The new source decoration for the given Edge.
      • setSourceDecoration

        public static void setSourceDecoration​(Edge edge,
                                               Provider<javafx.scene.Node> sourceDecorationProvider)
        Sets the value of the SOURCE_DECORATION__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the source decoration is changed.
        sourceDecorationProvider - The new source decoration for the given Edge.
      • setSourceDecorationCssStyle

        public static void setSourceDecorationCssStyle​(Edge edge,
                                                       Provider<java.lang.String> sourceDecorationCssStyleProvider)
        Sets the value of the SOURCE_DECORATION_CSS_STYLE__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the source decoration CSS style is changed.
        sourceDecorationCssStyleProvider - The new source decoration CSS style for the given Edge .
      • setSourceDecorationCssStyle

        public static void setSourceDecorationCssStyle​(Edge edge,
                                                       java.lang.String sourceDecorationCssStyle)
        Sets the value of the SOURCE_DECORATION_CSS_STYLE__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the source decoration CSS style is changed.
        sourceDecorationCssStyle - The new source decoration CSS style for the given Edge .
      • setSourceLabel

        public static void setSourceLabel​(Edge edge,
                                          Provider<java.lang.String> sourceLabelProvider)
        Sets the value of the SOURCE_LABEL__E attribute of the given Edge to the given provider.
        Parameters:
        edge - The Edge of which the target decoration is changed.
        sourceLabelProvider - A Provider which provides the value for SOURCE_LABEL__E attribute.
      • setSourceLabel

        public static void setSourceLabel​(Edge edge,
                                          java.lang.String sourceLabel)
        Sets the value of the SOURCE_LABEL__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the target decoration is changed.
        sourceLabel - The new source label for the given Edge.
      • setSourceLabelCssStyle

        public static void setSourceLabelCssStyle​(Edge edge,
                                                  Provider<java.lang.String> sourceLabelCssStyleProvider)
        Sets the value of the SOURCE_LABEL_CSS_STYLE__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the source label CSS style is changed.
        sourceLabelCssStyleProvider - The new source label CSS style for the given Edge .
      • setSourceLabelCssStyle

        public static void setSourceLabelCssStyle​(Edge edge,
                                                  java.lang.String sourceLabelCssStyle)
        Sets the value of the SOURCE_LABEL_CSS_STYLE__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the source label CSS style is changed.
        sourceLabelCssStyle - The new source label CSS style for the given Edge .
      • setSourceLabelPosition

        public static void setSourceLabelPosition​(Edge edge,
                                                  Point labelPosition)
        Sets the value of the SOURCE_LABEL_POSITION__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the source label is changed.
        labelPosition - The new position for the source label of the given Edge.
      • setSourceLabelPosition

        public static void setSourceLabelPosition​(Edge edge,
                                                  Provider<Point> labelPositionProvider)
        Sets the value of the SOURCE_LABEL_POSITION__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the source label is changed.
        labelPositionProvider - The new position for the source label of the given Edge.
      • setSourceLabelTooltip

        public static void setSourceLabelTooltip​(Edge edge,
                                                 Provider<java.lang.String> tooltipProvider)
        Sets the value of the SOURCE_LABEL_TOOLTIP__E attribute of the given Edge to the given provider.
        Parameters:
        edge - The Edge whose attribute is change.
        tooltipProvider - A Provider which is used to retrieve the SOURCE_LABEL_TOOLTIP__E value.
        Since:
        5.1
      • setSourceLabelTooltip

        public static void setSourceLabelTooltip​(Edge edge,
                                                 java.lang.String tooltip)
        Sets the value of the SOURCE_LABEL_TOOLTIP__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the source label tooltip is changed.
        tooltip - The new tooltip for the given Edge source label.
        Since:
        5.1
      • setStartPoint

        public static void setStartPoint​(Edge edge,
                                         Point startPoint)
        Sets the value of the START_POINT__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge, for which to set the value of the START_POINT__E attribute.
        startPoint - The start Point for the given Edge.
      • setStartPoint

        public static void setStartPoint​(Edge edge,
                                         Provider<Point> startPointProvider)
        Sets the value of the START_POINT__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge, for which to set the value of the START_POINT__E attribute.
        startPointProvider - The start Point for the given Edge.
      • setTargetDecoration

        public static void setTargetDecoration​(Edge edge,
                                               javafx.scene.Node targetDecoration)
        Sets the value of the TARGET_DECORATION__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the target decoration is changed.
        targetDecoration - The new target decoration for the given Edge.
      • setTargetDecoration

        public static void setTargetDecoration​(Edge edge,
                                               Provider<javafx.scene.Node> targetDecorationProvider)
        Sets the value of the TARGET_DECORATION__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the target decoration is changed.
        targetDecorationProvider - The new target decoration for the given Edge.
      • setTargetDecorationCssStyle

        public static void setTargetDecorationCssStyle​(Edge edge,
                                                       Provider<java.lang.String> targetDecorationCssStyleProvider)
        Sets the value of the TARGET_DECORATION_CSS_STYLE__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the target decoration CSS style is changed.
        targetDecorationCssStyleProvider - The new target decoration CSS style for the given Edge .
      • setTargetDecorationCssStyle

        public static void setTargetDecorationCssStyle​(Edge edge,
                                                       java.lang.String targetDecorationCssStyle)
        Sets the value of the TARGET_DECORATION_CSS_STYLE__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the target decoration CSS style is changed.
        targetDecorationCssStyle - The new target decoration CSS style for the given Edge .
      • setTargetLabel

        public static void setTargetLabel​(Edge edge,
                                          Provider<java.lang.String> targetLabelProvider)
        Sets the value of the TARGET_LABEL__E attribute of the given Edge to the given provider.
        Parameters:
        edge - The Edge of which the target decoration is changed.
        targetLabelProvider - A Provider which provides the value for TARGET_LABEL__E attribute.
      • setTargetLabel

        public static void setTargetLabel​(Edge edge,
                                          java.lang.String targetLabel)
        Sets the value of the TARGET_LABEL__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the target decoration is changed.
        targetLabel - The new target label for the given Edge.
      • setTargetLabelCssStyle

        public static void setTargetLabelCssStyle​(Edge edge,
                                                  Provider<java.lang.String> targetLabelCssStyleProvider)
        Sets the value of the TARGET_LABEL_CSS_STYLE__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the target label CSS style is changed.
        targetLabelCssStyleProvider - The new target label CSS style for the given Edge .
      • setTargetLabelCssStyle

        public static void setTargetLabelCssStyle​(Edge edge,
                                                  java.lang.String targetLabelCssStyle)
        Sets the value of the TARGET_LABEL_CSS_STYLE__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the target label CSS style is changed.
        targetLabelCssStyle - The new target label CSS style for the given Edge .
      • setTargetLabelPosition

        public static void setTargetLabelPosition​(Edge edge,
                                                  Point labelPosition)
        Sets the value of the TARGET_LABEL_POSITION__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the target label is changed.
        labelPosition - The new position for the target label of the given Edge.
      • setTargetLabelPosition

        public static void setTargetLabelPosition​(Edge edge,
                                                  Provider<Point> labelPositionProvider)
        Sets the value of the TARGET_LABEL_POSITION__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the target label is changed.
        labelPositionProvider - The new position for the target label of the given Edge.
      • setTargetLabelTooltip

        public static void setTargetLabelTooltip​(Edge edge,
                                                 Provider<java.lang.String> tooltipProvider)
        Sets the value of the TARGET_LABEL_TOOLTIP__E attribute of the given Edge to the given provider.
        Parameters:
        edge - The Edge whose attribute is change.
        tooltipProvider - A Provider which is used to retrieve the TARGET_LABEL_TOOLTIP__E value.
        Since:
        5.1
      • setTargetLabelTooltip

        public static void setTargetLabelTooltip​(Edge edge,
                                                 java.lang.String tooltip)
        Sets the value of the TARGET_LABEL_TOOLTIP__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the target label tooltip is changed.
        tooltip - The new tooltip for the given Edge target label.
        Since:
        5.1
      • setTooltip

        public static void setTooltip​(Edge edge,
                                      Provider<java.lang.String> tooltipProvider)
        Sets the value of the TOOLTIP__E attribute of the given Edge to the given provider.
        Parameters:
        edge - The Edge whose attribute is change.
        tooltipProvider - A Provider which is used to retrieve the TOOLTIP__E value.
        Since:
        5.1
      • setTooltip

        public static void setTooltip​(Edge edge,
                                      java.lang.String tooltip)
        Sets the value of the TOOLTIP__E attribute of the given Edge to the given value.
        Parameters:
        edge - The Edge of which the tooltip is changed.
        tooltip - The new tooltip for the given Edge.
        Since:
        5.1
      • setTooltip

        public static void setTooltip​(Node node,
                                      Provider<java.lang.String> tooltipProvider)
        Sets the value of the TOOLTIP__N attribute of the given Node to the given provider.
        Parameters:
        node - The Node whose attribute is change.
        tooltipProvider - A Provider which is used to retrieve the TOOLTIP__N value.
      • setTooltip

        public static void setTooltip​(Node node,
                                      java.lang.String tooltip)
        Sets the value of the TOOLTIP__N attribute of the given Node to the given value.
        Parameters:
        node - The Node of which the tooltip is changed.
        tooltip - The new tooltip for the given Node.