public class ZestProperties
extends java.lang.Object
ZestProperties class contains a definition of attributes
(including their default values) that are evaluated by Zest.FX. It also
provides type-safe utility methods to set and get attribute values.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EDGE_CONTROL_POINTS
This attribute determines the way points that are passed along to the
EDGE_ROUTER in addition to the start and end point, which are
provided by the Connection and computed by IAnchors at
the source and target node of the Edge (and not included in the
list of way points). |
static java.lang.String |
EDGE_CURVE_CSS_STYLE
This attribute determines the CSS style for an edge.
|
static java.lang.String |
EDGE_INTERPOLATOR
This attribute determines the
IConnectionInterpolator used to
infer a geometry for an edge. |
static java.lang.String |
EDGE_LABEL_POSITION
This attribute determines the position of an edge's label (in case it
exists).
|
static java.lang.String |
EDGE_ROUTER
This attribute determines the
IConnectionRouter used to route an
edge. |
static java.lang.String |
EDGE_SOURCE_DECORATION
This attribute determines the source decoration for an edge.
|
static java.lang.String |
EDGE_SOURCE_LABEL
This attribute determines the source label for an edge.
|
static java.lang.String |
EDGE_SOURCE_LABEL_POSITION
This attribute determines the position of an edge's source label (in case
it exists).
|
static java.lang.String |
EDGE_TARGET_DECORATION
This attribute determines the target decoration for an edge.
|
static java.lang.String |
EDGE_TARGET_LABEL
This attribute determines the target label for an edge.
|
static java.lang.String |
EDGE_TARGET_LABEL_POSITION
This attribute determines the position of an edge's target label (in case
it exists).
|
static java.lang.String |
ELEMENT_CSS_CLASS
This attribute determines the CSS class for an element (node/edge).
|
static java.lang.String |
ELEMENT_CSS_ID
This attribute determines the CSS id for an element (node/edge).
|
static java.lang.String |
ELEMENT_EXTERNAL_LABEL
This attribute determines the (optional) external label of a node.
|
static java.lang.String |
ELEMENT_EXTERNAL_LABEL_CSS_STYLE
This attribute determines the CSS style for an external node or edge
label.
|
static java.lang.String |
ELEMENT_EXTERNAL_LABEL_POSITION
This attribute determines the position of a node's external label (in
case it exists).
|
static java.lang.String |
ELEMENT_LABEL
This attribute determines the label for an element (node/edge).
|
static java.lang.String |
ELEMENT_LABEL_CSS_STYLE
This attribute determines the CSS style for a node or edge label.
|
static java.lang.String |
ELEMENT_LAYOUT_IRRELEVANT
This attribute determines if an element (node/edge) should be ignored by
automatic layout.
|
static java.lang.Boolean |
ELEMENT_LAYOUT_IRRELEVANT_DEFAULT
The default value for the
ELEMENT_LAYOUT_IRRELEVANT attribute. |
static java.lang.String |
GRAPH_LAYOUT_ALGORITHM
This attribute determines the
ILayoutAlgorithm used to layout the
graph. |
static java.lang.String |
NODE_FISHEYE
This attribute determines the fisheye state for a node.
|
static java.lang.Boolean |
NODE_FISHEYE_DEFAULT
The default value of the
NODE_FISHEYE attribute. |
static java.lang.String |
NODE_ICON
This attribute determines the icon for a node.
|
static java.lang.String |
NODE_POSITION
This attribute determines the position for a
Node. |
static java.lang.String |
NODE_RECT_CSS_STYLE
This attribute determines the CSS style for a node rectangle.
|
static java.lang.String |
NODE_SIZE
This attribute determines the size for a
Node. |
static java.lang.String |
NODE_TOOLTIP
This attribute determines the tooltip for a node.
|
| Constructor and Description |
|---|
ZestProperties() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<Point> |
getControlPoints(Edge edge)
Returns the value of the
EDGE_CONTROL_POINTS attribute of the
given Edge. |
static java.lang.String |
getCssClass(Edge edge)
Returns the value of the
ELEMENT_CSS_CLASS attribute of the
given Edge. |
static java.lang.String |
getCssClass(Node node)
Returns the value of the
ELEMENT_CSS_CLASS attribute of the
given Node. |
static java.lang.String |
getCssId(Edge edge)
Returns the value of the
ELEMENT_CSS_ID attribute of the given
Edge. |
static java.lang.String |
getCssId(Node node)
Returns the value of the
ELEMENT_CSS_ID attribute of the given
Node. |
static java.lang.String |
getEdgeCurveCssStyle(Edge edge)
Returns the value of the
EDGE_CURVE_CSS_STYLE attribute of the
given Edge. |
static java.lang.String |
getExternalLabel(Edge edge)
Returns the value of the
ELEMENT_EXTERNAL_LABEL attribute of the
given Edge. |
static java.lang.String |
getExternalLabel(Node node)
Returns the value of the
ELEMENT_EXTERNAL_LABEL attribute of the
given Node. |
static java.lang.String |
getExternalLabelCssStyle(Edge edge)
Returns the value of the
ELEMENT_LABEL_CSS_STYLE attribute of
the given Edge. |
static java.lang.String |
getExternalLabelCssStyle(Node node)
Returns the value of the
ELEMENT_LABEL_CSS_STYLE attribute of
the given Node. |
static Point |
getExternalLabelPosition(Edge edge)
Returns the value of the
ELEMENT_EXTERNAL_LABEL_POSITION
attribute of the given Edge. |
static Point |
getExternalLabelPosition(Node node)
Returns the value of the
ELEMENT_EXTERNAL_LABEL_POSITION
attribute of the given Node. |
static java.lang.Boolean |
getFisheye(Node node,
boolean returnDefaultIfMissing)
Returns the value of the
NODE_FISHEYE attribute of the given
Node. |
static javafx.scene.image.Image |
getIcon(Node node)
|
static IConnectionInterpolator |
getInterpolator(Edge edge)
Returns the value of the
EDGE_INTERPOLATOR attribute of the
given Edge. |
static java.lang.String |
getLabel(Edge edge)
Returns the value of the
ELEMENT_LABEL attribute for the given
Edge. |
static java.lang.String |
getLabel(Node node)
Returns the value of the
ELEMENT_LABEL attribute for the given
Node. |
static java.lang.String |
getLabelCssStyle(Edge edge)
Returns the value of the
ELEMENT_LABEL_CSS_STYLE attribute of
the given Edge. |
static java.lang.String |
getLabelCssStyle(Node node)
Returns the value of the
ELEMENT_LABEL_CSS_STYLE attribute of
the given Node. |
static Point |
getLabelPosition(Edge edge)
Returns the value of the
EDGE_LABEL_POSITION attribute of the
given Edge. |
static ILayoutAlgorithm |
getLayoutAlgorithm(Graph graph)
Returns the value of the
GRAPH_LAYOUT_ALGORITHM attribute of the
given Graph. |
static java.lang.Boolean |
getLayoutIrrelevant(Edge edge,
boolean returnDefaultIfMissing)
Returns the value of the
ELEMENT_LAYOUT_IRRELEVANT attribute of
the given Edge. |
static java.lang.Boolean |
getLayoutIrrelevant(Node node,
boolean returnDefaultIfMissing)
Returns the value of the
ELEMENT_LAYOUT_IRRELEVANT attribute of
the given Node. |
static java.lang.String |
getNodeLabelCssStyle(Node node)
Returns the value of the
ELEMENT_LABEL_CSS_STYLE attribute of
the given Node. |
static java.lang.String |
getNodeRectCssStyle(Node node)
Returns the value of the
NODE_RECT_CSS_STYLE attribute of the
given Node. |
static Point |
getPosition(Node node)
Returns the value of the
NODE_POSITION attribute of the given
Node. |
static IConnectionRouter |
getRouter(Edge edge)
Returns the value of the
EDGE_ROUTER attribute of the given
Edge. |
static Dimension |
getSize(Node node)
|
static javafx.scene.shape.Shape |
getSourceDecoration(Edge edge)
Returns the value of the
EDGE_SOURCE_DECORATION attribute of the
given Edge. |
static java.lang.String |
getSourceLabel(Edge edge)
Returns the value of the
EDGE_SOURCE_LABEL attribute of the
given Edge. |
static Point |
getSourceLabelPosition(Edge edge)
Returns the value of the
EDGE_SOURCE_LABEL_POSITION attribute of
the given Edge. |
static javafx.scene.shape.Shape |
getTargetDecoration(Edge edge)
Returns the value of the
EDGE_TARGET_DECORATION attribute of the
given Edge. |
static java.lang.String |
getTargetLabel(Edge edge)
Returns the value of the
EDGE_TARGET_LABEL attribute of the
given Edge. |
static Point |
getTargetLabelPosition(Edge edge)
Returns the value of the
EDGE_TARGET_LABEL_POSITION attribute of
the given Edge. |
static java.lang.String |
getTooltip(Node node)
Returns the value of the
NODE_TOOLTIP attribute of the given
Node. |
static void |
setControlPoints(Edge edge,
java.util.List<Point> controlPoints)
Sets the value of the
EDGE_CONTROL_POINTS attribute of the given
Edge to the given value. |
static void |
setCssClass(Edge edge,
java.lang.String cssClass)
Sets the value of the
ELEMENT_CSS_CLASS attribute of the given
Edge to the given value. |
static void |
setCssClass(Node node,
java.lang.String cssClass)
Sets the value of the
ELEMENT_CSS_CLASS attribute of the given
Node to the given value. |
static void |
setCssId(Edge edge,
java.lang.String cssId)
Sets the value of the
ELEMENT_CSS_ID attribute of the given
Edge to the given value. |
static void |
setCssId(Node node,
java.lang.String cssId)
Sets the value of the
ELEMENT_CSS_ID attribute of the given
Node to the given value. |
static void |
setEdgeCurveCssStyle(Edge edge,
java.lang.String connCssStyle)
Sets the value of the
EDGE_CURVE_CSS_STYLE attribute of the
given Edge to the given value. |
static void |
setExternalLabel(Edge edge,
com.google.inject.Provider<java.lang.String> labelProvider)
Sets the value of the
ELEMENT_EXTERNAL_LABEL attribute of the
given Edge to the given provider. |
static void |
setExternalLabel(Edge edge,
java.lang.String label)
Sets the value of the
ELEMENT_EXTERNAL_LABEL attribute of the
given Edge to the given value. |
static void |
setExternalLabel(Node node,
com.google.inject.Provider<java.lang.String> labelProvider)
Sets the value of the
ELEMENT_EXTERNAL_LABEL attribute of the
given Node to the given provider. |
static void |
setExternalLabel(Node node,
java.lang.String label)
Sets the value of the
ELEMENT_EXTERNAL_LABEL attribute of the
given Node to the given value. |
static void |
setExternalLabelCssStyle(Edge edge,
java.lang.String textCssStyle)
Sets the value of the
ELEMENT_EXTERNAL_LABEL_CSS_STYLE attribute
of the given Edge to the given value. |
static void |
setExternalLabelCssStyle(Node node,
java.lang.String textCssStyle)
Sets the value of the
ELEMENT_EXTERNAL_LABEL_CSS_STYLE attribute
of the given Node to the given value. |
static void |
setExternalLabelPosition(Edge edge,
Point externalLabelPosition)
Sets the value of the
ELEMENT_EXTERNAL_LABEL_POSITION attribute
of the given Edge to the given value. |
static void |
setExternalLabelPosition(Node node,
Point externalLabelPosition)
Sets the value of the
ELEMENT_EXTERNAL_LABEL_POSITION attribute
of the given Node to the given value. |
static void |
setFisheye(Node node,
java.lang.Boolean fisheye)
Sets the value of the
NODE_FISHEYE attribute of the given
Node to the given value. |
static void |
setIcon(Node node,
javafx.scene.image.Image icon)
|
static void |
setInterpolator(Edge edge,
IConnectionInterpolator interpolator)
Sets the value of the
EDGE_INTERPOLATOR attribute of the given
Edge to the given value. |
static void |
setLabel(Edge edge,
com.google.inject.Provider<java.lang.String> labelProvider)
Sets the
ELEMENT_LABEL attribute of the given Edge to
the given provider. |
static void |
setLabel(Edge edge,
java.lang.String label)
Sets the
ELEMENT_LABEL attribute of the given Edge to
the given value. |
static void |
setLabel(Node node,
com.google.inject.Provider<java.lang.String> labelProvider)
Sets the
ELEMENT_LABEL attribute of the given Node to
the given provider. |
static void |
setLabel(Node node,
java.lang.String label)
Sets the
ELEMENT_LABEL attribute of the given Node to
the given value. |
static void |
setLabelCssStyle(Edge edge,
java.lang.String textCssStyle)
Sets the value of the
ELEMENT_LABEL_CSS_STYLE attribute of the
given Edge to the given value. |
static void |
setLabelCssStyle(Node node,
java.lang.String textCssStyle)
Sets the value of the
ELEMENT_LABEL_CSS_STYLE attribute of the
given Node to the given value. |
static void |
setLabelPosition(Edge edge,
Point labelPosition)
Sets the value of the
EDGE_LABEL_POSITION attribute of the given
Edge to the given value. |
static void |
setLayoutAlgorithm(Graph graph,
ILayoutAlgorithm algorithm)
Sets the value of the
GRAPH_LAYOUT_ALGORITHM attribute of the
given Graph to the given value. |
static void |
setLayoutIrrelevant(Edge edge,
java.lang.Boolean layoutIrrelevant)
Sets the value of the
ELEMENT_LAYOUT_IRRELEVANT attribute of the
given Edge to the given value. |
static void |
setLayoutIrrelevant(Node node,
java.lang.Boolean layoutIrrelevant)
Sets the value of the
ELEMENT_LAYOUT_IRRELEVANT attribute of the
given Node to the given value. |
static void |
setNodeRectCssStyle(Node node,
java.lang.String rectCssStyle)
Sets the value of the
NODE_RECT_CSS_STYLE attribute of the given
Node to the given value. |
static void |
setPosition(Node node,
Point position)
Sets the value of the
NODE_POSITION attribute of the given
Node to the given value. |
static void |
setRouter(Edge edge,
IConnectionRouter router)
Sets the value of the
EDGE_ROUTER attribute of the given
Edge to the given value. |
static void |
setSize(Node node,
Dimension size)
|
static void |
setSourceDecoration(Edge edge,
javafx.scene.shape.Shape sourceDecoration)
Sets the value of the
EDGE_SOURCE_DECORATION attribute of the
given Edge to the given value. |
static void |
setSourceLabel(Edge edge,
com.google.inject.Provider<java.lang.String> sourceLabelProvider)
Sets the value of the
EDGE_SOURCE_LABEL attribute of the given
Edge to the given provider. |
static void |
setSourceLabel(Edge edge,
java.lang.String sourceLabel)
Sets the value of the
EDGE_SOURCE_LABEL attribute of the given
Edge to the given value. |
static void |
setSourceLabelPosition(Edge edge,
Point labelPosition)
Sets the value of the
EDGE_SOURCE_LABEL_POSITION attribute of
the given Edge to the given value. |
static void |
setTargetDecoration(Edge edge,
javafx.scene.shape.Shape targetDecoration)
Sets the value of the
EDGE_TARGET_DECORATION attribute of the
given Edge to the given value. |
static void |
setTargetLabel(Edge edge,
com.google.inject.Provider<java.lang.String> targetLabelProvider)
Sets the value of the
EDGE_TARGET_LABEL attribute of the given
Edge to the given provider. |
static void |
setTargetLabel(Edge edge,
java.lang.String targetLabel)
Sets the value of the
EDGE_TARGET_LABEL attribute of the given
Edge to the given value. |
static void |
setTargetLabelPosition(Edge edge,
Point labelPosition)
Sets the value of the
EDGE_TARGET_LABEL_POSITION attribute of
the given Edge to the given value. |
static void |
setTooltip(Node node,
com.google.inject.Provider<java.lang.String> tooltipProvider)
Sets the value of the
NODE_TOOLTIP attribute of the given
Node to the given provider. |
static void |
setTooltip(Node node,
java.lang.String tooltip)
Sets the value of the
NODE_TOOLTIP attribute of the given
Node to the given value. |
public static final java.lang.String ELEMENT_LAYOUT_IRRELEVANT
public static final java.lang.Boolean ELEMENT_LAYOUT_IRRELEVANT_DEFAULT
ELEMENT_LAYOUT_IRRELEVANT attribute.public static final java.lang.String ELEMENT_CSS_CLASS
public static final java.lang.String ELEMENT_CSS_ID
public static final java.lang.String ELEMENT_LABEL
public static final java.lang.String EDGE_CURVE_CSS_STYLE
public static final java.lang.String EDGE_CONTROL_POINTS
EDGE_ROUTER in addition to the start and end point, which are
provided by the Connection and computed by IAnchors at
the source and target node of the Edge (and not included in the
list of way points).public static final java.lang.String NODE_RECT_CSS_STYLE
public static final java.lang.String ELEMENT_LABEL_CSS_STYLE
public static final java.lang.String ELEMENT_EXTERNAL_LABEL_CSS_STYLE
public static final java.lang.String ELEMENT_EXTERNAL_LABEL
public static final java.lang.String ELEMENT_EXTERNAL_LABEL_POSITION
public static final java.lang.String EDGE_LABEL_POSITION
public static final java.lang.String EDGE_SOURCE_LABEL_POSITION
public static final java.lang.String EDGE_TARGET_LABEL_POSITION
public static final java.lang.String NODE_ICON
getIcon(Node),
setIcon(Node, Image),
Constant Field Valuespublic static final java.lang.String NODE_SIZE
Node.public static final java.lang.String NODE_POSITION
Node.public static final java.lang.String NODE_TOOLTIP
public static final java.lang.String NODE_FISHEYE
public static final java.lang.String EDGE_TARGET_DECORATION
public static final java.lang.String EDGE_SOURCE_DECORATION
public static final java.lang.String EDGE_TARGET_LABEL
public static final java.lang.String EDGE_SOURCE_LABEL
public static final java.lang.String EDGE_ROUTER
IConnectionRouter used to route an
edge. This attribute does not have a default value.public static final java.lang.String EDGE_INTERPOLATOR
IConnectionInterpolator used to
infer a geometry for an edge. This attribute does not have a default
value.public static final java.lang.String GRAPH_LAYOUT_ALGORITHM
ILayoutAlgorithm used to layout the
graph.public static java.lang.Boolean NODE_FISHEYE_DEFAULT
NODE_FISHEYE attribute.public static java.util.List<Point> getControlPoints(Edge edge)
EDGE_CONTROL_POINTS attribute of the
given Edge.edge - The Edge for which to determine the router points.EDGE_CONTROL_POINTS attribute of the
given Edge, or an empty list, if the attribute is unset.public static java.lang.String getCssClass(Edge edge)
ELEMENT_CSS_CLASS attribute of the
given Edge.public static java.lang.String getCssClass(Node node)
ELEMENT_CSS_CLASS attribute of the
given Node.public static java.lang.String getCssId(Edge edge)
ELEMENT_CSS_ID attribute of the given
Edge.public static java.lang.String getCssId(Node node)
ELEMENT_CSS_ID attribute of the given
Node.public static java.lang.String getEdgeCurveCssStyle(Edge edge)
EDGE_CURVE_CSS_STYLE attribute of the
given Edge.public static java.lang.String getExternalLabel(Edge edge)
ELEMENT_EXTERNAL_LABEL attribute of the
given Edge.public static java.lang.String getExternalLabel(Node node)
ELEMENT_EXTERNAL_LABEL attribute of the
given Node.public static java.lang.String getExternalLabelCssStyle(Edge edge)
ELEMENT_LABEL_CSS_STYLE attribute of
the given Edge.public static java.lang.String getExternalLabelCssStyle(Node node)
ELEMENT_LABEL_CSS_STYLE attribute of
the given Node.public static Point getExternalLabelPosition(Edge edge)
ELEMENT_EXTERNAL_LABEL_POSITION
attribute of the given Edge.edge - The Edge of which the position is determined.ELEMENT_EXTERNAL_LABEL_POSITION
attribute of the given Edge.public static Point getExternalLabelPosition(Node node)
ELEMENT_EXTERNAL_LABEL_POSITION
attribute of the given Node.node - The Node of which the position is determined.ELEMENT_EXTERNAL_LABEL_POSITION
attribute of the given Node.public static java.lang.Boolean getFisheye(Node node, boolean returnDefaultIfMissing)
NODE_FISHEYE attribute of the given
Node. If the attribute is not set for the given Node,
either the default attribute value is returned, or null,
depending on the returnDefaultIfMissing flag.public static javafx.scene.image.Image getIcon(Node node)
public static IConnectionInterpolator getInterpolator(Edge edge)
EDGE_INTERPOLATOR attribute of the
given Edge.public static java.lang.String getLabel(Edge edge)
ELEMENT_LABEL attribute for the given
Edge.edge - The Edge whose attribute value is to be retrieved.ELEMENT_LABEL attribute Edge.
If a Provider was set for the attribute, the value is
retrieved from the provider using Provider.get().public static java.lang.String getLabel(Node node)
ELEMENT_LABEL attribute for the given
Node.node - The Node whose attribute value is to be retrieved.ELEMENT_LABEL attribute Node.
If a Provider was set for the attribute, the value is
retrieved from the provider using Provider.get().public static java.lang.String getLabelCssStyle(Edge edge)
ELEMENT_LABEL_CSS_STYLE attribute of
the given Edge.public static java.lang.String getLabelCssStyle(Node node)
ELEMENT_LABEL_CSS_STYLE attribute of
the given Node.public static Point getLabelPosition(Edge edge)
EDGE_LABEL_POSITION attribute of the
given Edge.edge - The Edge of which the position is determined.EDGE_LABEL_POSITION attribute of the
given Edge.public static ILayoutAlgorithm getLayoutAlgorithm(Graph graph)
GRAPH_LAYOUT_ALGORITHM attribute of the
given Graph.public static java.lang.Boolean getLayoutIrrelevant(Edge edge, boolean returnDefaultIfMissing)
ELEMENT_LAYOUT_IRRELEVANT attribute of
the given Edge. If the attribute is not set for the given
Edge, either the default attribute value is returned, or
null, depending on the returnDefaultIfMissing flag.public static java.lang.Boolean getLayoutIrrelevant(Node node, boolean returnDefaultIfMissing)
ELEMENT_LAYOUT_IRRELEVANT attribute of
the given Node. If the attribute is not set for the given
Node, either the default attribute value is returned, or
null, depending on the returnDefaultIfMissing flag.public static java.lang.String getNodeLabelCssStyle(Node node)
ELEMENT_LABEL_CSS_STYLE attribute of
the given Node.public static java.lang.String getNodeRectCssStyle(Node node)
NODE_RECT_CSS_STYLE attribute of the
given Node.public static Point getPosition(Node node)
NODE_POSITION attribute of the given
Node.node - The Node of which the position is determined.NODE_POSITION attribute of the given
Node.public static IConnectionRouter getRouter(Edge edge)
EDGE_ROUTER attribute of the given
Edge.public static javafx.scene.shape.Shape getSourceDecoration(Edge edge)
EDGE_SOURCE_DECORATION attribute of the
given Edge.public static java.lang.String getSourceLabel(Edge edge)
EDGE_SOURCE_LABEL attribute of the
given Edge.edge - The Edge of which the source decoration is determined.EDGE_SOURCE_LABEL attribute. In case a
provider is set for the attribute, the value will be retrieved
from the provider using Provider.get().public static Point getSourceLabelPosition(Edge edge)
EDGE_SOURCE_LABEL_POSITION attribute of
the given Edge.edge - The Edge of which the source label position is
determined.EDGE_SOURCE_LABEL_POSITION attribute of
the given Edge.public static javafx.scene.shape.Shape getTargetDecoration(Edge edge)
EDGE_TARGET_DECORATION attribute of the
given Edge.public static java.lang.String getTargetLabel(Edge edge)
EDGE_TARGET_LABEL attribute of the
given Edge.edge - The Edge of which the target decoration is determined.EDGE_TARGET_LABEL attribute. In case a
provider is set for the attribute, the value will be retrieved
from the provider using Provider.get().public static Point getTargetLabelPosition(Edge edge)
EDGE_TARGET_LABEL_POSITION attribute of
the given Edge.edge - The Edge of which the target label position is
determined.EDGE_TARGET_LABEL_POSITION attribute of
the given Edge.public static java.lang.String getTooltip(Node node)
NODE_TOOLTIP attribute of the given
Node.node - The Node of which the tooltip is determined.Node. If a Provider is
set for NODE_TOOLTIP, the value will be retrieved from
it using Provider.get().public static void setControlPoints(Edge edge, java.util.List<Point> controlPoints)
EDGE_CONTROL_POINTS attribute of the given
Edge to the given value.edge - The Edge of which the EDGE_CONTROL_POINTS
attribute is changed.controlPoints - The new List of control Points for the given
Edge.public static void setCssClass(Edge edge, java.lang.String cssClass)
ELEMENT_CSS_CLASS attribute of the given
Edge to the given value.public static void setCssClass(Node node, java.lang.String cssClass)
ELEMENT_CSS_CLASS attribute of the given
Node to the given value.public static void setCssId(Edge edge, java.lang.String cssId)
ELEMENT_CSS_ID attribute of the given
Edge to the given value.public static void setCssId(Node node, java.lang.String cssId)
ELEMENT_CSS_ID attribute of the given
Node to the given value.public static void setEdgeCurveCssStyle(Edge edge, java.lang.String connCssStyle)
EDGE_CURVE_CSS_STYLE attribute of the
given Edge to the given value.public static void setExternalLabel(Edge edge, com.google.inject.Provider<java.lang.String> labelProvider)
ELEMENT_EXTERNAL_LABEL attribute of the
given Edge to the given provider.edge - The Edge of which the external label is changed.labelProvider - A Provider that is used to retrieve the value of the
ELEMENT_EXTERNAL_LABEL attribute.public static void setExternalLabel(Edge edge, java.lang.String label)
ELEMENT_EXTERNAL_LABEL attribute of the
given Edge to the given value.public static void setExternalLabel(Node node, com.google.inject.Provider<java.lang.String> labelProvider)
ELEMENT_EXTERNAL_LABEL attribute of the
given Node to the given provider.node - The Node of which the external label is changed.labelProvider - A Provider that is used to retrieve the value of the
ELEMENT_EXTERNAL_LABEL attribute.public static void setExternalLabel(Node node, java.lang.String label)
ELEMENT_EXTERNAL_LABEL attribute of the
given Node to the given value.public static void setExternalLabelCssStyle(Edge edge, java.lang.String textCssStyle)
ELEMENT_EXTERNAL_LABEL_CSS_STYLE attribute
of the given Edge to the given value.public static void setExternalLabelCssStyle(Node node, java.lang.String textCssStyle)
ELEMENT_EXTERNAL_LABEL_CSS_STYLE attribute
of the given Node to the given value.public static void setExternalLabelPosition(Edge edge, Point externalLabelPosition)
ELEMENT_EXTERNAL_LABEL_POSITION attribute
of the given Edge to the given value.edge - The Edge of which the
ELEMENT_EXTERNAL_LABEL_POSITION attribute is changed.externalLabelPosition - The new external label position.public static void setExternalLabelPosition(Node node, Point externalLabelPosition)
ELEMENT_EXTERNAL_LABEL_POSITION attribute
of the given Node to the given value.node - The Node of which the
ELEMENT_EXTERNAL_LABEL_POSITION attribute is changed.externalLabelPosition - The new external label position.public static void setFisheye(Node node, java.lang.Boolean fisheye)
NODE_FISHEYE attribute of the given
Node to the given value.public static void setIcon(Node node, javafx.scene.image.Image icon)
public static void setInterpolator(Edge edge, IConnectionInterpolator interpolator)
EDGE_INTERPOLATOR attribute of the given
Edge to the given value.edge - The Edge of which the interpolator is changed.interpolator - The new IConnectionInterpolator for the given
Edge .public static void setLabel(Edge edge, com.google.inject.Provider<java.lang.String> labelProvider)
ELEMENT_LABEL attribute of the given Edge to
the given provider.edge - The Edge whose attribute is to be changed.labelProvider - A Provider which provides the value for the
ELEMENT_LABEL attribute.public static void setLabel(Edge edge, java.lang.String label)
ELEMENT_LABEL attribute of the given Edge to
the given value.edge - The Edge whose attribute is to be changed.label - The new value for the ELEMENT_LABEL attribute.public static void setLabel(Node node, com.google.inject.Provider<java.lang.String> labelProvider)
ELEMENT_LABEL attribute of the given Node to
the given provider.node - The Node whose attribute is to be changed.labelProvider - A Provider which provides the value for the
ELEMENT_LABEL attribute.public static void setLabel(Node node, java.lang.String label)
ELEMENT_LABEL attribute of the given Node to
the given value.node - The Node whose attribute is to be changed.label - The new value for the ELEMENT_LABEL attribute.public static void setLabelCssStyle(Edge edge, java.lang.String textCssStyle)
ELEMENT_LABEL_CSS_STYLE attribute of the
given Edge to the given value.public static void setLabelCssStyle(Node node, java.lang.String textCssStyle)
ELEMENT_LABEL_CSS_STYLE attribute of the
given Node to the given value.public static void setLabelPosition(Edge edge, Point labelPosition)
EDGE_LABEL_POSITION attribute of the given
Edge to the given value.public static void setLayoutAlgorithm(Graph graph, ILayoutAlgorithm algorithm)
GRAPH_LAYOUT_ALGORITHM attribute of the
given Graph to the given value.graph - The Graph of which the layout algorithm is changed.algorithm - The new ILayoutAlgorithm for the given Graph.public static void setLayoutIrrelevant(Edge edge, java.lang.Boolean layoutIrrelevant)
ELEMENT_LAYOUT_IRRELEVANT attribute of the
given Edge to the given value.public static void setLayoutIrrelevant(Node node, java.lang.Boolean layoutIrrelevant)
ELEMENT_LAYOUT_IRRELEVANT attribute of the
given Node to the given value.public static void setNodeRectCssStyle(Node node, java.lang.String rectCssStyle)
NODE_RECT_CSS_STYLE attribute of the given
Node to the given value.public static void setPosition(Node node, Point position)
NODE_POSITION attribute of the given
Node to the given value.node - The Node of which the NODE_POSITION attribute
is changed.position - The new node position.public static void setRouter(Edge edge, IConnectionRouter router)
EDGE_ROUTER attribute of the given
Edge to the given value.edge - The Edge of which the router is changed.router - The new IConnectionRouter for the given Edge .public static void setSourceDecoration(Edge edge, javafx.scene.shape.Shape sourceDecoration)
EDGE_SOURCE_DECORATION attribute of the
given Edge to the given value.public static void setSourceLabel(Edge edge, com.google.inject.Provider<java.lang.String> sourceLabelProvider)
EDGE_SOURCE_LABEL attribute of the given
Edge to the given provider.edge - The Edge of which the target decoration is changed.sourceLabelProvider - A Provider which provides the value for
EDGE_SOURCE_LABEL attribute.public static void setSourceLabel(Edge edge, java.lang.String sourceLabel)
EDGE_SOURCE_LABEL attribute of the given
Edge to the given value.public static void setSourceLabelPosition(Edge edge, Point labelPosition)
EDGE_SOURCE_LABEL_POSITION attribute of
the given Edge to the given value.public static void setTargetDecoration(Edge edge, javafx.scene.shape.Shape targetDecoration)
EDGE_TARGET_DECORATION attribute of the
given Edge to the given value.public static void setTargetLabel(Edge edge, com.google.inject.Provider<java.lang.String> targetLabelProvider)
EDGE_TARGET_LABEL attribute of the given
Edge to the given provider.edge - The Edge of which the target decoration is changed.targetLabelProvider - A Provider which provides the value for
EDGE_TARGET_LABEL attribute.public static void setTargetLabel(Edge edge, java.lang.String targetLabel)
EDGE_TARGET_LABEL attribute of the given
Edge to the given value.public static void setTargetLabelPosition(Edge edge, Point labelPosition)
EDGE_TARGET_LABEL_POSITION attribute of
the given Edge to the given value.public static void setTooltip(Node node, com.google.inject.Provider<java.lang.String> tooltipProvider)
NODE_TOOLTIP attribute of the given
Node to the given provider.node - The Node whose attribute is change.tooltipProvider - A Provider which is used to retrieve the
NODE_TOOLTIP value.public static void setTooltip(Node node, java.lang.String tooltip)
NODE_TOOLTIP attribute of the given
Node to the given value.Copyright (c) 2014 itemis AG and others. All rights reserved.