Package org.eclipse.gef.zest.fx
Class ZestProperties
- java.lang.Object
-
- org.eclipse.gef.zest.fx.ZestProperties
-
public class ZestProperties extends java.lang.Object
TheZestProperties
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.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CONTROL_POINTS__E
This attribute determines the way points that are passed along to theROUTER__E
in addition to the start and end point, which are provided by theConnection
and computed byIAnchor
s at the source and target node of theEdge
(and not included in the list of way points).static java.lang.String
CSS_CLASS__NE
This attribute determines the CSS class for an element (node/edge).static java.lang.String
CSS_ID__NE
This attribute determines the CSS id for an element (node/edge).static java.lang.String
CURVE__E
This attribute determines the curve being used for visualization of the edge.static java.lang.String
CURVE_CSS_STYLE__E
This attribute determines the CSS style for an edge.static java.lang.String
END_POINT__E
This attribute determines the end point being used for the visualization of the edge.static java.lang.String
EXTERNAL_LABEL__NE
This attribute determines the (optional) external label of an element (node/edge).static java.lang.String
EXTERNAL_LABEL_CSS_STYLE__NE
This attribute determines the CSS style for an external label of an element (node/edge).static java.lang.String
EXTERNAL_LABEL_POSITION__NE
This attribute determines the position of an element (node/edge)'s external label (in case it exists).static java.lang.String
EXTERNAL_LABEL_TOOLTIP__NE
This attribute determines the tooltip for an element (node/edge) external label.static java.lang.String
ICON__N
This attribute determines the icon for a node.static java.lang.String
INTERPOLATOR__E
This attribute determines theIConnectionInterpolator
used to infer a geometry for an edge.static java.lang.String
INVISIBLE__NE
This attribute determines if an element (node/edge) is invisible.static java.lang.String
LABEL__NE
This attribute determines the label for an element (node/edge).static java.lang.String
LABEL_CSS_STYLE__NE
This attribute determines the CSS style for an element (node/edge) label.static java.lang.String
LABEL_POSITION__E
This attribute determines the position of an edge's label (in case it exists).static java.lang.String
LABEL_TOOLTIP__E
This attribute determines the tooltip for an edge label.static java.lang.String
LAYOUT_ALGORITHM__G
This attribute determines theILayoutAlgorithm
used to layout the graph.static java.lang.String
LAYOUT_IRRELEVANT__NE
This attribute determines if an element (node/edge) should be ignored by the automatic layout.static java.lang.String
MODEL__GNE
static java.lang.String
POSITION__N
This attribute determines the position for a node.static java.lang.String
ROUTER__E
This attribute determines theIConnectionRouter
used to route an edge.static java.lang.String
SHAPE__N
This attribute determines the shape being used for background and outline visualization of the node.static java.lang.String
SHAPE_CSS_STYLE__N
This attribute determines the CSS style for a node shape.static java.lang.String
SIZE__N
This attribute determines the size for a node.static java.lang.String
SOURCE_DECORATION__E
This attribute determines the source decoration for an edge.static java.lang.String
SOURCE_DECORATION_CSS_STYLE__E
This attribute determines the CSS style for the source decoration of an edge.static java.lang.String
SOURCE_LABEL__E
This attribute determines the source label for an edge.static java.lang.String
SOURCE_LABEL_CSS_STYLE__E
This attribute determines the CSS style for the source edge label.static java.lang.String
SOURCE_LABEL_POSITION__E
This attribute determines the position of an edge's source label (in case it exists).static java.lang.String
SOURCE_LABEL_TOOLTIP__E
This attribute determines the tooltip for an edge source label.static java.lang.String
START_POINT__E
This attribute determines the start point being used for the visualization of the edge.static java.lang.String
TARGET_DECORATION__E
This attribute determines the target decoration for an edge.static java.lang.String
TARGET_DECORATION_CSS_STYLE__E
This attribute determines the CSS style for the target decoration of an edge.static java.lang.String
TARGET_LABEL__E
This attribute determines the target label for an edge.static java.lang.String
TARGET_LABEL_CSS_STYLE__E
This attribute determines the CSS style for the target edge label.static java.lang.String
TARGET_LABEL_POSITION__E
This attribute determines the position of an edge's target label (in case it exists).static java.lang.String
TARGET_LABEL_TOOLTIP__E
This attribute determines the tooltip for an edge target label.static java.lang.String
TOOLTIP__E
This attribute determines the tooltip for an edge.static java.lang.String
TOOLTIP__N
This attribute determines the tooltip for a node.
-
Constructor Summary
Constructors Constructor Description ZestProperties()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<Point>
getControlPoints(Edge edge)
Returns the value of theCONTROL_POINTS__E
attribute of the givenEdge
.static java.lang.String
getCssClass(Edge edge)
Returns the value of theCSS_CLASS__NE
attribute of the givenEdge
.static java.lang.String
getCssClass(Node node)
Returns the value of theCSS_CLASS__NE
attribute of the givenNode
.static java.lang.String
getCssId(Edge edge)
Returns the value of theCSS_ID__NE
attribute of the givenEdge
.static java.lang.String
getCssId(Node node)
Returns the value of theCSS_ID__NE
attribute of the givenNode
.static javafx.scene.Node
getCurve(Edge edge)
static java.lang.String
getCurveCssStyle(Edge edge)
Returns the value of theCURVE_CSS_STYLE__E
attribute of the givenEdge
.static Point
getEndPoint(Edge edge)
Returns the value of theEND_POINT__E
attribute of the givenEdge
.static java.lang.String
getExternalLabel(Edge edge)
Returns the value of theEXTERNAL_LABEL__NE
attribute of the givenEdge
.static java.lang.String
getExternalLabel(Node node)
Returns the value of theEXTERNAL_LABEL__NE
attribute of the givenNode
.static java.lang.String
getExternalLabelCssStyle(Edge edge)
Returns the value of theEXTERNAL_LABEL_CSS_STYLE__NE
attribute of the givenEdge
.static java.lang.String
getExternalLabelCssStyle(Node node)
Returns the value of theEXTERNAL_LABEL_CSS_STYLE__NE
attribute of the givenNode
.static Point
getExternalLabelPosition(Edge edge)
Returns the value of theEXTERNAL_LABEL_POSITION__NE
attribute of the givenEdge
.static Point
getExternalLabelPosition(Node node)
Returns the value of theEXTERNAL_LABEL_POSITION__NE
attribute of the givenNode
.static java.lang.String
getExternalLabelTooltip(Edge edge)
Returns the value of theEXTERNAL_LABEL_TOOLTIP__NE
attribute of the givenEdge
.static java.lang.String
getExternalLabelTooltip(Node node)
Returns the value of theEXTERNAL_LABEL_TOOLTIP__NE
attribute of the givenNode
.static javafx.scene.image.Image
getIcon(Node node)
static IConnectionInterpolator
getInterpolator(Edge edge)
Returns the value of theINTERPOLATOR__E
attribute of the givenEdge
.static java.lang.Boolean
getInvisible(Edge edge)
Returns the value of theINVISIBLE__NE
attribute of the givenEdge
.static java.lang.Boolean
getInvisible(Node node)
Returns the value of theINVISIBLE__NE
attribute of the givenNode
.static java.lang.String
getLabel(Edge edge)
static java.lang.String
getLabel(Node node)
static java.lang.String
getLabelCssStyle(Edge edge)
Returns the value of theLABEL_CSS_STYLE__NE
attribute of the givenEdge
.static java.lang.String
getLabelCssStyle(Node node)
Returns the value of theLABEL_CSS_STYLE__NE
attribute of the givenNode
.static Point
getLabelPosition(Edge edge)
Returns the value of theLABEL_POSITION__E
attribute of the givenEdge
.static java.lang.String
getLabelTooltip(Edge edge)
Returns the value of theLABEL_TOOLTIP__E
attribute of the givenEdge
.static ILayoutAlgorithm
getLayoutAlgorithm(Graph graph)
Returns the value of theLAYOUT_ALGORITHM__G
attribute of the givenGraph
.static java.lang.Boolean
getLayoutIrrelevant(Edge edge)
Returns the value of theLAYOUT_IRRELEVANT__NE
attribute of the givenEdge
.static java.lang.Boolean
getLayoutIrrelevant(Node node)
Returns the value of theLAYOUT_IRRELEVANT__NE
attribute of the givenNode
.static java.lang.Object
getModel(Edge edge)
Returns the value of theMODEL__GNE
attribute of the givenEdge
.static java.lang.Object
getModel(Graph graph)
Returns the value of theMODEL__GNE
attribute of the givenGraph
.static java.lang.Object
getModel(Node node)
Returns the value of theMODEL__GNE
attribute of the givenNode
.static Point
getPosition(Node node)
Returns the value of thePOSITION__N
attribute of the givenNode
.static IConnectionRouter
getRouter(Edge edge)
static javafx.scene.Node
getShape(Node node)
static java.lang.String
getShapeCssStyle(Node node)
Returns the value of theSHAPE_CSS_STYLE__N
attribute of the givenNode
.static Dimension
getSize(Node node)
static javafx.scene.Node
getSourceDecoration(Edge edge)
Returns the value of theSOURCE_DECORATION__E
attribute of the givenEdge
.static java.lang.String
getSourceDecorationCssStyle(Edge edge)
Returns the value of theSOURCE_DECORATION_CSS_STYLE__E
attribute of the givenEdge
.static java.lang.String
getSourceLabel(Edge edge)
Returns the value of theSOURCE_LABEL__E
attribute of the givenEdge
.static java.lang.String
getSourceLabelCssStyle(Edge edge)
Returns the value of theSOURCE_LABEL_CSS_STYLE__E
attribute of the givenEdge
.static Point
getSourceLabelPosition(Edge edge)
Returns the value of theSOURCE_LABEL_POSITION__E
attribute of the givenEdge
.static java.lang.String
getSourceLabelTooltip(Edge edge)
Returns the value of theSOURCE_LABEL_TOOLTIP__E
attribute of the givenEdge
.static Point
getStartPoint(Edge edge)
Returns the value of theSTART_POINT__E
attribute of the givenEdge
.static javafx.scene.Node
getTargetDecoration(Edge edge)
Returns the value of theTARGET_DECORATION__E
attribute of the givenEdge
.static java.lang.String
getTargetDecorationCssStyle(Edge edge)
Returns the value of theTARGET_DECORATION_CSS_STYLE__E
attribute of the givenEdge
.static java.lang.String
getTargetLabel(Edge edge)
Returns the value of theTARGET_LABEL__E
attribute of the givenEdge
.static java.lang.String
getTargetLabelCssStyle(Edge edge)
Returns the value of theTARGET_LABEL_CSS_STYLE__E
attribute of the givenEdge
.static Point
getTargetLabelPosition(Edge edge)
Returns the value of theTARGET_LABEL_POSITION__E
attribute of the givenEdge
.static java.lang.String
getTargetLabelTooltip(Edge edge)
Returns the value of theTARGET_LABEL_TOOLTIP__E
attribute of the givenEdge
.static java.lang.String
getTooltip(Edge edge)
Returns the value of theTOOLTIP__E
attribute of the givenEdge
.static java.lang.String
getTooltip(Node node)
Returns the value of theTOOLTIP__N
attribute of the givenNode
.static void
setControlPoints(Edge edge, Provider<java.util.List<Point>> controlPointsProvider)
Sets the value of theCONTROL_POINTS__E
attribute of the givenEdge
to the given value.static void
setControlPoints(Edge edge, java.util.List<Point> controlPoints)
Sets the value of theCONTROL_POINTS__E
attribute of the givenEdge
to the given value.static void
setCssClass(Edge edge, Provider<java.lang.String> cssClassProvider)
Sets the value of theCSS_CLASS__NE
attribute of the givenEdge
to the given value.static void
setCssClass(Edge edge, java.lang.String cssClass)
Sets the value of theCSS_CLASS__NE
attribute of the givenEdge
to the given value.static void
setCssClass(Node node, Provider<java.lang.String> cssClassProvider)
Sets the value of theCSS_CLASS__NE
attribute of the givenNode
to the given value.static void
setCssClass(Node node, java.lang.String cssClass)
Sets the value of theCSS_CLASS__NE
attribute of the givenNode
to the given value.static void
setCssId(Edge edge, Provider<java.lang.String> cssIdProvider)
Sets the value of theCSS_ID__NE
attribute of the givenEdge
to the given value.static void
setCssId(Edge edge, java.lang.String cssId)
Sets the value of theCSS_ID__NE
attribute of the givenEdge
to the given value.static void
setCssId(Node node, Provider<java.lang.String> cssIdProvider)
Sets the value of theCSS_ID__NE
attribute of the givenNode
to the given value.static void
setCssId(Node node, java.lang.String cssId)
Sets the value of theCSS_ID__NE
attribute of the givenNode
to the given value.static void
setCurve(Edge edge, Provider<javafx.scene.Node> curveProvider)
static void
setCurve(Edge edge, javafx.scene.Node curve)
static void
setCurveCssStyle(Edge edge, Provider<java.lang.String> curveCssStyleProvider)
Sets the value of theCURVE_CSS_STYLE__E
attribute of the givenEdge
to the given value.static void
setCurveCssStyle(Edge edge, java.lang.String curveCssStyle)
Sets the value of theCURVE_CSS_STYLE__E
attribute of the givenEdge
to the given value.static void
setEndPoint(Edge edge, Provider<Point> endPointProvider)
Sets the value of theEND_POINT__E
attribute of the givenEdge
to the given value.static void
setEndPoint(Edge edge, Point endPoint)
Sets the value of theEND_POINT__E
attribute of the givenEdge
to the given value.static void
setExternalLabel(Edge edge, Provider<java.lang.String> labelProvider)
Sets the value of theEXTERNAL_LABEL__NE
attribute of the givenEdge
to the given provider.static void
setExternalLabel(Edge edge, java.lang.String label)
Sets the value of theEXTERNAL_LABEL__NE
attribute of the givenEdge
to the given value.static void
setExternalLabel(Node node, Provider<java.lang.String> labelProvider)
Sets the value of theEXTERNAL_LABEL__NE
attribute of the givenNode
to the given provider.static void
setExternalLabel(Node node, java.lang.String label)
Sets the value of theEXTERNAL_LABEL__NE
attribute of the givenNode
to the given value.static void
setExternalLabelCssStyle(Edge edge, Provider<java.lang.String> textCssStyleProvider)
Sets the value of theEXTERNAL_LABEL_CSS_STYLE__NE
attribute of the givenEdge
to the given value.static void
setExternalLabelCssStyle(Edge edge, java.lang.String textCssStyle)
Sets the value of theEXTERNAL_LABEL_CSS_STYLE__NE
attribute of the givenEdge
to the given value.static void
setExternalLabelCssStyle(Node node, Provider<java.lang.String> textCssStyleProvider)
Sets the value of theEXTERNAL_LABEL_CSS_STYLE__NE
attribute of the givenNode
to the given value.static void
setExternalLabelCssStyle(Node node, java.lang.String textCssStyle)
Sets the value of theEXTERNAL_LABEL_CSS_STYLE__NE
attribute of the givenNode
to the given value.static void
setExternalLabelPosition(Edge edge, Provider<Point> externalLabelPositionProvider)
Sets the value of theEXTERNAL_LABEL_POSITION__NE
attribute of the givenEdge
to the given value.static void
setExternalLabelPosition(Edge edge, Point externalLabelPosition)
Sets the value of theEXTERNAL_LABEL_POSITION__NE
attribute of the givenEdge
to the given value.static void
setExternalLabelPosition(Node node, Provider<Point> externalLabelPositionProvider)
Sets the value of theEXTERNAL_LABEL_POSITION__NE
attribute of the givenNode
to the given value.static void
setExternalLabelPosition(Node node, Point externalLabelPosition)
Sets the value of theEXTERNAL_LABEL_POSITION__NE
attribute of the givenNode
to the given value.static void
setExternalLabelTooltip(Edge edge, Provider<java.lang.String> tooltipProvider)
Sets the value of theEXTERNAL_LABEL_TOOLTIP__NE
attribute of the givenEdge
to the given provider.static void
setExternalLabelTooltip(Edge edge, java.lang.String tooltip)
Sets the value of theEXTERNAL_LABEL_TOOLTIP__NE
attribute of the givenEdge
to the given value.static void
setExternalLabelTooltip(Node node, Provider<java.lang.String> tooltipProvider)
Sets the value of theEXTERNAL_LABEL_TOOLTIP__NE
attribute of the givenNode
to the given provider.static void
setExternalLabelTooltip(Node node, java.lang.String tooltip)
Sets the value of theEXTERNAL_LABEL_TOOLTIP__NE
attribute of the givenNode
to the given value.static void
setIcon(Node node, Provider<javafx.scene.image.Image> iconProvider)
static void
setIcon(Node node, javafx.scene.image.Image icon)
static void
setInterpolator(Edge edge, Provider<IConnectionInterpolator> interpolatorProvider)
Sets the value of theINTERPOLATOR__E
attribute of the givenEdge
to the given value.static void
setInterpolator(Edge edge, IConnectionInterpolator interpolator)
Sets the value of theINTERPOLATOR__E
attribute of the givenEdge
to the given value.static void
setInvisible(Edge edge, Provider<java.lang.Boolean> invisibleProvider)
Sets the value of theINVISIBLE__NE
attribute of the givenEdge
to the given value.static void
setInvisible(Edge edge, java.lang.Boolean invisible)
Sets the value of theINVISIBLE__NE
attribute of the givenEdge
to the given value.static void
setInvisible(Node node, Provider<java.lang.Boolean> invisibleProvider)
Sets the value of theINVISIBLE__NE
attribute of the givenNode
to the given value.static void
setInvisible(Node node, java.lang.Boolean invisible)
Sets the value of theINVISIBLE__NE
attribute of the givenNode
to the given value.static void
setLabel(Edge edge, Provider<java.lang.String> labelProvider)
static void
setLabel(Edge edge, java.lang.String label)
static void
setLabel(Node node, Provider<java.lang.String> labelProvider)
static void
setLabel(Node node, java.lang.String label)
static void
setLabelCssStyle(Edge edge, Provider<java.lang.String> textCssStyleProvider)
Sets the value of theLABEL_CSS_STYLE__NE
attribute of the givenEdge
to the given value.static void
setLabelCssStyle(Edge edge, java.lang.String textCssStyle)
Sets the value of theLABEL_CSS_STYLE__NE
attribute of the givenEdge
to the given value.static void
setLabelCssStyle(Node node, Provider<java.lang.String> textCssStyleProvider)
Sets the value of theLABEL_CSS_STYLE__NE
attribute of the givenNode
to the given value.static void
setLabelCssStyle(Node node, java.lang.String textCssStyle)
Sets the value of theLABEL_CSS_STYLE__NE
attribute of the givenNode
to the given value.static void
setLabelPosition(Edge edge, Provider<Point> labelPositionProvider)
Sets the value of theLABEL_POSITION__E
attribute of the givenEdge
to the given value.static void
setLabelPosition(Edge edge, Point labelPosition)
Sets the value of theLABEL_POSITION__E
attribute of the givenEdge
to the given value.static void
setLabelTooltip(Edge edge, Provider<java.lang.String> tooltipProvider)
Sets the value of theLABEL_TOOLTIP__E
attribute of the givenEdge
to the given provider.static void
setLabelTooltip(Edge edge, java.lang.String tooltip)
Sets the value of theLABEL_TOOLTIP__E
attribute of the givenEdge
to the given value.static void
setLayoutAlgorithm(Graph graph, Provider<ILayoutAlgorithm> algorithmProvider)
Sets the value of theLAYOUT_ALGORITHM__G
attribute of the givenGraph
to the given value.static void
setLayoutAlgorithm(Graph graph, ILayoutAlgorithm algorithm)
Sets the value of theLAYOUT_ALGORITHM__G
attribute of the givenGraph
to the given value.static void
setLayoutIrrelevant(Edge edge, Provider<java.lang.Boolean> layoutIrrelevantProvider)
Sets the value of theLAYOUT_IRRELEVANT__NE
attribute of the givenEdge
to the given value.static void
setLayoutIrrelevant(Edge edge, java.lang.Boolean layoutIrrelevant)
Sets the value of theLAYOUT_IRRELEVANT__NE
attribute of the givenEdge
to the given value.static void
setLayoutIrrelevant(Node node, Provider<java.lang.Boolean> layoutIrrelevantProvider)
Sets the value of theLAYOUT_IRRELEVANT__NE
attribute of the givenNode
to the given value.static void
setLayoutIrrelevant(Node node, java.lang.Boolean layoutIrrelevant)
Sets the value of theLAYOUT_IRRELEVANT__NE
attribute of the givenNode
to the given value.static void
setModel(Edge edge, java.lang.Object model)
Sets the value of theMODEL__GNE
attribute of the givenEdge
to the given value.static void
setModel(Graph graph, java.lang.Object model)
Sets the value of theMODEL__GNE
attribute of the givenGraph
to the given value.static void
setModel(Node node, java.lang.Object model)
Sets the value of theMODEL__GNE
attribute of the givenNode
to the given value.static void
setPosition(Node node, Provider<Point> positionProvider)
Sets the value of thePOSITION__N
attribute of the givenNode
to the given value.static void
setPosition(Node node, Point position)
Sets the value of thePOSITION__N
attribute of the givenNode
to the given value.static void
setRouter(Edge edge, Provider<IConnectionRouter> routerProvider)
static void
setRouter(Edge edge, IConnectionRouter router)
static void
setShape(Node node, Provider<javafx.scene.Node> shapeProvider)
static void
setShape(Node node, javafx.scene.Node shape)
static void
setShapeCssStyle(Node node, Provider<java.lang.String> rectCssStyleProvider)
Sets the value of theSHAPE_CSS_STYLE__N
attribute of the givenNode
to the given value.static void
setShapeCssStyle(Node node, java.lang.String rectCssStyle)
Sets the value of theSHAPE_CSS_STYLE__N
attribute of the givenNode
to the given value.static void
setSize(Node node, Provider<Dimension> sizeProvider)
static void
setSize(Node node, Dimension size)
static void
setSourceDecoration(Edge edge, Provider<javafx.scene.Node> sourceDecorationProvider)
Sets the value of theSOURCE_DECORATION__E
attribute of the givenEdge
to the given value.static void
setSourceDecoration(Edge edge, javafx.scene.Node sourceDecoration)
Sets the value of theSOURCE_DECORATION__E
attribute of the givenEdge
to the given value.static void
setSourceDecorationCssStyle(Edge edge, Provider<java.lang.String> sourceDecorationCssStyleProvider)
Sets the value of theSOURCE_DECORATION_CSS_STYLE__E
attribute of the givenEdge
to the given value.static void
setSourceDecorationCssStyle(Edge edge, java.lang.String sourceDecorationCssStyle)
Sets the value of theSOURCE_DECORATION_CSS_STYLE__E
attribute of the givenEdge
to the given value.static void
setSourceLabel(Edge edge, Provider<java.lang.String> sourceLabelProvider)
Sets the value of theSOURCE_LABEL__E
attribute of the givenEdge
to the given provider.static void
setSourceLabel(Edge edge, java.lang.String sourceLabel)
Sets the value of theSOURCE_LABEL__E
attribute of the givenEdge
to the given value.static void
setSourceLabelCssStyle(Edge edge, Provider<java.lang.String> sourceLabelCssStyleProvider)
Sets the value of theSOURCE_LABEL_CSS_STYLE__E
attribute of the givenEdge
to the given value.static void
setSourceLabelCssStyle(Edge edge, java.lang.String sourceLabelCssStyle)
Sets the value of theSOURCE_LABEL_CSS_STYLE__E
attribute of the givenEdge
to the given value.static void
setSourceLabelPosition(Edge edge, Provider<Point> labelPositionProvider)
Sets the value of theSOURCE_LABEL_POSITION__E
attribute of the givenEdge
to the given value.static void
setSourceLabelPosition(Edge edge, Point labelPosition)
Sets the value of theSOURCE_LABEL_POSITION__E
attribute of the givenEdge
to the given value.static void
setSourceLabelTooltip(Edge edge, Provider<java.lang.String> tooltipProvider)
Sets the value of theSOURCE_LABEL_TOOLTIP__E
attribute of the givenEdge
to the given provider.static void
setSourceLabelTooltip(Edge edge, java.lang.String tooltip)
Sets the value of theSOURCE_LABEL_TOOLTIP__E
attribute of the givenEdge
to the given value.static void
setStartPoint(Edge edge, Provider<Point> startPointProvider)
Sets the value of theSTART_POINT__E
attribute of the givenEdge
to the given value.static void
setStartPoint(Edge edge, Point startPoint)
Sets the value of theSTART_POINT__E
attribute of the givenEdge
to the given value.static void
setTargetDecoration(Edge edge, Provider<javafx.scene.Node> targetDecorationProvider)
Sets the value of theTARGET_DECORATION__E
attribute of the givenEdge
to the given value.static void
setTargetDecoration(Edge edge, javafx.scene.Node targetDecoration)
Sets the value of theTARGET_DECORATION__E
attribute of the givenEdge
to the given value.static void
setTargetDecorationCssStyle(Edge edge, Provider<java.lang.String> targetDecorationCssStyleProvider)
Sets the value of theTARGET_DECORATION_CSS_STYLE__E
attribute of the givenEdge
to the given value.static void
setTargetDecorationCssStyle(Edge edge, java.lang.String targetDecorationCssStyle)
Sets the value of theTARGET_DECORATION_CSS_STYLE__E
attribute of the givenEdge
to the given value.static void
setTargetLabel(Edge edge, Provider<java.lang.String> targetLabelProvider)
Sets the value of theTARGET_LABEL__E
attribute of the givenEdge
to the given provider.static void
setTargetLabel(Edge edge, java.lang.String targetLabel)
Sets the value of theTARGET_LABEL__E
attribute of the givenEdge
to the given value.static void
setTargetLabelCssStyle(Edge edge, Provider<java.lang.String> targetLabelCssStyleProvider)
Sets the value of theTARGET_LABEL_CSS_STYLE__E
attribute of the givenEdge
to the given value.static void
setTargetLabelCssStyle(Edge edge, java.lang.String targetLabelCssStyle)
Sets the value of theTARGET_LABEL_CSS_STYLE__E
attribute of the givenEdge
to the given value.static void
setTargetLabelPosition(Edge edge, Provider<Point> labelPositionProvider)
Sets the value of theTARGET_LABEL_POSITION__E
attribute of the givenEdge
to the given value.static void
setTargetLabelPosition(Edge edge, Point labelPosition)
Sets the value of theTARGET_LABEL_POSITION__E
attribute of the givenEdge
to the given value.static void
setTargetLabelTooltip(Edge edge, Provider<java.lang.String> tooltipProvider)
Sets the value of theTARGET_LABEL_TOOLTIP__E
attribute of the givenEdge
to the given provider.static void
setTargetLabelTooltip(Edge edge, java.lang.String tooltip)
Sets the value of theTARGET_LABEL_TOOLTIP__E
attribute of the givenEdge
to the given value.static void
setTooltip(Edge edge, Provider<java.lang.String> tooltipProvider)
Sets the value of theTOOLTIP__E
attribute of the givenEdge
to the given provider.static void
setTooltip(Edge edge, java.lang.String tooltip)
Sets the value of theTOOLTIP__E
attribute of the givenEdge
to the given value.static void
setTooltip(Node node, Provider<java.lang.String> tooltipProvider)
Sets the value of theTOOLTIP__N
attribute of the givenNode
to the given provider.static void
setTooltip(Node node, java.lang.String tooltip)
Sets the value of theTOOLTIP__N
attribute of the givenNode
to the given value.
-
-
-
Field Detail
-
LAYOUT_IRRELEVANT__NE
public static final java.lang.String LAYOUT_IRRELEVANT__NE
This attribute determines if an element (node/edge) should be ignored by the automatic layout.
-
INVISIBLE__NE
public static final java.lang.String INVISIBLE__NE
This attribute determines if an element (node/edge) is invisible.
-
CSS_CLASS__NE
public static final java.lang.String CSS_CLASS__NE
This attribute determines the CSS class for an element (node/edge). This attribute does not have a default value.
-
CSS_ID__NE
public static final java.lang.String CSS_ID__NE
This attribute determines the CSS id for an element (node/edge). This attribute does not have a default value.
-
LABEL__NE
public static final java.lang.String LABEL__NE
This attribute determines the label for an element (node/edge). This attribute does not have a default value.
-
MODEL__GNE
public static final java.lang.String MODEL__GNE
This attribute stores a back-reference to the original model element from which thisGraph
,Node
, orEdge
was constructed.- Since:
- 5.1
- See Also:
- Constant Field Values
-
CURVE__E
public static final java.lang.String CURVE__E
This attribute determines the curve being used for visualization of the edge.- See Also:
- Constant Field Values
-
START_POINT__E
public static final java.lang.String START_POINT__E
This attribute determines the start point being used for the visualization of the edge.- See Also:
- Constant Field Values
-
END_POINT__E
public static final java.lang.String END_POINT__E
This attribute determines the end point being used for the visualization of the edge.- See Also:
- Constant Field Values
-
CURVE_CSS_STYLE__E
public static final java.lang.String CURVE_CSS_STYLE__E
This attribute determines the CSS style for an edge. This attribute does not have a default value.
-
SOURCE_DECORATION_CSS_STYLE__E
public static final java.lang.String SOURCE_DECORATION_CSS_STYLE__E
This attribute determines the CSS style for the source decoration of an edge. This attribute does not have a default value.
-
TARGET_DECORATION_CSS_STYLE__E
public static final java.lang.String TARGET_DECORATION_CSS_STYLE__E
This attribute determines the CSS style for the target decoration of an edge. This attribute does not have a default value.
-
CONTROL_POINTS__E
public static final java.lang.String CONTROL_POINTS__E
This attribute determines the way points that are passed along to theROUTER__E
in addition to the start and end point, which are provided by theConnection
and computed byIAnchor
s at the source and target node of theEdge
(and not included in the list of way points).
-
SHAPE__N
public static final java.lang.String SHAPE__N
This attribute determines the shape being used for background and outline visualization of the node.- See Also:
- Constant Field Values
-
SHAPE_CSS_STYLE__N
public static final java.lang.String SHAPE_CSS_STYLE__N
This attribute determines the CSS style for a node shape. This attribute does not have a default value.
-
LABEL_CSS_STYLE__NE
public static final java.lang.String LABEL_CSS_STYLE__NE
This attribute determines the CSS style for an element (node/edge) label. This attribute does not have a default value.
-
SOURCE_LABEL_CSS_STYLE__E
public static final java.lang.String SOURCE_LABEL_CSS_STYLE__E
This attribute determines the CSS style for the source edge label. This attribute does not have a default value.
-
TARGET_LABEL_CSS_STYLE__E
public static final java.lang.String TARGET_LABEL_CSS_STYLE__E
This attribute determines the CSS style for the target edge label. This attribute does not have a default value.
-
EXTERNAL_LABEL_CSS_STYLE__NE
public static final java.lang.String EXTERNAL_LABEL_CSS_STYLE__NE
This attribute determines the CSS style for an external label of an element (node/edge). This attribute does not have a default value.
-
EXTERNAL_LABEL__NE
public static final java.lang.String EXTERNAL_LABEL__NE
This attribute determines the (optional) external label of an element (node/edge).- See Also:
- Constant Field Values
-
EXTERNAL_LABEL_POSITION__NE
public static final java.lang.String EXTERNAL_LABEL_POSITION__NE
This attribute determines the position of an element (node/edge)'s external label (in case it exists).- See Also:
- Constant Field Values
-
LABEL_POSITION__E
public static final java.lang.String LABEL_POSITION__E
This attribute determines the position of an edge's label (in case it exists).- See Also:
- Constant Field Values
-
SOURCE_LABEL_POSITION__E
public static final java.lang.String SOURCE_LABEL_POSITION__E
This attribute determines the position of an edge's source label (in case it exists).- See Also:
- Constant Field Values
-
TARGET_LABEL_POSITION__E
public static final java.lang.String TARGET_LABEL_POSITION__E
This attribute determines the position of an edge's target label (in case it exists).- See Also:
- Constant Field Values
-
ICON__N
public static final java.lang.String ICON__N
This attribute determines the icon for a node. This attribute does not have a default value.- See Also:
getIcon(Node)
,setIcon(Node, Image)
, Constant Field Values
-
SIZE__N
public static final java.lang.String SIZE__N
This attribute determines the size for a node.
-
POSITION__N
public static final java.lang.String POSITION__N
This attribute determines the position for a node.
-
TOOLTIP__N
public static final java.lang.String TOOLTIP__N
This attribute determines the tooltip for a node. This attribute does not have a default value.
-
TOOLTIP__E
public static final java.lang.String TOOLTIP__E
This attribute determines the tooltip for an edge. This attribute does not have a default value.- Since:
- 5.1
- See Also:
getTooltip(Edge)
,setTooltip(Edge, String)
, Constant Field Values
-
LABEL_TOOLTIP__E
public static final java.lang.String LABEL_TOOLTIP__E
This attribute determines the tooltip for an edge label. This attribute does not have a default value.- Since:
- 5.1
- See Also:
getLabelTooltip(Edge)
,setLabelTooltip(Edge, String)
, Constant Field Values
-
SOURCE_LABEL_TOOLTIP__E
public static final java.lang.String SOURCE_LABEL_TOOLTIP__E
This attribute determines the tooltip for an edge source label. This attribute does not have a default value.- Since:
- 5.1
- See Also:
getSourceLabelTooltip(Edge)
,setSourceLabelTooltip(Edge, String)
, Constant Field Values
-
TARGET_LABEL_TOOLTIP__E
public static final java.lang.String TARGET_LABEL_TOOLTIP__E
This attribute determines the tooltip for an edge target label. This attribute does not have a default value.- Since:
- 5.1
- See Also:
getTargetLabelTooltip(Edge)
,setTargetLabelTooltip(Edge, String)
, Constant Field Values
-
EXTERNAL_LABEL_TOOLTIP__NE
public static final java.lang.String EXTERNAL_LABEL_TOOLTIP__NE
This attribute determines the tooltip for an element (node/edge) external label. This attribute does not have a default value.
-
TARGET_DECORATION__E
public static final java.lang.String TARGET_DECORATION__E
This attribute determines the target decoration for an edge. This attribute does not have a default value.
-
SOURCE_DECORATION__E
public static final java.lang.String SOURCE_DECORATION__E
This attribute determines the source decoration for an edge. This attribute does not have a default value.
-
TARGET_LABEL__E
public static final java.lang.String TARGET_LABEL__E
This attribute determines the target label for an edge. This attribute does not have a default value.
-
SOURCE_LABEL__E
public static final java.lang.String SOURCE_LABEL__E
This attribute determines the source label for an edge. This attribute does not have a default value.
-
ROUTER__E
public static final java.lang.String ROUTER__E
This attribute determines theIConnectionRouter
used to route an edge. This attribute does not have a default value.
-
INTERPOLATOR__E
public static final java.lang.String INTERPOLATOR__E
This attribute determines theIConnectionInterpolator
used to infer a geometry for an edge. This attribute does not have a default value.
-
LAYOUT_ALGORITHM__G
public static final java.lang.String LAYOUT_ALGORITHM__G
This attribute determines theILayoutAlgorithm
used to layout the graph.
-
-
Method Detail
-
getControlPoints
public static java.util.List<Point> getControlPoints(Edge edge)
Returns the value of theCONTROL_POINTS__E
attribute of the givenEdge
.- Parameters:
edge
- TheEdge
for which to determine the router points.- Returns:
- The value of the
CONTROL_POINTS__E
attribute of the givenEdge
, or an empty list, if the attribute is unset.
-
getCssClass
public static java.lang.String getCssClass(Edge edge)
Returns the value of theCSS_CLASS__NE
attribute of the givenEdge
.
-
getCssClass
public static java.lang.String getCssClass(Node node)
Returns the value of theCSS_CLASS__NE
attribute of the givenNode
.
-
getCssId
public static java.lang.String getCssId(Edge edge)
Returns the value of theCSS_ID__NE
attribute of the givenEdge
.
-
getCssId
public static java.lang.String getCssId(Node node)
Returns the value of theCSS_ID__NE
attribute of the givenNode
.
-
getCurve
public static javafx.scene.Node getCurve(Edge edge)
-
getCurveCssStyle
public static java.lang.String getCurveCssStyle(Edge edge)
Returns the value of theCURVE_CSS_STYLE__E
attribute of the givenEdge
.
-
getEndPoint
public static Point getEndPoint(Edge edge)
Returns the value of theEND_POINT__E
attribute of the givenEdge
.
-
getExternalLabel
public static java.lang.String getExternalLabel(Edge edge)
Returns the value of theEXTERNAL_LABEL__NE
attribute of the givenEdge
.
-
getExternalLabel
public static java.lang.String getExternalLabel(Node node)
Returns the value of theEXTERNAL_LABEL__NE
attribute of the givenNode
.
-
getExternalLabelCssStyle
public static java.lang.String getExternalLabelCssStyle(Edge edge)
Returns the value of theEXTERNAL_LABEL_CSS_STYLE__NE
attribute of the givenEdge
.
-
getExternalLabelCssStyle
public static java.lang.String getExternalLabelCssStyle(Node node)
Returns the value of theEXTERNAL_LABEL_CSS_STYLE__NE
attribute of the givenNode
.
-
getExternalLabelPosition
public static Point getExternalLabelPosition(Edge edge)
Returns the value of theEXTERNAL_LABEL_POSITION__NE
attribute of the givenEdge
.- Parameters:
edge
- TheEdge
of which the position is determined.- Returns:
- The value of the
EXTERNAL_LABEL_POSITION__NE
attribute of the givenEdge
.
-
getExternalLabelPosition
public static Point getExternalLabelPosition(Node node)
Returns the value of theEXTERNAL_LABEL_POSITION__NE
attribute of the givenNode
.- Parameters:
node
- TheNode
of which the position is determined.- Returns:
- The value of the
EXTERNAL_LABEL_POSITION__NE
attribute of the givenNode
.
-
getExternalLabelTooltip
public static java.lang.String getExternalLabelTooltip(Edge edge)
Returns the value of theEXTERNAL_LABEL_TOOLTIP__NE
attribute of the givenEdge
.- Parameters:
edge
- TheEdge
of which the external label tooltip is determined.- Returns:
- The tooltip of the given
Edge
external label. If aProvider
is set forEXTERNAL_LABEL_TOOLTIP__NE
, the value will be retrieved from it usingProvider.get()
. - Since:
- 5.1
-
getExternalLabelTooltip
public static java.lang.String getExternalLabelTooltip(Node node)
Returns the value of theEXTERNAL_LABEL_TOOLTIP__NE
attribute of the givenNode
.- Parameters:
node
- TheNode
of which the external label tooltip is determined.- Returns:
- The tooltip of the given
Node
extrnal label. If aProvider
is set forEXTERNAL_LABEL_TOOLTIP__NE
, the value will be retrieved from it usingProvider.get()
. - Since:
- 5.1
-
getIcon
public static javafx.scene.image.Image getIcon(Node node)
-
getInterpolator
public static IConnectionInterpolator getInterpolator(Edge edge)
Returns the value of theINTERPOLATOR__E
attribute of the givenEdge
.
-
getInvisible
public static java.lang.Boolean getInvisible(Edge edge)
Returns the value of theINVISIBLE__NE
attribute of the givenEdge
.- Parameters:
edge
- TheEdge
of which theINVISIBLE__NE
attribute value is determined.- Returns:
- The value of the
INVISIBLE__NE
attribute of the givenEdge
.
-
getInvisible
public static java.lang.Boolean getInvisible(Node node)
Returns the value of theINVISIBLE__NE
attribute of the givenNode
.- Parameters:
node
- TheNode
of which theINVISIBLE__NE
attribute value is determined.- Returns:
- The value of the
INVISIBLE__NE
attribute of the givenNode
.
-
getLabel
public static java.lang.String getLabel(Edge edge)
- Parameters:
edge
- TheEdge
whose attribute value is to be retrieved.- Returns:
- The value of the
LABEL__NE
attributeEdge
. If aProvider
was set for the attribute, the value is retrieved from the provider usingProvider.get()
.
-
getLabel
public static java.lang.String getLabel(Node node)
- Parameters:
node
- TheNode
whose attribute value is to be retrieved.- Returns:
- The value of the
LABEL__NE
attributeNode
. If aProvider
was set for the attribute, the value is retrieved from the provider usingProvider.get()
.
-
getLabelCssStyle
public static java.lang.String getLabelCssStyle(Edge edge)
Returns the value of theLABEL_CSS_STYLE__NE
attribute of the givenEdge
.
-
getLabelCssStyle
public static java.lang.String getLabelCssStyle(Node node)
Returns the value of theLABEL_CSS_STYLE__NE
attribute of the givenNode
.
-
getLabelPosition
public static Point getLabelPosition(Edge edge)
Returns the value of theLABEL_POSITION__E
attribute of the givenEdge
.- Parameters:
edge
- TheEdge
of which the position is determined.- Returns:
- The value of the
LABEL_POSITION__E
attribute of the givenEdge
.
-
getLabelTooltip
public static java.lang.String getLabelTooltip(Edge edge)
Returns the value of theLABEL_TOOLTIP__E
attribute of the givenEdge
.- Parameters:
edge
- TheEdge
of which the label tooltip is determined.- Returns:
- The tooltip of the given
Edge
label. If aProvider
is set forLABEL_TOOLTIP__E
, the value will be retrieved from it usingProvider.get()
. - Since:
- 5.1
-
getLayoutAlgorithm
public static ILayoutAlgorithm getLayoutAlgorithm(Graph graph)
Returns the value of theLAYOUT_ALGORITHM__G
attribute of the givenGraph
.
-
getLayoutIrrelevant
public static java.lang.Boolean getLayoutIrrelevant(Edge edge)
Returns the value of theLAYOUT_IRRELEVANT__NE
attribute of the givenEdge
.
-
getLayoutIrrelevant
public static java.lang.Boolean getLayoutIrrelevant(Node node)
Returns the value of theLAYOUT_IRRELEVANT__NE
attribute of the givenNode
.
-
getModel
public static java.lang.Object getModel(Edge edge)
Returns the value of theMODEL__GNE
attribute of the givenEdge
.
-
getModel
public static java.lang.Object getModel(Graph graph)
Returns the value of theMODEL__GNE
attribute of the givenGraph
.
-
getModel
public static java.lang.Object getModel(Node node)
Returns the value of theMODEL__GNE
attribute of the givenNode
.
-
getPosition
public static Point getPosition(Node node)
Returns the value of thePOSITION__N
attribute of the givenNode
.- Parameters:
node
- TheNode
of which the position is determined.- Returns:
- The value of the
POSITION__N
attribute of the givenNode
.
-
getRouter
public static IConnectionRouter getRouter(Edge edge)
-
getShape
public static javafx.scene.Node getShape(Node node)
-
getShapeCssStyle
public static java.lang.String getShapeCssStyle(Node node)
Returns the value of theSHAPE_CSS_STYLE__N
attribute of the givenNode
.
-
getSourceDecoration
public static javafx.scene.Node getSourceDecoration(Edge edge)
Returns the value of theSOURCE_DECORATION__E
attribute of the givenEdge
.
-
getSourceDecorationCssStyle
public static java.lang.String getSourceDecorationCssStyle(Edge edge)
Returns the value of theSOURCE_DECORATION_CSS_STYLE__E
attribute of the givenEdge
.
-
getSourceLabel
public static java.lang.String getSourceLabel(Edge edge)
Returns the value of theSOURCE_LABEL__E
attribute of the givenEdge
.- Parameters:
edge
- TheEdge
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 usingProvider.get()
.
-
getSourceLabelCssStyle
public static java.lang.String getSourceLabelCssStyle(Edge edge)
Returns the value of theSOURCE_LABEL_CSS_STYLE__E
attribute of the givenEdge
.
-
getSourceLabelPosition
public static Point getSourceLabelPosition(Edge edge)
Returns the value of theSOURCE_LABEL_POSITION__E
attribute of the givenEdge
.- Parameters:
edge
- TheEdge
of which the source label position is determined.- Returns:
- The value of the
SOURCE_LABEL_POSITION__E
attribute of the givenEdge
.
-
getSourceLabelTooltip
public static java.lang.String getSourceLabelTooltip(Edge edge)
Returns the value of theSOURCE_LABEL_TOOLTIP__E
attribute of the givenEdge
.- Parameters:
edge
- TheEdge
of which the source label tooltip is determined.- Returns:
- The tooltip of the given
Edge
source label. If aProvider
is set forSOURCE_LABEL_TOOLTIP__E
, the value will be retrieved from it usingProvider.get()
. - Since:
- 5.1
-
getStartPoint
public static Point getStartPoint(Edge edge)
Returns the value of theSTART_POINT__E
attribute of the givenEdge
.
-
getTargetDecoration
public static javafx.scene.Node getTargetDecoration(Edge edge)
Returns the value of theTARGET_DECORATION__E
attribute of the givenEdge
.
-
getTargetDecorationCssStyle
public static java.lang.String getTargetDecorationCssStyle(Edge edge)
Returns the value of theTARGET_DECORATION_CSS_STYLE__E
attribute of the givenEdge
.
-
getTargetLabel
public static java.lang.String getTargetLabel(Edge edge)
Returns the value of theTARGET_LABEL__E
attribute of the givenEdge
.- Parameters:
edge
- TheEdge
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 usingProvider.get()
.
-
getTargetLabelCssStyle
public static java.lang.String getTargetLabelCssStyle(Edge edge)
Returns the value of theTARGET_LABEL_CSS_STYLE__E
attribute of the givenEdge
.
-
getTargetLabelPosition
public static Point getTargetLabelPosition(Edge edge)
Returns the value of theTARGET_LABEL_POSITION__E
attribute of the givenEdge
.- Parameters:
edge
- TheEdge
of which the target label position is determined.- Returns:
- The value of the
TARGET_LABEL_POSITION__E
attribute of the givenEdge
.
-
getTargetLabelTooltip
public static java.lang.String getTargetLabelTooltip(Edge edge)
Returns the value of theTARGET_LABEL_TOOLTIP__E
attribute of the givenEdge
.- Parameters:
edge
- TheEdge
of which the target label tooltip is determined.- Returns:
- The tooltip of the given
Edge
target label. If aProvider
is set forTARGET_LABEL_TOOLTIP__E
, the value will be retrieved from it usingProvider.get()
. - Since:
- 5.1
-
getTooltip
public static java.lang.String getTooltip(Edge edge)
Returns the value of theTOOLTIP__E
attribute of the givenEdge
.- Parameters:
edge
- TheEdge
of which the tooltip is determined.- Returns:
- The tooltip of the given
Edge
. If aProvider
is set forTOOLTIP__E
, the value will be retrieved from it usingProvider.get()
. - Since:
- 5.1
-
getTooltip
public static java.lang.String getTooltip(Node node)
Returns the value of theTOOLTIP__N
attribute of the givenNode
.- Parameters:
node
- TheNode
of which the tooltip is determined.- Returns:
- The tooltip of the given
Node
. If aProvider
is set forTOOLTIP__N
, the value will be retrieved from it usingProvider.get()
.
-
setControlPoints
public static void setControlPoints(Edge edge, java.util.List<Point> controlPoints)
Sets the value of theCONTROL_POINTS__E
attribute of the givenEdge
to the given value.- Parameters:
edge
- TheEdge
of which theCONTROL_POINTS__E
attribute is changed.controlPoints
- The newList
of controlPoint
s for the givenEdge
.
-
setControlPoints
public static void setControlPoints(Edge edge, Provider<java.util.List<Point>> controlPointsProvider)
Sets the value of theCONTROL_POINTS__E
attribute of the givenEdge
to the given value.- Parameters:
edge
- TheEdge
of which theCONTROL_POINTS__E
attribute is changed.controlPointsProvider
- The newList
of controlPoint
s for the givenEdge
.
-
setCssClass
public static void setCssClass(Edge edge, Provider<java.lang.String> cssClassProvider)
Sets the value of theCSS_CLASS__NE
attribute of the givenEdge
to the given value.
-
setCssClass
public static void setCssClass(Edge edge, java.lang.String cssClass)
Sets the value of theCSS_CLASS__NE
attribute of the givenEdge
to the given value.
-
setCssClass
public static void setCssClass(Node node, Provider<java.lang.String> cssClassProvider)
Sets the value of theCSS_CLASS__NE
attribute of the givenNode
to the given value.
-
setCssClass
public static void setCssClass(Node node, java.lang.String cssClass)
Sets the value of theCSS_CLASS__NE
attribute of the givenNode
to the given value.
-
setCssId
public static void setCssId(Edge edge, Provider<java.lang.String> cssIdProvider)
Sets the value of theCSS_ID__NE
attribute of the givenEdge
to the given value.
-
setCssId
public static void setCssId(Edge edge, java.lang.String cssId)
Sets the value of theCSS_ID__NE
attribute of the givenEdge
to the given value.
-
setCssId
public static void setCssId(Node node, Provider<java.lang.String> cssIdProvider)
Sets the value of theCSS_ID__NE
attribute of the givenNode
to the given value.
-
setCssId
public static void setCssId(Node node, java.lang.String cssId)
Sets the value of theCSS_ID__NE
attribute of the givenNode
to the given value.
-
setCurve
public static void setCurve(Edge edge, javafx.scene.Node curve)
-
setCurveCssStyle
public static void setCurveCssStyle(Edge edge, Provider<java.lang.String> curveCssStyleProvider)
Sets the value of theCURVE_CSS_STYLE__E
attribute of the givenEdge
to the given value.
-
setCurveCssStyle
public static void setCurveCssStyle(Edge edge, java.lang.String curveCssStyle)
Sets the value of theCURVE_CSS_STYLE__E
attribute of the givenEdge
to the given value.
-
setEndPoint
public static void setEndPoint(Edge edge, Point endPoint)
Sets the value of theEND_POINT__E
attribute of the givenEdge
to the given value.- Parameters:
edge
- TheEdge
, for which to set the value of theEND_POINT__E
attribute.endPoint
- The endPoint
for the givenEdge
.
-
setEndPoint
public static void setEndPoint(Edge edge, Provider<Point> endPointProvider)
Sets the value of theEND_POINT__E
attribute of the givenEdge
to the given value.- Parameters:
edge
- TheEdge
, for which to set the value of theEND_POINT__E
attribute.endPointProvider
- The endPoint
for the givenEdge
.
-
setExternalLabel
public static void setExternalLabel(Edge edge, Provider<java.lang.String> labelProvider)
Sets the value of theEXTERNAL_LABEL__NE
attribute of the givenEdge
to the given provider.- Parameters:
edge
- TheEdge
of which the external label is changed.labelProvider
- AProvider
that is used to retrieve the value of theEXTERNAL_LABEL__NE
attribute.
-
setExternalLabel
public static void setExternalLabel(Edge edge, java.lang.String label)
Sets the value of theEXTERNAL_LABEL__NE
attribute of the givenEdge
to the given value.
-
setExternalLabel
public static void setExternalLabel(Node node, Provider<java.lang.String> labelProvider)
Sets the value of theEXTERNAL_LABEL__NE
attribute of the givenNode
to the given provider.- Parameters:
node
- TheNode
of which the external label is changed.labelProvider
- AProvider
that is used to retrieve the value of theEXTERNAL_LABEL__NE
attribute.
-
setExternalLabel
public static void setExternalLabel(Node node, java.lang.String label)
Sets the value of theEXTERNAL_LABEL__NE
attribute of the givenNode
to the given value.
-
setExternalLabelCssStyle
public static void setExternalLabelCssStyle(Edge edge, Provider<java.lang.String> textCssStyleProvider)
Sets the value of theEXTERNAL_LABEL_CSS_STYLE__NE
attribute of the givenEdge
to the given value.
-
setExternalLabelCssStyle
public static void setExternalLabelCssStyle(Edge edge, java.lang.String textCssStyle)
Sets the value of theEXTERNAL_LABEL_CSS_STYLE__NE
attribute of the givenEdge
to the given value.
-
setExternalLabelCssStyle
public static void setExternalLabelCssStyle(Node node, Provider<java.lang.String> textCssStyleProvider)
Sets the value of theEXTERNAL_LABEL_CSS_STYLE__NE
attribute of the givenNode
to the given value.
-
setExternalLabelCssStyle
public static void setExternalLabelCssStyle(Node node, java.lang.String textCssStyle)
Sets the value of theEXTERNAL_LABEL_CSS_STYLE__NE
attribute of the givenNode
to the given value.
-
setExternalLabelPosition
public static void setExternalLabelPosition(Edge edge, Point externalLabelPosition)
Sets the value of theEXTERNAL_LABEL_POSITION__NE
attribute of the givenEdge
to the given value.- Parameters:
edge
- TheEdge
of which theEXTERNAL_LABEL_POSITION__NE
attribute is changed.externalLabelPosition
- The new external label position.
-
setExternalLabelPosition
public static void setExternalLabelPosition(Edge edge, Provider<Point> externalLabelPositionProvider)
Sets the value of theEXTERNAL_LABEL_POSITION__NE
attribute of the givenEdge
to the given value.- Parameters:
edge
- TheEdge
of which theEXTERNAL_LABEL_POSITION__NE
attribute is changed.externalLabelPositionProvider
- The new external label position.
-
setExternalLabelPosition
public static void setExternalLabelPosition(Node node, Point externalLabelPosition)
Sets the value of theEXTERNAL_LABEL_POSITION__NE
attribute of the givenNode
to the given value.- Parameters:
node
- TheNode
of which theEXTERNAL_LABEL_POSITION__NE
attribute is changed.externalLabelPosition
- The new external label position.
-
setExternalLabelPosition
public static void setExternalLabelPosition(Node node, Provider<Point> externalLabelPositionProvider)
Sets the value of theEXTERNAL_LABEL_POSITION__NE
attribute of the givenNode
to the given value.- Parameters:
node
- TheNode
of which theEXTERNAL_LABEL_POSITION__NE
attribute is changed.externalLabelPositionProvider
- The new external label position.
-
setExternalLabelTooltip
public static void setExternalLabelTooltip(Edge edge, Provider<java.lang.String> tooltipProvider)
Sets the value of theEXTERNAL_LABEL_TOOLTIP__NE
attribute of the givenEdge
to the given provider.- Parameters:
edge
- TheEdge
whose attribute is change.tooltipProvider
- AProvider
which is used to retrieve theEXTERNAL_LABEL_TOOLTIP__NE
value.- Since:
- 5.1
-
setExternalLabelTooltip
public static void setExternalLabelTooltip(Edge edge, java.lang.String tooltip)
Sets the value of theEXTERNAL_LABEL_TOOLTIP__NE
attribute of the givenEdge
to the given value.
-
setExternalLabelTooltip
public static void setExternalLabelTooltip(Node node, Provider<java.lang.String> tooltipProvider)
Sets the value of theEXTERNAL_LABEL_TOOLTIP__NE
attribute of the givenNode
to the given provider.- Parameters:
node
- TheNode
whose attribute is change.tooltipProvider
- AProvider
which is used to retrieve theEXTERNAL_LABEL_TOOLTIP__NE
value.- Since:
- 5.1
-
setExternalLabelTooltip
public static void setExternalLabelTooltip(Node node, java.lang.String tooltip)
Sets the value of theEXTERNAL_LABEL_TOOLTIP__NE
attribute of the givenNode
to the given value.
-
setIcon
public static void setIcon(Node node, javafx.scene.image.Image icon)
-
setInterpolator
public static void setInterpolator(Edge edge, IConnectionInterpolator interpolator)
Sets the value of theINTERPOLATOR__E
attribute of the givenEdge
to the given value.- Parameters:
edge
- TheEdge
of which the interpolator is changed.interpolator
- The newIConnectionInterpolator
for the givenEdge
.
-
setInterpolator
public static void setInterpolator(Edge edge, Provider<IConnectionInterpolator> interpolatorProvider)
Sets the value of theINTERPOLATOR__E
attribute of the givenEdge
to the given value.- Parameters:
edge
- TheEdge
of which the interpolator is changed.interpolatorProvider
- The newIConnectionInterpolator
for the givenEdge
.
-
setInvisible
public static void setInvisible(Edge edge, java.lang.Boolean invisible)
Sets the value of theINVISIBLE__NE
attribute of the givenEdge
to the given value.- Parameters:
edge
- TheEdge
for which to set theINVISIBLE__NE
attribute.invisible
- The new value for theINVISIBLE__NE
attribute of the givenEdge
.
-
setInvisible
public static void setInvisible(Edge edge, Provider<java.lang.Boolean> invisibleProvider)
Sets the value of theINVISIBLE__NE
attribute of the givenEdge
to the given value.- Parameters:
edge
- TheEdge
for which to set theINVISIBLE__NE
attribute.invisibleProvider
- The new value for theINVISIBLE__NE
attribute of the givenEdge
.
-
setInvisible
public static void setInvisible(Node node, java.lang.Boolean invisible)
Sets the value of theINVISIBLE__NE
attribute of the givenNode
to the given value.- Parameters:
node
- TheNode
for which to set theINVISIBLE__NE
attribute.invisible
- The new value for theINVISIBLE__NE
attribute of the givenNode
.
-
setInvisible
public static void setInvisible(Node node, Provider<java.lang.Boolean> invisibleProvider)
Sets the value of theINVISIBLE__NE
attribute of the givenNode
to the given value.- Parameters:
node
- TheNode
for which to set theINVISIBLE__NE
attribute.invisibleProvider
- The new value for theINVISIBLE__NE
attribute of the givenNode
.
-
setLabel
public static void setLabel(Edge edge, java.lang.String label)
-
setLabel
public static void setLabel(Node node, java.lang.String label)
-
setLabelCssStyle
public static void setLabelCssStyle(Edge edge, Provider<java.lang.String> textCssStyleProvider)
Sets the value of theLABEL_CSS_STYLE__NE
attribute of the givenEdge
to the given value.
-
setLabelCssStyle
public static void setLabelCssStyle(Edge edge, java.lang.String textCssStyle)
Sets the value of theLABEL_CSS_STYLE__NE
attribute of the givenEdge
to the given value.
-
setLabelCssStyle
public static void setLabelCssStyle(Node node, Provider<java.lang.String> textCssStyleProvider)
Sets the value of theLABEL_CSS_STYLE__NE
attribute of the givenNode
to the given value.
-
setLabelCssStyle
public static void setLabelCssStyle(Node node, java.lang.String textCssStyle)
Sets the value of theLABEL_CSS_STYLE__NE
attribute of the givenNode
to the given value.
-
setLabelPosition
public static void setLabelPosition(Edge edge, Point labelPosition)
Sets the value of theLABEL_POSITION__E
attribute of the givenEdge
to the given value.
-
setLabelPosition
public static void setLabelPosition(Edge edge, Provider<Point> labelPositionProvider)
Sets the value of theLABEL_POSITION__E
attribute of the givenEdge
to the given value.
-
setLabelTooltip
public static void setLabelTooltip(Edge edge, Provider<java.lang.String> tooltipProvider)
Sets the value of theLABEL_TOOLTIP__E
attribute of the givenEdge
to the given provider.- Parameters:
edge
- TheEdge
whose attribute is change.tooltipProvider
- AProvider
which is used to retrieve theLABEL_TOOLTIP__E
value.- Since:
- 5.1
-
setLabelTooltip
public static void setLabelTooltip(Edge edge, java.lang.String tooltip)
Sets the value of theLABEL_TOOLTIP__E
attribute of the givenEdge
to the given value.
-
setLayoutAlgorithm
public static void setLayoutAlgorithm(Graph graph, ILayoutAlgorithm algorithm)
Sets the value of theLAYOUT_ALGORITHM__G
attribute of the givenGraph
to the given value.- Parameters:
graph
- TheGraph
of which the layout algorithm is changed.algorithm
- The newILayoutAlgorithm
for the givenGraph
.
-
setLayoutAlgorithm
public static void setLayoutAlgorithm(Graph graph, Provider<ILayoutAlgorithm> algorithmProvider)
Sets the value of theLAYOUT_ALGORITHM__G
attribute of the givenGraph
to the given value.- Parameters:
graph
- TheGraph
of which the layout algorithm is changed.algorithmProvider
- The newILayoutAlgorithm
for the givenGraph
.
-
setLayoutIrrelevant
public static void setLayoutIrrelevant(Edge edge, java.lang.Boolean layoutIrrelevant)
Sets the value of theLAYOUT_IRRELEVANT__NE
attribute of the givenEdge
to the given value.
-
setLayoutIrrelevant
public static void setLayoutIrrelevant(Edge edge, Provider<java.lang.Boolean> layoutIrrelevantProvider)
Sets the value of theLAYOUT_IRRELEVANT__NE
attribute of the givenEdge
to the given value.
-
setLayoutIrrelevant
public static void setLayoutIrrelevant(Node node, java.lang.Boolean layoutIrrelevant)
Sets the value of theLAYOUT_IRRELEVANT__NE
attribute of the givenNode
to the given value.
-
setLayoutIrrelevant
public static void setLayoutIrrelevant(Node node, Provider<java.lang.Boolean> layoutIrrelevantProvider)
Sets the value of theLAYOUT_IRRELEVANT__NE
attribute of the givenNode
to the given value.
-
setModel
public static void setModel(Edge edge, java.lang.Object model)
Sets the value of theMODEL__GNE
attribute of the givenEdge
to the given value.
-
setModel
public static void setModel(Graph graph, java.lang.Object model)
Sets the value of theMODEL__GNE
attribute of the givenGraph
to the given value.
-
setModel
public static void setModel(Node node, java.lang.Object model)
Sets the value of theMODEL__GNE
attribute of the givenNode
to the given value.
-
setPosition
public static void setPosition(Node node, Point position)
Sets the value of thePOSITION__N
attribute of the givenNode
to the given value.- Parameters:
node
- TheNode
of which thePOSITION__N
attribute is changed.position
- The new node position.
-
setPosition
public static void setPosition(Node node, Provider<Point> positionProvider)
Sets the value of thePOSITION__N
attribute of the givenNode
to the given value.- Parameters:
node
- TheNode
of which thePOSITION__N
attribute is changed.positionProvider
- The new node position.
-
setRouter
public static void setRouter(Edge edge, IConnectionRouter router)
- Parameters:
edge
- TheEdge
of which the router is changed.router
- The newIConnectionRouter
for the givenEdge
.
-
setRouter
public static void setRouter(Edge edge, Provider<IConnectionRouter> routerProvider)
- Parameters:
edge
- TheEdge
of which the router is changed.routerProvider
- The newIConnectionRouter
for the givenEdge
.
-
setShape
public static void setShape(Node node, javafx.scene.Node shape)
-
setShapeCssStyle
public static void setShapeCssStyle(Node node, Provider<java.lang.String> rectCssStyleProvider)
Sets the value of theSHAPE_CSS_STYLE__N
attribute of the givenNode
to the given value.
-
setShapeCssStyle
public static void setShapeCssStyle(Node node, java.lang.String rectCssStyle)
Sets the value of theSHAPE_CSS_STYLE__N
attribute of the givenNode
to the given value.
-
setSourceDecoration
public static void setSourceDecoration(Edge edge, javafx.scene.Node sourceDecoration)
Sets the value of theSOURCE_DECORATION__E
attribute of the givenEdge
to the given value.
-
setSourceDecoration
public static void setSourceDecoration(Edge edge, Provider<javafx.scene.Node> sourceDecorationProvider)
Sets the value of theSOURCE_DECORATION__E
attribute of the givenEdge
to the given value.
-
setSourceDecorationCssStyle
public static void setSourceDecorationCssStyle(Edge edge, Provider<java.lang.String> sourceDecorationCssStyleProvider)
Sets the value of theSOURCE_DECORATION_CSS_STYLE__E
attribute of the givenEdge
to the given value.
-
setSourceDecorationCssStyle
public static void setSourceDecorationCssStyle(Edge edge, java.lang.String sourceDecorationCssStyle)
Sets the value of theSOURCE_DECORATION_CSS_STYLE__E
attribute of the givenEdge
to the given value.
-
setSourceLabel
public static void setSourceLabel(Edge edge, Provider<java.lang.String> sourceLabelProvider)
Sets the value of theSOURCE_LABEL__E
attribute of the givenEdge
to the given provider.- Parameters:
edge
- TheEdge
of which the target decoration is changed.sourceLabelProvider
- AProvider
which provides the value forSOURCE_LABEL__E
attribute.
-
setSourceLabel
public static void setSourceLabel(Edge edge, java.lang.String sourceLabel)
Sets the value of theSOURCE_LABEL__E
attribute of the givenEdge
to the given value.
-
setSourceLabelCssStyle
public static void setSourceLabelCssStyle(Edge edge, Provider<java.lang.String> sourceLabelCssStyleProvider)
Sets the value of theSOURCE_LABEL_CSS_STYLE__E
attribute of the givenEdge
to the given value.
-
setSourceLabelCssStyle
public static void setSourceLabelCssStyle(Edge edge, java.lang.String sourceLabelCssStyle)
Sets the value of theSOURCE_LABEL_CSS_STYLE__E
attribute of the givenEdge
to the given value.
-
setSourceLabelPosition
public static void setSourceLabelPosition(Edge edge, Point labelPosition)
Sets the value of theSOURCE_LABEL_POSITION__E
attribute of the givenEdge
to the given value.
-
setSourceLabelPosition
public static void setSourceLabelPosition(Edge edge, Provider<Point> labelPositionProvider)
Sets the value of theSOURCE_LABEL_POSITION__E
attribute of the givenEdge
to the given value.
-
setSourceLabelTooltip
public static void setSourceLabelTooltip(Edge edge, Provider<java.lang.String> tooltipProvider)
Sets the value of theSOURCE_LABEL_TOOLTIP__E
attribute of the givenEdge
to the given provider.- Parameters:
edge
- TheEdge
whose attribute is change.tooltipProvider
- AProvider
which is used to retrieve theSOURCE_LABEL_TOOLTIP__E
value.- Since:
- 5.1
-
setSourceLabelTooltip
public static void setSourceLabelTooltip(Edge edge, java.lang.String tooltip)
Sets the value of theSOURCE_LABEL_TOOLTIP__E
attribute of the givenEdge
to the given value.
-
setStartPoint
public static void setStartPoint(Edge edge, Point startPoint)
Sets the value of theSTART_POINT__E
attribute of the givenEdge
to the given value.- Parameters:
edge
- TheEdge
, for which to set the value of theSTART_POINT__E
attribute.startPoint
- The start Point for the givenEdge
.
-
setStartPoint
public static void setStartPoint(Edge edge, Provider<Point> startPointProvider)
Sets the value of theSTART_POINT__E
attribute of the givenEdge
to the given value.- Parameters:
edge
- TheEdge
, for which to set the value of theSTART_POINT__E
attribute.startPointProvider
- The start Point for the givenEdge
.
-
setTargetDecoration
public static void setTargetDecoration(Edge edge, javafx.scene.Node targetDecoration)
Sets the value of theTARGET_DECORATION__E
attribute of the givenEdge
to the given value.
-
setTargetDecoration
public static void setTargetDecoration(Edge edge, Provider<javafx.scene.Node> targetDecorationProvider)
Sets the value of theTARGET_DECORATION__E
attribute of the givenEdge
to the given value.
-
setTargetDecorationCssStyle
public static void setTargetDecorationCssStyle(Edge edge, Provider<java.lang.String> targetDecorationCssStyleProvider)
Sets the value of theTARGET_DECORATION_CSS_STYLE__E
attribute of the givenEdge
to the given value.
-
setTargetDecorationCssStyle
public static void setTargetDecorationCssStyle(Edge edge, java.lang.String targetDecorationCssStyle)
Sets the value of theTARGET_DECORATION_CSS_STYLE__E
attribute of the givenEdge
to the given value.
-
setTargetLabel
public static void setTargetLabel(Edge edge, Provider<java.lang.String> targetLabelProvider)
Sets the value of theTARGET_LABEL__E
attribute of the givenEdge
to the given provider.- Parameters:
edge
- TheEdge
of which the target decoration is changed.targetLabelProvider
- AProvider
which provides the value forTARGET_LABEL__E
attribute.
-
setTargetLabel
public static void setTargetLabel(Edge edge, java.lang.String targetLabel)
Sets the value of theTARGET_LABEL__E
attribute of the givenEdge
to the given value.
-
setTargetLabelCssStyle
public static void setTargetLabelCssStyle(Edge edge, Provider<java.lang.String> targetLabelCssStyleProvider)
Sets the value of theTARGET_LABEL_CSS_STYLE__E
attribute of the givenEdge
to the given value.
-
setTargetLabelCssStyle
public static void setTargetLabelCssStyle(Edge edge, java.lang.String targetLabelCssStyle)
Sets the value of theTARGET_LABEL_CSS_STYLE__E
attribute of the givenEdge
to the given value.
-
setTargetLabelPosition
public static void setTargetLabelPosition(Edge edge, Point labelPosition)
Sets the value of theTARGET_LABEL_POSITION__E
attribute of the givenEdge
to the given value.
-
setTargetLabelPosition
public static void setTargetLabelPosition(Edge edge, Provider<Point> labelPositionProvider)
Sets the value of theTARGET_LABEL_POSITION__E
attribute of the givenEdge
to the given value.
-
setTargetLabelTooltip
public static void setTargetLabelTooltip(Edge edge, Provider<java.lang.String> tooltipProvider)
Sets the value of theTARGET_LABEL_TOOLTIP__E
attribute of the givenEdge
to the given provider.- Parameters:
edge
- TheEdge
whose attribute is change.tooltipProvider
- AProvider
which is used to retrieve theTARGET_LABEL_TOOLTIP__E
value.- Since:
- 5.1
-
setTargetLabelTooltip
public static void setTargetLabelTooltip(Edge edge, java.lang.String tooltip)
Sets the value of theTARGET_LABEL_TOOLTIP__E
attribute of the givenEdge
to the given value.
-
setTooltip
public static void setTooltip(Edge edge, Provider<java.lang.String> tooltipProvider)
Sets the value of theTOOLTIP__E
attribute of the givenEdge
to the given provider.- Parameters:
edge
- TheEdge
whose attribute is change.tooltipProvider
- AProvider
which is used to retrieve theTOOLTIP__E
value.- Since:
- 5.1
-
setTooltip
public static void setTooltip(Edge edge, java.lang.String tooltip)
Sets the value of theTOOLTIP__E
attribute of the givenEdge
to the given value.
-
setTooltip
public static void setTooltip(Node node, Provider<java.lang.String> tooltipProvider)
Sets the value of theTOOLTIP__N
attribute of the givenNode
to the given provider.- Parameters:
node
- TheNode
whose attribute is change.tooltipProvider
- AProvider
which is used to retrieve theTOOLTIP__N
value.
-
setTooltip
public static void setTooltip(Node node, java.lang.String tooltip)
Sets the value of theTOOLTIP__N
attribute of the givenNode
to the given value.
-
-