Package org.eclipse.gef.zest.fx
Class ZestProperties
- java.lang.Object
-
- org.eclipse.gef.zest.fx.ZestProperties
-
public class ZestProperties extends java.lang.ObjectTheZestPropertiesclass 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.StringCONTROL_POINTS__EThis attribute determines the way points that are passed along to theROUTER__Ein addition to the start and end point, which are provided by theConnectionand computed byIAnchors at the source and target node of theEdge(and not included in the list of way points).static java.lang.StringCSS_CLASS__NEThis attribute determines the CSS class for an element (node/edge).static java.lang.StringCSS_ID__NEThis attribute determines the CSS id for an element (node/edge).static java.lang.StringCURVE__EThis attribute determines the curve being used for visualization of the edge.static java.lang.StringCURVE_CSS_STYLE__EThis attribute determines the CSS style for an edge.static java.lang.StringEND_POINT__EThis attribute determines the end point being used for the visualization of the edge.static java.lang.StringEXTERNAL_LABEL__NEThis attribute determines the (optional) external label of an element (node/edge).static java.lang.StringEXTERNAL_LABEL_CSS_STYLE__NEThis attribute determines the CSS style for an external label of an element (node/edge).static java.lang.StringEXTERNAL_LABEL_POSITION__NEThis attribute determines the position of an element (node/edge)'s external label (in case it exists).static java.lang.StringEXTERNAL_LABEL_TOOLTIP__NEThis attribute determines the tooltip for an element (node/edge) external label.static java.lang.StringICON__NThis attribute determines the icon for a node.static java.lang.StringINTERPOLATOR__EThis attribute determines theIConnectionInterpolatorused to infer a geometry for an edge.static java.lang.StringINVISIBLE__NEThis attribute determines if an element (node/edge) is invisible.static java.lang.StringLABEL__NEThis attribute determines the label for an element (node/edge).static java.lang.StringLABEL_CSS_STYLE__NEThis attribute determines the CSS style for an element (node/edge) label.static java.lang.StringLABEL_POSITION__EThis attribute determines the position of an edge's label (in case it exists).static java.lang.StringLABEL_TOOLTIP__EThis attribute determines the tooltip for an edge label.static java.lang.StringLAYOUT_ALGORITHM__GThis attribute determines theILayoutAlgorithmused to layout the graph.static java.lang.StringLAYOUT_IRRELEVANT__NEThis attribute determines if an element (node/edge) should be ignored by the automatic layout.static java.lang.StringMODEL__GNEstatic java.lang.StringPOSITION__NThis attribute determines the position for a node.static java.lang.StringROUTER__EThis attribute determines theIConnectionRouterused to route an edge.static java.lang.StringSHAPE__NThis attribute determines the shape being used for background and outline visualization of the node.static java.lang.StringSHAPE_CSS_STYLE__NThis attribute determines the CSS style for a node shape.static java.lang.StringSIZE__NThis attribute determines the size for a node.static java.lang.StringSOURCE_DECORATION__EThis attribute determines the source decoration for an edge.static java.lang.StringSOURCE_DECORATION_CSS_STYLE__EThis attribute determines the CSS style for the source decoration of an edge.static java.lang.StringSOURCE_LABEL__EThis attribute determines the source label for an edge.static java.lang.StringSOURCE_LABEL_CSS_STYLE__EThis attribute determines the CSS style for the source edge label.static java.lang.StringSOURCE_LABEL_POSITION__EThis attribute determines the position of an edge's source label (in case it exists).static java.lang.StringSOURCE_LABEL_TOOLTIP__EThis attribute determines the tooltip for an edge source label.static java.lang.StringSTART_POINT__EThis attribute determines the start point being used for the visualization of the edge.static java.lang.StringTARGET_DECORATION__EThis attribute determines the target decoration for an edge.static java.lang.StringTARGET_DECORATION_CSS_STYLE__EThis attribute determines the CSS style for the target decoration of an edge.static java.lang.StringTARGET_LABEL__EThis attribute determines the target label for an edge.static java.lang.StringTARGET_LABEL_CSS_STYLE__EThis attribute determines the CSS style for the target edge label.static java.lang.StringTARGET_LABEL_POSITION__EThis attribute determines the position of an edge's target label (in case it exists).static java.lang.StringTARGET_LABEL_TOOLTIP__EThis attribute determines the tooltip for an edge target label.static java.lang.StringTOOLTIP__EThis attribute determines the tooltip for an edge.static java.lang.StringTOOLTIP__NThis 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__Eattribute of the givenEdge.static java.lang.StringgetCssClass(Edge edge)Returns the value of theCSS_CLASS__NEattribute of the givenEdge.static java.lang.StringgetCssClass(Node node)Returns the value of theCSS_CLASS__NEattribute of the givenNode.static java.lang.StringgetCssId(Edge edge)Returns the value of theCSS_ID__NEattribute of the givenEdge.static java.lang.StringgetCssId(Node node)Returns the value of theCSS_ID__NEattribute of the givenNode.static javafx.scene.NodegetCurve(Edge edge)static java.lang.StringgetCurveCssStyle(Edge edge)Returns the value of theCURVE_CSS_STYLE__Eattribute of the givenEdge.static PointgetEndPoint(Edge edge)Returns the value of theEND_POINT__Eattribute of the givenEdge.static java.lang.StringgetExternalLabel(Edge edge)Returns the value of theEXTERNAL_LABEL__NEattribute of the givenEdge.static java.lang.StringgetExternalLabel(Node node)Returns the value of theEXTERNAL_LABEL__NEattribute of the givenNode.static java.lang.StringgetExternalLabelCssStyle(Edge edge)Returns the value of theEXTERNAL_LABEL_CSS_STYLE__NEattribute of the givenEdge.static java.lang.StringgetExternalLabelCssStyle(Node node)Returns the value of theEXTERNAL_LABEL_CSS_STYLE__NEattribute of the givenNode.static PointgetExternalLabelPosition(Edge edge)Returns the value of theEXTERNAL_LABEL_POSITION__NEattribute of the givenEdge.static PointgetExternalLabelPosition(Node node)Returns the value of theEXTERNAL_LABEL_POSITION__NEattribute of the givenNode.static java.lang.StringgetExternalLabelTooltip(Edge edge)Returns the value of theEXTERNAL_LABEL_TOOLTIP__NEattribute of the givenEdge.static java.lang.StringgetExternalLabelTooltip(Node node)Returns the value of theEXTERNAL_LABEL_TOOLTIP__NEattribute of the givenNode.static javafx.scene.image.ImagegetIcon(Node node)static IConnectionInterpolatorgetInterpolator(Edge edge)Returns the value of theINTERPOLATOR__Eattribute of the givenEdge.static java.lang.BooleangetInvisible(Edge edge)Returns the value of theINVISIBLE__NEattribute of the givenEdge.static java.lang.BooleangetInvisible(Node node)Returns the value of theINVISIBLE__NEattribute of the givenNode.static java.lang.StringgetLabel(Edge edge)static java.lang.StringgetLabel(Node node)static java.lang.StringgetLabelCssStyle(Edge edge)Returns the value of theLABEL_CSS_STYLE__NEattribute of the givenEdge.static java.lang.StringgetLabelCssStyle(Node node)Returns the value of theLABEL_CSS_STYLE__NEattribute of the givenNode.static PointgetLabelPosition(Edge edge)Returns the value of theLABEL_POSITION__Eattribute of the givenEdge.static java.lang.StringgetLabelTooltip(Edge edge)Returns the value of theLABEL_TOOLTIP__Eattribute of the givenEdge.static ILayoutAlgorithmgetLayoutAlgorithm(Graph graph)Returns the value of theLAYOUT_ALGORITHM__Gattribute of the givenGraph.static java.lang.BooleangetLayoutIrrelevant(Edge edge)Returns the value of theLAYOUT_IRRELEVANT__NEattribute of the givenEdge.static java.lang.BooleangetLayoutIrrelevant(Node node)Returns the value of theLAYOUT_IRRELEVANT__NEattribute of the givenNode.static java.lang.ObjectgetModel(Edge edge)Returns the value of theMODEL__GNEattribute of the givenEdge.static java.lang.ObjectgetModel(Graph graph)Returns the value of theMODEL__GNEattribute of the givenGraph.static java.lang.ObjectgetModel(Node node)Returns the value of theMODEL__GNEattribute of the givenNode.static PointgetPosition(Node node)Returns the value of thePOSITION__Nattribute of the givenNode.static IConnectionRoutergetRouter(Edge edge)static javafx.scene.NodegetShape(Node node)static java.lang.StringgetShapeCssStyle(Node node)Returns the value of theSHAPE_CSS_STYLE__Nattribute of the givenNode.static DimensiongetSize(Node node)static javafx.scene.NodegetSourceDecoration(Edge edge)Returns the value of theSOURCE_DECORATION__Eattribute of the givenEdge.static java.lang.StringgetSourceDecorationCssStyle(Edge edge)Returns the value of theSOURCE_DECORATION_CSS_STYLE__Eattribute of the givenEdge.static java.lang.StringgetSourceLabel(Edge edge)Returns the value of theSOURCE_LABEL__Eattribute of the givenEdge.static java.lang.StringgetSourceLabelCssStyle(Edge edge)Returns the value of theSOURCE_LABEL_CSS_STYLE__Eattribute of the givenEdge.static PointgetSourceLabelPosition(Edge edge)Returns the value of theSOURCE_LABEL_POSITION__Eattribute of the givenEdge.static java.lang.StringgetSourceLabelTooltip(Edge edge)Returns the value of theSOURCE_LABEL_TOOLTIP__Eattribute of the givenEdge.static PointgetStartPoint(Edge edge)Returns the value of theSTART_POINT__Eattribute of the givenEdge.static javafx.scene.NodegetTargetDecoration(Edge edge)Returns the value of theTARGET_DECORATION__Eattribute of the givenEdge.static java.lang.StringgetTargetDecorationCssStyle(Edge edge)Returns the value of theTARGET_DECORATION_CSS_STYLE__Eattribute of the givenEdge.static java.lang.StringgetTargetLabel(Edge edge)Returns the value of theTARGET_LABEL__Eattribute of the givenEdge.static java.lang.StringgetTargetLabelCssStyle(Edge edge)Returns the value of theTARGET_LABEL_CSS_STYLE__Eattribute of the givenEdge.static PointgetTargetLabelPosition(Edge edge)Returns the value of theTARGET_LABEL_POSITION__Eattribute of the givenEdge.static java.lang.StringgetTargetLabelTooltip(Edge edge)Returns the value of theTARGET_LABEL_TOOLTIP__Eattribute of the givenEdge.static java.lang.StringgetTooltip(Edge edge)Returns the value of theTOOLTIP__Eattribute of the givenEdge.static java.lang.StringgetTooltip(Node node)Returns the value of theTOOLTIP__Nattribute of the givenNode.static voidsetControlPoints(Edge edge, Provider<java.util.List<Point>> controlPointsProvider)Sets the value of theCONTROL_POINTS__Eattribute of the givenEdgeto the given value.static voidsetControlPoints(Edge edge, java.util.List<Point> controlPoints)Sets the value of theCONTROL_POINTS__Eattribute of the givenEdgeto the given value.static voidsetCssClass(Edge edge, Provider<java.lang.String> cssClassProvider)Sets the value of theCSS_CLASS__NEattribute of the givenEdgeto the given value.static voidsetCssClass(Edge edge, java.lang.String cssClass)Sets the value of theCSS_CLASS__NEattribute of the givenEdgeto the given value.static voidsetCssClass(Node node, Provider<java.lang.String> cssClassProvider)Sets the value of theCSS_CLASS__NEattribute of the givenNodeto the given value.static voidsetCssClass(Node node, java.lang.String cssClass)Sets the value of theCSS_CLASS__NEattribute of the givenNodeto the given value.static voidsetCssId(Edge edge, Provider<java.lang.String> cssIdProvider)Sets the value of theCSS_ID__NEattribute of the givenEdgeto the given value.static voidsetCssId(Edge edge, java.lang.String cssId)Sets the value of theCSS_ID__NEattribute of the givenEdgeto the given value.static voidsetCssId(Node node, Provider<java.lang.String> cssIdProvider)Sets the value of theCSS_ID__NEattribute of the givenNodeto the given value.static voidsetCssId(Node node, java.lang.String cssId)Sets the value of theCSS_ID__NEattribute of the givenNodeto the given value.static voidsetCurve(Edge edge, Provider<javafx.scene.Node> curveProvider)static voidsetCurve(Edge edge, javafx.scene.Node curve)static voidsetCurveCssStyle(Edge edge, Provider<java.lang.String> curveCssStyleProvider)Sets the value of theCURVE_CSS_STYLE__Eattribute of the givenEdgeto the given value.static voidsetCurveCssStyle(Edge edge, java.lang.String curveCssStyle)Sets the value of theCURVE_CSS_STYLE__Eattribute of the givenEdgeto the given value.static voidsetEndPoint(Edge edge, Provider<Point> endPointProvider)Sets the value of theEND_POINT__Eattribute of the givenEdgeto the given value.static voidsetEndPoint(Edge edge, Point endPoint)Sets the value of theEND_POINT__Eattribute of the givenEdgeto the given value.static voidsetExternalLabel(Edge edge, Provider<java.lang.String> labelProvider)Sets the value of theEXTERNAL_LABEL__NEattribute of the givenEdgeto the given provider.static voidsetExternalLabel(Edge edge, java.lang.String label)Sets the value of theEXTERNAL_LABEL__NEattribute of the givenEdgeto the given value.static voidsetExternalLabel(Node node, Provider<java.lang.String> labelProvider)Sets the value of theEXTERNAL_LABEL__NEattribute of the givenNodeto the given provider.static voidsetExternalLabel(Node node, java.lang.String label)Sets the value of theEXTERNAL_LABEL__NEattribute of the givenNodeto the given value.static voidsetExternalLabelCssStyle(Edge edge, Provider<java.lang.String> textCssStyleProvider)Sets the value of theEXTERNAL_LABEL_CSS_STYLE__NEattribute of the givenEdgeto the given value.static voidsetExternalLabelCssStyle(Edge edge, java.lang.String textCssStyle)Sets the value of theEXTERNAL_LABEL_CSS_STYLE__NEattribute of the givenEdgeto the given value.static voidsetExternalLabelCssStyle(Node node, Provider<java.lang.String> textCssStyleProvider)Sets the value of theEXTERNAL_LABEL_CSS_STYLE__NEattribute of the givenNodeto the given value.static voidsetExternalLabelCssStyle(Node node, java.lang.String textCssStyle)Sets the value of theEXTERNAL_LABEL_CSS_STYLE__NEattribute of the givenNodeto the given value.static voidsetExternalLabelPosition(Edge edge, Provider<Point> externalLabelPositionProvider)Sets the value of theEXTERNAL_LABEL_POSITION__NEattribute of the givenEdgeto the given value.static voidsetExternalLabelPosition(Edge edge, Point externalLabelPosition)Sets the value of theEXTERNAL_LABEL_POSITION__NEattribute of the givenEdgeto the given value.static voidsetExternalLabelPosition(Node node, Provider<Point> externalLabelPositionProvider)Sets the value of theEXTERNAL_LABEL_POSITION__NEattribute of the givenNodeto the given value.static voidsetExternalLabelPosition(Node node, Point externalLabelPosition)Sets the value of theEXTERNAL_LABEL_POSITION__NEattribute of the givenNodeto the given value.static voidsetExternalLabelTooltip(Edge edge, Provider<java.lang.String> tooltipProvider)Sets the value of theEXTERNAL_LABEL_TOOLTIP__NEattribute of the givenEdgeto the given provider.static voidsetExternalLabelTooltip(Edge edge, java.lang.String tooltip)Sets the value of theEXTERNAL_LABEL_TOOLTIP__NEattribute of the givenEdgeto the given value.static voidsetExternalLabelTooltip(Node node, Provider<java.lang.String> tooltipProvider)Sets the value of theEXTERNAL_LABEL_TOOLTIP__NEattribute of the givenNodeto the given provider.static voidsetExternalLabelTooltip(Node node, java.lang.String tooltip)Sets the value of theEXTERNAL_LABEL_TOOLTIP__NEattribute of the givenNodeto the given value.static voidsetIcon(Node node, Provider<javafx.scene.image.Image> iconProvider)static voidsetIcon(Node node, javafx.scene.image.Image icon)static voidsetInterpolator(Edge edge, Provider<IConnectionInterpolator> interpolatorProvider)Sets the value of theINTERPOLATOR__Eattribute of the givenEdgeto the given value.static voidsetInterpolator(Edge edge, IConnectionInterpolator interpolator)Sets the value of theINTERPOLATOR__Eattribute of the givenEdgeto the given value.static voidsetInvisible(Edge edge, Provider<java.lang.Boolean> invisibleProvider)Sets the value of theINVISIBLE__NEattribute of the givenEdgeto the given value.static voidsetInvisible(Edge edge, java.lang.Boolean invisible)Sets the value of theINVISIBLE__NEattribute of the givenEdgeto the given value.static voidsetInvisible(Node node, Provider<java.lang.Boolean> invisibleProvider)Sets the value of theINVISIBLE__NEattribute of the givenNodeto the given value.static voidsetInvisible(Node node, java.lang.Boolean invisible)Sets the value of theINVISIBLE__NEattribute of the givenNodeto the given value.static voidsetLabel(Edge edge, Provider<java.lang.String> labelProvider)static voidsetLabel(Edge edge, java.lang.String label)static voidsetLabel(Node node, Provider<java.lang.String> labelProvider)static voidsetLabel(Node node, java.lang.String label)static voidsetLabelCssStyle(Edge edge, Provider<java.lang.String> textCssStyleProvider)Sets the value of theLABEL_CSS_STYLE__NEattribute of the givenEdgeto the given value.static voidsetLabelCssStyle(Edge edge, java.lang.String textCssStyle)Sets the value of theLABEL_CSS_STYLE__NEattribute of the givenEdgeto the given value.static voidsetLabelCssStyle(Node node, Provider<java.lang.String> textCssStyleProvider)Sets the value of theLABEL_CSS_STYLE__NEattribute of the givenNodeto the given value.static voidsetLabelCssStyle(Node node, java.lang.String textCssStyle)Sets the value of theLABEL_CSS_STYLE__NEattribute of the givenNodeto the given value.static voidsetLabelPosition(Edge edge, Provider<Point> labelPositionProvider)Sets the value of theLABEL_POSITION__Eattribute of the givenEdgeto the given value.static voidsetLabelPosition(Edge edge, Point labelPosition)Sets the value of theLABEL_POSITION__Eattribute of the givenEdgeto the given value.static voidsetLabelTooltip(Edge edge, Provider<java.lang.String> tooltipProvider)Sets the value of theLABEL_TOOLTIP__Eattribute of the givenEdgeto the given provider.static voidsetLabelTooltip(Edge edge, java.lang.String tooltip)Sets the value of theLABEL_TOOLTIP__Eattribute of the givenEdgeto the given value.static voidsetLayoutAlgorithm(Graph graph, Provider<ILayoutAlgorithm> algorithmProvider)Sets the value of theLAYOUT_ALGORITHM__Gattribute of the givenGraphto the given value.static voidsetLayoutAlgorithm(Graph graph, ILayoutAlgorithm algorithm)Sets the value of theLAYOUT_ALGORITHM__Gattribute of the givenGraphto the given value.static voidsetLayoutIrrelevant(Edge edge, Provider<java.lang.Boolean> layoutIrrelevantProvider)Sets the value of theLAYOUT_IRRELEVANT__NEattribute of the givenEdgeto the given value.static voidsetLayoutIrrelevant(Edge edge, java.lang.Boolean layoutIrrelevant)Sets the value of theLAYOUT_IRRELEVANT__NEattribute of the givenEdgeto the given value.static voidsetLayoutIrrelevant(Node node, Provider<java.lang.Boolean> layoutIrrelevantProvider)Sets the value of theLAYOUT_IRRELEVANT__NEattribute of the givenNodeto the given value.static voidsetLayoutIrrelevant(Node node, java.lang.Boolean layoutIrrelevant)Sets the value of theLAYOUT_IRRELEVANT__NEattribute of the givenNodeto the given value.static voidsetModel(Edge edge, java.lang.Object model)Sets the value of theMODEL__GNEattribute of the givenEdgeto the given value.static voidsetModel(Graph graph, java.lang.Object model)Sets the value of theMODEL__GNEattribute of the givenGraphto the given value.static voidsetModel(Node node, java.lang.Object model)Sets the value of theMODEL__GNEattribute of the givenNodeto the given value.static voidsetPosition(Node node, Provider<Point> positionProvider)Sets the value of thePOSITION__Nattribute of the givenNodeto the given value.static voidsetPosition(Node node, Point position)Sets the value of thePOSITION__Nattribute of the givenNodeto the given value.static voidsetRouter(Edge edge, Provider<IConnectionRouter> routerProvider)static voidsetRouter(Edge edge, IConnectionRouter router)static voidsetShape(Node node, Provider<javafx.scene.Node> shapeProvider)static voidsetShape(Node node, javafx.scene.Node shape)static voidsetShapeCssStyle(Node node, Provider<java.lang.String> rectCssStyleProvider)Sets the value of theSHAPE_CSS_STYLE__Nattribute of the givenNodeto the given value.static voidsetShapeCssStyle(Node node, java.lang.String rectCssStyle)Sets the value of theSHAPE_CSS_STYLE__Nattribute of the givenNodeto the given value.static voidsetSize(Node node, Provider<Dimension> sizeProvider)static voidsetSize(Node node, Dimension size)static voidsetSourceDecoration(Edge edge, Provider<javafx.scene.Node> sourceDecorationProvider)Sets the value of theSOURCE_DECORATION__Eattribute of the givenEdgeto the given value.static voidsetSourceDecoration(Edge edge, javafx.scene.Node sourceDecoration)Sets the value of theSOURCE_DECORATION__Eattribute of the givenEdgeto the given value.static voidsetSourceDecorationCssStyle(Edge edge, Provider<java.lang.String> sourceDecorationCssStyleProvider)Sets the value of theSOURCE_DECORATION_CSS_STYLE__Eattribute of the givenEdgeto the given value.static voidsetSourceDecorationCssStyle(Edge edge, java.lang.String sourceDecorationCssStyle)Sets the value of theSOURCE_DECORATION_CSS_STYLE__Eattribute of the givenEdgeto the given value.static voidsetSourceLabel(Edge edge, Provider<java.lang.String> sourceLabelProvider)Sets the value of theSOURCE_LABEL__Eattribute of the givenEdgeto the given provider.static voidsetSourceLabel(Edge edge, java.lang.String sourceLabel)Sets the value of theSOURCE_LABEL__Eattribute of the givenEdgeto the given value.static voidsetSourceLabelCssStyle(Edge edge, Provider<java.lang.String> sourceLabelCssStyleProvider)Sets the value of theSOURCE_LABEL_CSS_STYLE__Eattribute of the givenEdgeto the given value.static voidsetSourceLabelCssStyle(Edge edge, java.lang.String sourceLabelCssStyle)Sets the value of theSOURCE_LABEL_CSS_STYLE__Eattribute of the givenEdgeto the given value.static voidsetSourceLabelPosition(Edge edge, Provider<Point> labelPositionProvider)Sets the value of theSOURCE_LABEL_POSITION__Eattribute of the givenEdgeto the given value.static voidsetSourceLabelPosition(Edge edge, Point labelPosition)Sets the value of theSOURCE_LABEL_POSITION__Eattribute of the givenEdgeto the given value.static voidsetSourceLabelTooltip(Edge edge, Provider<java.lang.String> tooltipProvider)Sets the value of theSOURCE_LABEL_TOOLTIP__Eattribute of the givenEdgeto the given provider.static voidsetSourceLabelTooltip(Edge edge, java.lang.String tooltip)Sets the value of theSOURCE_LABEL_TOOLTIP__Eattribute of the givenEdgeto the given value.static voidsetStartPoint(Edge edge, Provider<Point> startPointProvider)Sets the value of theSTART_POINT__Eattribute of the givenEdgeto the given value.static voidsetStartPoint(Edge edge, Point startPoint)Sets the value of theSTART_POINT__Eattribute of the givenEdgeto the given value.static voidsetTargetDecoration(Edge edge, Provider<javafx.scene.Node> targetDecorationProvider)Sets the value of theTARGET_DECORATION__Eattribute of the givenEdgeto the given value.static voidsetTargetDecoration(Edge edge, javafx.scene.Node targetDecoration)Sets the value of theTARGET_DECORATION__Eattribute of the givenEdgeto the given value.static voidsetTargetDecorationCssStyle(Edge edge, Provider<java.lang.String> targetDecorationCssStyleProvider)Sets the value of theTARGET_DECORATION_CSS_STYLE__Eattribute of the givenEdgeto the given value.static voidsetTargetDecorationCssStyle(Edge edge, java.lang.String targetDecorationCssStyle)Sets the value of theTARGET_DECORATION_CSS_STYLE__Eattribute of the givenEdgeto the given value.static voidsetTargetLabel(Edge edge, Provider<java.lang.String> targetLabelProvider)Sets the value of theTARGET_LABEL__Eattribute of the givenEdgeto the given provider.static voidsetTargetLabel(Edge edge, java.lang.String targetLabel)Sets the value of theTARGET_LABEL__Eattribute of the givenEdgeto the given value.static voidsetTargetLabelCssStyle(Edge edge, Provider<java.lang.String> targetLabelCssStyleProvider)Sets the value of theTARGET_LABEL_CSS_STYLE__Eattribute of the givenEdgeto the given value.static voidsetTargetLabelCssStyle(Edge edge, java.lang.String targetLabelCssStyle)Sets the value of theTARGET_LABEL_CSS_STYLE__Eattribute of the givenEdgeto the given value.static voidsetTargetLabelPosition(Edge edge, Provider<Point> labelPositionProvider)Sets the value of theTARGET_LABEL_POSITION__Eattribute of the givenEdgeto the given value.static voidsetTargetLabelPosition(Edge edge, Point labelPosition)Sets the value of theTARGET_LABEL_POSITION__Eattribute of the givenEdgeto the given value.static voidsetTargetLabelTooltip(Edge edge, Provider<java.lang.String> tooltipProvider)Sets the value of theTARGET_LABEL_TOOLTIP__Eattribute of the givenEdgeto the given provider.static voidsetTargetLabelTooltip(Edge edge, java.lang.String tooltip)Sets the value of theTARGET_LABEL_TOOLTIP__Eattribute of the givenEdgeto the given value.static voidsetTooltip(Edge edge, Provider<java.lang.String> tooltipProvider)Sets the value of theTOOLTIP__Eattribute of the givenEdgeto the given provider.static voidsetTooltip(Edge edge, java.lang.String tooltip)Sets the value of theTOOLTIP__Eattribute of the givenEdgeto the given value.static voidsetTooltip(Node node, Provider<java.lang.String> tooltipProvider)Sets the value of theTOOLTIP__Nattribute of the givenNodeto the given provider.static voidsetTooltip(Node node, java.lang.String tooltip)Sets the value of theTOOLTIP__Nattribute of the givenNodeto 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, orEdgewas 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__Ein addition to the start and end point, which are provided by theConnectionand computed byIAnchors 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 theIConnectionRouterused 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 theIConnectionInterpolatorused 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 theILayoutAlgorithmused to layout the graph.
-
-
Method Detail
-
getControlPoints
public static java.util.List<Point> getControlPoints(Edge edge)
Returns the value of theCONTROL_POINTS__Eattribute of the givenEdge.- Parameters:
edge- TheEdgefor which to determine the router points.- Returns:
- The value of the
CONTROL_POINTS__Eattribute 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__NEattribute of the givenEdge.
-
getCssClass
public static java.lang.String getCssClass(Node node)
Returns the value of theCSS_CLASS__NEattribute of the givenNode.
-
getCssId
public static java.lang.String getCssId(Edge edge)
Returns the value of theCSS_ID__NEattribute of the givenEdge.
-
getCssId
public static java.lang.String getCssId(Node node)
Returns the value of theCSS_ID__NEattribute 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__Eattribute of the givenEdge.
-
getEndPoint
public static Point getEndPoint(Edge edge)
Returns the value of theEND_POINT__Eattribute of the givenEdge.
-
getExternalLabel
public static java.lang.String getExternalLabel(Edge edge)
Returns the value of theEXTERNAL_LABEL__NEattribute of the givenEdge.
-
getExternalLabel
public static java.lang.String getExternalLabel(Node node)
Returns the value of theEXTERNAL_LABEL__NEattribute of the givenNode.
-
getExternalLabelCssStyle
public static java.lang.String getExternalLabelCssStyle(Edge edge)
Returns the value of theEXTERNAL_LABEL_CSS_STYLE__NEattribute of the givenEdge.
-
getExternalLabelCssStyle
public static java.lang.String getExternalLabelCssStyle(Node node)
Returns the value of theEXTERNAL_LABEL_CSS_STYLE__NEattribute of the givenNode.
-
getExternalLabelPosition
public static Point getExternalLabelPosition(Edge edge)
Returns the value of theEXTERNAL_LABEL_POSITION__NEattribute of the givenEdge.- Parameters:
edge- TheEdgeof which the position is determined.- Returns:
- The value of the
EXTERNAL_LABEL_POSITION__NEattribute of the givenEdge.
-
getExternalLabelPosition
public static Point getExternalLabelPosition(Node node)
Returns the value of theEXTERNAL_LABEL_POSITION__NEattribute of the givenNode.- Parameters:
node- TheNodeof which the position is determined.- Returns:
- The value of the
EXTERNAL_LABEL_POSITION__NEattribute of the givenNode.
-
getExternalLabelTooltip
public static java.lang.String getExternalLabelTooltip(Edge edge)
Returns the value of theEXTERNAL_LABEL_TOOLTIP__NEattribute of the givenEdge.- Parameters:
edge- TheEdgeof which the external label tooltip is determined.- Returns:
- The tooltip of the given
Edgeexternal label. If aProvideris 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__NEattribute of the givenNode.- Parameters:
node- TheNodeof which the external label tooltip is determined.- Returns:
- The tooltip of the given
Nodeextrnal label. If aProvideris 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__Eattribute of the givenEdge.
-
getInvisible
public static java.lang.Boolean getInvisible(Edge edge)
Returns the value of theINVISIBLE__NEattribute of the givenEdge.- Parameters:
edge- TheEdgeof which theINVISIBLE__NEattribute value is determined.- Returns:
- The value of the
INVISIBLE__NEattribute of the givenEdge.
-
getInvisible
public static java.lang.Boolean getInvisible(Node node)
Returns the value of theINVISIBLE__NEattribute of the givenNode.- Parameters:
node- TheNodeof which theINVISIBLE__NEattribute value is determined.- Returns:
- The value of the
INVISIBLE__NEattribute of the givenNode.
-
getLabel
public static java.lang.String getLabel(Edge edge)
- Parameters:
edge- TheEdgewhose attribute value is to be retrieved.- Returns:
- The value of the
LABEL__NEattributeEdge. If aProviderwas set for the attribute, the value is retrieved from the provider usingProvider.get().
-
getLabel
public static java.lang.String getLabel(Node node)
- Parameters:
node- TheNodewhose attribute value is to be retrieved.- Returns:
- The value of the
LABEL__NEattributeNode. If aProviderwas 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__NEattribute of the givenEdge.
-
getLabelCssStyle
public static java.lang.String getLabelCssStyle(Node node)
Returns the value of theLABEL_CSS_STYLE__NEattribute of the givenNode.
-
getLabelPosition
public static Point getLabelPosition(Edge edge)
Returns the value of theLABEL_POSITION__Eattribute of the givenEdge.- Parameters:
edge- TheEdgeof which the position is determined.- Returns:
- The value of the
LABEL_POSITION__Eattribute of the givenEdge.
-
getLabelTooltip
public static java.lang.String getLabelTooltip(Edge edge)
Returns the value of theLABEL_TOOLTIP__Eattribute of the givenEdge.- Parameters:
edge- TheEdgeof which the label tooltip is determined.- Returns:
- The tooltip of the given
Edgelabel. If aProvideris 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__Gattribute of the givenGraph.
-
getLayoutIrrelevant
public static java.lang.Boolean getLayoutIrrelevant(Edge edge)
Returns the value of theLAYOUT_IRRELEVANT__NEattribute of the givenEdge.
-
getLayoutIrrelevant
public static java.lang.Boolean getLayoutIrrelevant(Node node)
Returns the value of theLAYOUT_IRRELEVANT__NEattribute of the givenNode.
-
getModel
public static java.lang.Object getModel(Edge edge)
Returns the value of theMODEL__GNEattribute of the givenEdge.
-
getModel
public static java.lang.Object getModel(Graph graph)
Returns the value of theMODEL__GNEattribute of the givenGraph.
-
getModel
public static java.lang.Object getModel(Node node)
Returns the value of theMODEL__GNEattribute of the givenNode.
-
getPosition
public static Point getPosition(Node node)
Returns the value of thePOSITION__Nattribute of the givenNode.- Parameters:
node- TheNodeof which the position is determined.- Returns:
- The value of the
POSITION__Nattribute 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__Nattribute of the givenNode.
-
getSourceDecoration
public static javafx.scene.Node getSourceDecoration(Edge edge)
Returns the value of theSOURCE_DECORATION__Eattribute of the givenEdge.
-
getSourceDecorationCssStyle
public static java.lang.String getSourceDecorationCssStyle(Edge edge)
Returns the value of theSOURCE_DECORATION_CSS_STYLE__Eattribute of the givenEdge.
-
getSourceLabel
public static java.lang.String getSourceLabel(Edge edge)
Returns the value of theSOURCE_LABEL__Eattribute of the givenEdge.- Parameters:
edge- TheEdgeof which the source decoration is determined.- Returns:
- The value of the
SOURCE_LABEL__Eattribute. 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__Eattribute of the givenEdge.
-
getSourceLabelPosition
public static Point getSourceLabelPosition(Edge edge)
Returns the value of theSOURCE_LABEL_POSITION__Eattribute of the givenEdge.- Parameters:
edge- TheEdgeof which the source label position is determined.- Returns:
- The value of the
SOURCE_LABEL_POSITION__Eattribute of the givenEdge.
-
getSourceLabelTooltip
public static java.lang.String getSourceLabelTooltip(Edge edge)
Returns the value of theSOURCE_LABEL_TOOLTIP__Eattribute of the givenEdge.- Parameters:
edge- TheEdgeof which the source label tooltip is determined.- Returns:
- The tooltip of the given
Edgesource label. If aProvideris 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__Eattribute of the givenEdge.
-
getTargetDecoration
public static javafx.scene.Node getTargetDecoration(Edge edge)
Returns the value of theTARGET_DECORATION__Eattribute of the givenEdge.
-
getTargetDecorationCssStyle
public static java.lang.String getTargetDecorationCssStyle(Edge edge)
Returns the value of theTARGET_DECORATION_CSS_STYLE__Eattribute of the givenEdge.
-
getTargetLabel
public static java.lang.String getTargetLabel(Edge edge)
Returns the value of theTARGET_LABEL__Eattribute of the givenEdge.- Parameters:
edge- TheEdgeof which the target decoration is determined.- Returns:
- The value of the
TARGET_LABEL__Eattribute. 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__Eattribute of the givenEdge.
-
getTargetLabelPosition
public static Point getTargetLabelPosition(Edge edge)
Returns the value of theTARGET_LABEL_POSITION__Eattribute of the givenEdge.- Parameters:
edge- TheEdgeof which the target label position is determined.- Returns:
- The value of the
TARGET_LABEL_POSITION__Eattribute of the givenEdge.
-
getTargetLabelTooltip
public static java.lang.String getTargetLabelTooltip(Edge edge)
Returns the value of theTARGET_LABEL_TOOLTIP__Eattribute of the givenEdge.- Parameters:
edge- TheEdgeof which the target label tooltip is determined.- Returns:
- The tooltip of the given
Edgetarget label. If aProvideris 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__Eattribute of the givenEdge.- Parameters:
edge- TheEdgeof which the tooltip is determined.- Returns:
- The tooltip of the given
Edge. If aProvideris 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__Nattribute of the givenNode.- Parameters:
node- TheNodeof which the tooltip is determined.- Returns:
- The tooltip of the given
Node. If aProvideris 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__Eattribute of the givenEdgeto the given value.- Parameters:
edge- TheEdgeof which theCONTROL_POINTS__Eattribute is changed.controlPoints- The newListof controlPoints for the givenEdge.
-
setControlPoints
public static void setControlPoints(Edge edge, Provider<java.util.List<Point>> controlPointsProvider)
Sets the value of theCONTROL_POINTS__Eattribute of the givenEdgeto the given value.- Parameters:
edge- TheEdgeof which theCONTROL_POINTS__Eattribute is changed.controlPointsProvider- The newListof controlPoints for the givenEdge.
-
setCssClass
public static void setCssClass(Edge edge, Provider<java.lang.String> cssClassProvider)
Sets the value of theCSS_CLASS__NEattribute of the givenEdgeto the given value.
-
setCssClass
public static void setCssClass(Edge edge, java.lang.String cssClass)
Sets the value of theCSS_CLASS__NEattribute of the givenEdgeto the given value.
-
setCssClass
public static void setCssClass(Node node, Provider<java.lang.String> cssClassProvider)
Sets the value of theCSS_CLASS__NEattribute of the givenNodeto the given value.
-
setCssClass
public static void setCssClass(Node node, java.lang.String cssClass)
Sets the value of theCSS_CLASS__NEattribute of the givenNodeto the given value.
-
setCssId
public static void setCssId(Edge edge, Provider<java.lang.String> cssIdProvider)
Sets the value of theCSS_ID__NEattribute of the givenEdgeto the given value.
-
setCssId
public static void setCssId(Edge edge, java.lang.String cssId)
Sets the value of theCSS_ID__NEattribute of the givenEdgeto the given value.
-
setCssId
public static void setCssId(Node node, Provider<java.lang.String> cssIdProvider)
Sets the value of theCSS_ID__NEattribute of the givenNodeto the given value.
-
setCssId
public static void setCssId(Node node, java.lang.String cssId)
Sets the value of theCSS_ID__NEattribute of the givenNodeto 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__Eattribute of the givenEdgeto the given value.
-
setCurveCssStyle
public static void setCurveCssStyle(Edge edge, java.lang.String curveCssStyle)
Sets the value of theCURVE_CSS_STYLE__Eattribute of the givenEdgeto the given value.
-
setEndPoint
public static void setEndPoint(Edge edge, Point endPoint)
Sets the value of theEND_POINT__Eattribute of the givenEdgeto the given value.- Parameters:
edge- TheEdge, for which to set the value of theEND_POINT__Eattribute.endPoint- The endPointfor the givenEdge.
-
setEndPoint
public static void setEndPoint(Edge edge, Provider<Point> endPointProvider)
Sets the value of theEND_POINT__Eattribute of the givenEdgeto the given value.- Parameters:
edge- TheEdge, for which to set the value of theEND_POINT__Eattribute.endPointProvider- The endPointfor the givenEdge.
-
setExternalLabel
public static void setExternalLabel(Edge edge, Provider<java.lang.String> labelProvider)
Sets the value of theEXTERNAL_LABEL__NEattribute of the givenEdgeto the given provider.- Parameters:
edge- TheEdgeof which the external label is changed.labelProvider- AProviderthat is used to retrieve the value of theEXTERNAL_LABEL__NEattribute.
-
setExternalLabel
public static void setExternalLabel(Edge edge, java.lang.String label)
Sets the value of theEXTERNAL_LABEL__NEattribute of the givenEdgeto the given value.
-
setExternalLabel
public static void setExternalLabel(Node node, Provider<java.lang.String> labelProvider)
Sets the value of theEXTERNAL_LABEL__NEattribute of the givenNodeto the given provider.- Parameters:
node- TheNodeof which the external label is changed.labelProvider- AProviderthat is used to retrieve the value of theEXTERNAL_LABEL__NEattribute.
-
setExternalLabel
public static void setExternalLabel(Node node, java.lang.String label)
Sets the value of theEXTERNAL_LABEL__NEattribute of the givenNodeto the given value.
-
setExternalLabelCssStyle
public static void setExternalLabelCssStyle(Edge edge, Provider<java.lang.String> textCssStyleProvider)
Sets the value of theEXTERNAL_LABEL_CSS_STYLE__NEattribute of the givenEdgeto the given value.
-
setExternalLabelCssStyle
public static void setExternalLabelCssStyle(Edge edge, java.lang.String textCssStyle)
Sets the value of theEXTERNAL_LABEL_CSS_STYLE__NEattribute of the givenEdgeto the given value.
-
setExternalLabelCssStyle
public static void setExternalLabelCssStyle(Node node, Provider<java.lang.String> textCssStyleProvider)
Sets the value of theEXTERNAL_LABEL_CSS_STYLE__NEattribute of the givenNodeto the given value.
-
setExternalLabelCssStyle
public static void setExternalLabelCssStyle(Node node, java.lang.String textCssStyle)
Sets the value of theEXTERNAL_LABEL_CSS_STYLE__NEattribute of the givenNodeto the given value.
-
setExternalLabelPosition
public static void setExternalLabelPosition(Edge edge, Point externalLabelPosition)
Sets the value of theEXTERNAL_LABEL_POSITION__NEattribute of the givenEdgeto the given value.- Parameters:
edge- TheEdgeof which theEXTERNAL_LABEL_POSITION__NEattribute 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__NEattribute of the givenEdgeto the given value.- Parameters:
edge- TheEdgeof which theEXTERNAL_LABEL_POSITION__NEattribute is changed.externalLabelPositionProvider- The new external label position.
-
setExternalLabelPosition
public static void setExternalLabelPosition(Node node, Point externalLabelPosition)
Sets the value of theEXTERNAL_LABEL_POSITION__NEattribute of the givenNodeto the given value.- Parameters:
node- TheNodeof which theEXTERNAL_LABEL_POSITION__NEattribute 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__NEattribute of the givenNodeto the given value.- Parameters:
node- TheNodeof which theEXTERNAL_LABEL_POSITION__NEattribute 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__NEattribute of the givenEdgeto the given provider.- Parameters:
edge- TheEdgewhose attribute is change.tooltipProvider- AProviderwhich is used to retrieve theEXTERNAL_LABEL_TOOLTIP__NEvalue.- Since:
- 5.1
-
setExternalLabelTooltip
public static void setExternalLabelTooltip(Edge edge, java.lang.String tooltip)
Sets the value of theEXTERNAL_LABEL_TOOLTIP__NEattribute of the givenEdgeto the given value.
-
setExternalLabelTooltip
public static void setExternalLabelTooltip(Node node, Provider<java.lang.String> tooltipProvider)
Sets the value of theEXTERNAL_LABEL_TOOLTIP__NEattribute of the givenNodeto the given provider.- Parameters:
node- TheNodewhose attribute is change.tooltipProvider- AProviderwhich is used to retrieve theEXTERNAL_LABEL_TOOLTIP__NEvalue.- Since:
- 5.1
-
setExternalLabelTooltip
public static void setExternalLabelTooltip(Node node, java.lang.String tooltip)
Sets the value of theEXTERNAL_LABEL_TOOLTIP__NEattribute of the givenNodeto 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__Eattribute of the givenEdgeto the given value.- Parameters:
edge- TheEdgeof which the interpolator is changed.interpolator- The newIConnectionInterpolatorfor the givenEdge.
-
setInterpolator
public static void setInterpolator(Edge edge, Provider<IConnectionInterpolator> interpolatorProvider)
Sets the value of theINTERPOLATOR__Eattribute of the givenEdgeto the given value.- Parameters:
edge- TheEdgeof which the interpolator is changed.interpolatorProvider- The newIConnectionInterpolatorfor the givenEdge.
-
setInvisible
public static void setInvisible(Edge edge, java.lang.Boolean invisible)
Sets the value of theINVISIBLE__NEattribute of the givenEdgeto the given value.- Parameters:
edge- TheEdgefor which to set theINVISIBLE__NEattribute.invisible- The new value for theINVISIBLE__NEattribute of the givenEdge.
-
setInvisible
public static void setInvisible(Edge edge, Provider<java.lang.Boolean> invisibleProvider)
Sets the value of theINVISIBLE__NEattribute of the givenEdgeto the given value.- Parameters:
edge- TheEdgefor which to set theINVISIBLE__NEattribute.invisibleProvider- The new value for theINVISIBLE__NEattribute of the givenEdge.
-
setInvisible
public static void setInvisible(Node node, java.lang.Boolean invisible)
Sets the value of theINVISIBLE__NEattribute of the givenNodeto the given value.- Parameters:
node- TheNodefor which to set theINVISIBLE__NEattribute.invisible- The new value for theINVISIBLE__NEattribute of the givenNode.
-
setInvisible
public static void setInvisible(Node node, Provider<java.lang.Boolean> invisibleProvider)
Sets the value of theINVISIBLE__NEattribute of the givenNodeto the given value.- Parameters:
node- TheNodefor which to set theINVISIBLE__NEattribute.invisibleProvider- The new value for theINVISIBLE__NEattribute 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__NEattribute of the givenEdgeto the given value.
-
setLabelCssStyle
public static void setLabelCssStyle(Edge edge, java.lang.String textCssStyle)
Sets the value of theLABEL_CSS_STYLE__NEattribute of the givenEdgeto the given value.
-
setLabelCssStyle
public static void setLabelCssStyle(Node node, Provider<java.lang.String> textCssStyleProvider)
Sets the value of theLABEL_CSS_STYLE__NEattribute of the givenNodeto the given value.
-
setLabelCssStyle
public static void setLabelCssStyle(Node node, java.lang.String textCssStyle)
Sets the value of theLABEL_CSS_STYLE__NEattribute of the givenNodeto the given value.
-
setLabelPosition
public static void setLabelPosition(Edge edge, Point labelPosition)
Sets the value of theLABEL_POSITION__Eattribute of the givenEdgeto the given value.
-
setLabelPosition
public static void setLabelPosition(Edge edge, Provider<Point> labelPositionProvider)
Sets the value of theLABEL_POSITION__Eattribute of the givenEdgeto the given value.
-
setLabelTooltip
public static void setLabelTooltip(Edge edge, Provider<java.lang.String> tooltipProvider)
Sets the value of theLABEL_TOOLTIP__Eattribute of the givenEdgeto the given provider.- Parameters:
edge- TheEdgewhose attribute is change.tooltipProvider- AProviderwhich is used to retrieve theLABEL_TOOLTIP__Evalue.- Since:
- 5.1
-
setLabelTooltip
public static void setLabelTooltip(Edge edge, java.lang.String tooltip)
Sets the value of theLABEL_TOOLTIP__Eattribute of the givenEdgeto the given value.
-
setLayoutAlgorithm
public static void setLayoutAlgorithm(Graph graph, ILayoutAlgorithm algorithm)
Sets the value of theLAYOUT_ALGORITHM__Gattribute of the givenGraphto the given value.- Parameters:
graph- TheGraphof which the layout algorithm is changed.algorithm- The newILayoutAlgorithmfor the givenGraph.
-
setLayoutAlgorithm
public static void setLayoutAlgorithm(Graph graph, Provider<ILayoutAlgorithm> algorithmProvider)
Sets the value of theLAYOUT_ALGORITHM__Gattribute of the givenGraphto the given value.- Parameters:
graph- TheGraphof which the layout algorithm is changed.algorithmProvider- The newILayoutAlgorithmfor the givenGraph.
-
setLayoutIrrelevant
public static void setLayoutIrrelevant(Edge edge, java.lang.Boolean layoutIrrelevant)
Sets the value of theLAYOUT_IRRELEVANT__NEattribute of the givenEdgeto the given value.
-
setLayoutIrrelevant
public static void setLayoutIrrelevant(Edge edge, Provider<java.lang.Boolean> layoutIrrelevantProvider)
Sets the value of theLAYOUT_IRRELEVANT__NEattribute of the givenEdgeto the given value.
-
setLayoutIrrelevant
public static void setLayoutIrrelevant(Node node, java.lang.Boolean layoutIrrelevant)
Sets the value of theLAYOUT_IRRELEVANT__NEattribute of the givenNodeto the given value.
-
setLayoutIrrelevant
public static void setLayoutIrrelevant(Node node, Provider<java.lang.Boolean> layoutIrrelevantProvider)
Sets the value of theLAYOUT_IRRELEVANT__NEattribute of the givenNodeto the given value.
-
setModel
public static void setModel(Edge edge, java.lang.Object model)
Sets the value of theMODEL__GNEattribute of the givenEdgeto the given value.
-
setModel
public static void setModel(Graph graph, java.lang.Object model)
Sets the value of theMODEL__GNEattribute of the givenGraphto the given value.
-
setModel
public static void setModel(Node node, java.lang.Object model)
Sets the value of theMODEL__GNEattribute of the givenNodeto the given value.
-
setPosition
public static void setPosition(Node node, Point position)
Sets the value of thePOSITION__Nattribute of the givenNodeto the given value.- Parameters:
node- TheNodeof which thePOSITION__Nattribute is changed.position- The new node position.
-
setPosition
public static void setPosition(Node node, Provider<Point> positionProvider)
Sets the value of thePOSITION__Nattribute of the givenNodeto the given value.- Parameters:
node- TheNodeof which thePOSITION__Nattribute is changed.positionProvider- The new node position.
-
setRouter
public static void setRouter(Edge edge, IConnectionRouter router)
- Parameters:
edge- TheEdgeof which the router is changed.router- The newIConnectionRouterfor the givenEdge.
-
setRouter
public static void setRouter(Edge edge, Provider<IConnectionRouter> routerProvider)
- Parameters:
edge- TheEdgeof which the router is changed.routerProvider- The newIConnectionRouterfor 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__Nattribute of the givenNodeto the given value.
-
setShapeCssStyle
public static void setShapeCssStyle(Node node, java.lang.String rectCssStyle)
Sets the value of theSHAPE_CSS_STYLE__Nattribute of the givenNodeto the given value.
-
setSourceDecoration
public static void setSourceDecoration(Edge edge, javafx.scene.Node sourceDecoration)
Sets the value of theSOURCE_DECORATION__Eattribute of the givenEdgeto the given value.
-
setSourceDecoration
public static void setSourceDecoration(Edge edge, Provider<javafx.scene.Node> sourceDecorationProvider)
Sets the value of theSOURCE_DECORATION__Eattribute of the givenEdgeto the given value.
-
setSourceDecorationCssStyle
public static void setSourceDecorationCssStyle(Edge edge, Provider<java.lang.String> sourceDecorationCssStyleProvider)
Sets the value of theSOURCE_DECORATION_CSS_STYLE__Eattribute of the givenEdgeto the given value.
-
setSourceDecorationCssStyle
public static void setSourceDecorationCssStyle(Edge edge, java.lang.String sourceDecorationCssStyle)
Sets the value of theSOURCE_DECORATION_CSS_STYLE__Eattribute of the givenEdgeto the given value.
-
setSourceLabel
public static void setSourceLabel(Edge edge, Provider<java.lang.String> sourceLabelProvider)
Sets the value of theSOURCE_LABEL__Eattribute of the givenEdgeto the given provider.- Parameters:
edge- TheEdgeof which the target decoration is changed.sourceLabelProvider- AProviderwhich provides the value forSOURCE_LABEL__Eattribute.
-
setSourceLabel
public static void setSourceLabel(Edge edge, java.lang.String sourceLabel)
Sets the value of theSOURCE_LABEL__Eattribute of the givenEdgeto the given value.
-
setSourceLabelCssStyle
public static void setSourceLabelCssStyle(Edge edge, Provider<java.lang.String> sourceLabelCssStyleProvider)
Sets the value of theSOURCE_LABEL_CSS_STYLE__Eattribute of the givenEdgeto the given value.
-
setSourceLabelCssStyle
public static void setSourceLabelCssStyle(Edge edge, java.lang.String sourceLabelCssStyle)
Sets the value of theSOURCE_LABEL_CSS_STYLE__Eattribute of the givenEdgeto the given value.
-
setSourceLabelPosition
public static void setSourceLabelPosition(Edge edge, Point labelPosition)
Sets the value of theSOURCE_LABEL_POSITION__Eattribute of the givenEdgeto the given value.
-
setSourceLabelPosition
public static void setSourceLabelPosition(Edge edge, Provider<Point> labelPositionProvider)
Sets the value of theSOURCE_LABEL_POSITION__Eattribute of the givenEdgeto the given value.
-
setSourceLabelTooltip
public static void setSourceLabelTooltip(Edge edge, Provider<java.lang.String> tooltipProvider)
Sets the value of theSOURCE_LABEL_TOOLTIP__Eattribute of the givenEdgeto the given provider.- Parameters:
edge- TheEdgewhose attribute is change.tooltipProvider- AProviderwhich is used to retrieve theSOURCE_LABEL_TOOLTIP__Evalue.- Since:
- 5.1
-
setSourceLabelTooltip
public static void setSourceLabelTooltip(Edge edge, java.lang.String tooltip)
Sets the value of theSOURCE_LABEL_TOOLTIP__Eattribute of the givenEdgeto the given value.
-
setStartPoint
public static void setStartPoint(Edge edge, Point startPoint)
Sets the value of theSTART_POINT__Eattribute of the givenEdgeto the given value.- Parameters:
edge- TheEdge, for which to set the value of theSTART_POINT__Eattribute.startPoint- The start Point for the givenEdge.
-
setStartPoint
public static void setStartPoint(Edge edge, Provider<Point> startPointProvider)
Sets the value of theSTART_POINT__Eattribute of the givenEdgeto the given value.- Parameters:
edge- TheEdge, for which to set the value of theSTART_POINT__Eattribute.startPointProvider- The start Point for the givenEdge.
-
setTargetDecoration
public static void setTargetDecoration(Edge edge, javafx.scene.Node targetDecoration)
Sets the value of theTARGET_DECORATION__Eattribute of the givenEdgeto the given value.
-
setTargetDecoration
public static void setTargetDecoration(Edge edge, Provider<javafx.scene.Node> targetDecorationProvider)
Sets the value of theTARGET_DECORATION__Eattribute of the givenEdgeto the given value.
-
setTargetDecorationCssStyle
public static void setTargetDecorationCssStyle(Edge edge, Provider<java.lang.String> targetDecorationCssStyleProvider)
Sets the value of theTARGET_DECORATION_CSS_STYLE__Eattribute of the givenEdgeto the given value.
-
setTargetDecorationCssStyle
public static void setTargetDecorationCssStyle(Edge edge, java.lang.String targetDecorationCssStyle)
Sets the value of theTARGET_DECORATION_CSS_STYLE__Eattribute of the givenEdgeto the given value.
-
setTargetLabel
public static void setTargetLabel(Edge edge, Provider<java.lang.String> targetLabelProvider)
Sets the value of theTARGET_LABEL__Eattribute of the givenEdgeto the given provider.- Parameters:
edge- TheEdgeof which the target decoration is changed.targetLabelProvider- AProviderwhich provides the value forTARGET_LABEL__Eattribute.
-
setTargetLabel
public static void setTargetLabel(Edge edge, java.lang.String targetLabel)
Sets the value of theTARGET_LABEL__Eattribute of the givenEdgeto the given value.
-
setTargetLabelCssStyle
public static void setTargetLabelCssStyle(Edge edge, Provider<java.lang.String> targetLabelCssStyleProvider)
Sets the value of theTARGET_LABEL_CSS_STYLE__Eattribute of the givenEdgeto the given value.
-
setTargetLabelCssStyle
public static void setTargetLabelCssStyle(Edge edge, java.lang.String targetLabelCssStyle)
Sets the value of theTARGET_LABEL_CSS_STYLE__Eattribute of the givenEdgeto the given value.
-
setTargetLabelPosition
public static void setTargetLabelPosition(Edge edge, Point labelPosition)
Sets the value of theTARGET_LABEL_POSITION__Eattribute of the givenEdgeto the given value.
-
setTargetLabelPosition
public static void setTargetLabelPosition(Edge edge, Provider<Point> labelPositionProvider)
Sets the value of theTARGET_LABEL_POSITION__Eattribute of the givenEdgeto the given value.
-
setTargetLabelTooltip
public static void setTargetLabelTooltip(Edge edge, Provider<java.lang.String> tooltipProvider)
Sets the value of theTARGET_LABEL_TOOLTIP__Eattribute of the givenEdgeto the given provider.- Parameters:
edge- TheEdgewhose attribute is change.tooltipProvider- AProviderwhich is used to retrieve theTARGET_LABEL_TOOLTIP__Evalue.- Since:
- 5.1
-
setTargetLabelTooltip
public static void setTargetLabelTooltip(Edge edge, java.lang.String tooltip)
Sets the value of theTARGET_LABEL_TOOLTIP__Eattribute of the givenEdgeto the given value.
-
setTooltip
public static void setTooltip(Edge edge, Provider<java.lang.String> tooltipProvider)
Sets the value of theTOOLTIP__Eattribute of the givenEdgeto the given provider.- Parameters:
edge- TheEdgewhose attribute is change.tooltipProvider- AProviderwhich is used to retrieve theTOOLTIP__Evalue.- Since:
- 5.1
-
setTooltip
public static void setTooltip(Edge edge, java.lang.String tooltip)
Sets the value of theTOOLTIP__Eattribute of the givenEdgeto the given value.
-
setTooltip
public static void setTooltip(Node node, Provider<java.lang.String> tooltipProvider)
Sets the value of theTOOLTIP__Nattribute of the givenNodeto the given provider.- Parameters:
node- TheNodewhose attribute is change.tooltipProvider- AProviderwhich is used to retrieve theTOOLTIP__Nvalue.
-
setTooltip
public static void setTooltip(Node node, java.lang.String tooltip)
Sets the value of theTOOLTIP__Nattribute of the givenNodeto the given value.
-
-