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 |
CONTROL_POINTS__E
|
static java.lang.String |
CSS_CLASS__NE
This attribute determines the CSS class for an element (node/edge).
|
static java.lang.String |
CSS_ID__NE
This attribute determines the CSS id for an element (node/edge).
|
static java.lang.String |
CURVE__E
This attribute determines the curve being used for visualization of the
edge.
|
static java.lang.String |
CURVE_CSS_STYLE__E
This attribute determines the CSS style for an edge.
|
static java.lang.String |
END_POINT__E
This attribute determines the end point being used for the visualization
of the edge.
|
static java.lang.String |
EXTERNAL_LABEL__NE
This attribute determines the (optional) external label of a node.
|
static java.lang.String |
EXTERNAL_LABEL_CSS_STYLE__NE
This attribute determines the CSS style for an external node or edge
label.
|
static java.lang.String |
EXTERNAL_LABEL_POSITION__NE
This attribute determines the position of a node's external label (in
case it exists).
|
static java.lang.String |
ICON__N
This attribute determines the icon for a node.
|
static java.lang.String |
INTERPOLATOR__E
This attribute determines the
IConnectionInterpolator used to
infer a geometry for an edge. |
static java.lang.String |
INVISIBLE__NE
This attribute determines if the corresponding element is invisible.
|
static java.lang.String |
LABEL__NE
This attribute determines the label for an element (node/edge).
|
static java.lang.String |
LABEL_CSS_STYLE__E
This attribute determines the CSS style for a node or edge label.
|
static java.lang.String |
LABEL_POSITION__E
This attribute determines the position of an edge's label (in case it
exists).
|
static java.lang.String |
LAYOUT_ALGORITHM__G
This attribute determines the
ILayoutAlgorithm used to layout the
graph. |
static java.lang.String |
LAYOUT_IRRELEVANT__NE
This attribute determines if an element (node/edge) should be ignored by
automatic layout.
|
static java.lang.String |
POSITION__N
This attribute determines the position for a
Node . |
static java.lang.String |
ROUTER__E
This attribute determines the
IConnectionRouter used to route an
edge. |
static java.lang.String |
SHAPE__N
This attribute determines the shape being used for background and outline
visualization of the node.
|
static java.lang.String |
SHAPE_CSS_STYLE__N
This attribute determines the CSS style for a node rectangle.
|
static java.lang.String |
SIZE__N
This attribute determines the size for a
Node . |
static java.lang.String |
SOURCE_DECORATION__E
This attribute determines the source decoration for an edge.
|
static java.lang.String |
SOURCE_DECORATION_CSS_STYLE__E
This attribute determines the CSS style for the source decoration of an
edge.
|
static java.lang.String |
SOURCE_LABEL__E
This attribute determines the source label for an edge.
|
static java.lang.String |
SOURCE_LABEL_CSS_STYLE__E
This attribute determines the CSS style for the source edge label.
|
static java.lang.String |
SOURCE_LABEL_POSITION__E
This attribute determines the position of an edge's source label (in case
it exists).
|
static java.lang.String |
START_POINT__E
This attribute determines the start point being used for the
visualization of the edge.
|
static java.lang.String |
TARGET_DECORATION__E
This attribute determines the target decoration for an edge.
|
static java.lang.String |
TARGET_DECORATION_CSS_STYLE__E
This attribute determines the CSS style for the target decoration of an
edge.
|
static java.lang.String |
TARGET_LABEL__E
This attribute determines the target label for an edge.
|
static java.lang.String |
TARGET_LABEL_CSS_STYLE__E
This attribute determines the CSS style for the target edge label.
|
static java.lang.String |
TARGET_LABEL_POSITION__E
This attribute determines the position of an edge's target label (in case
it exists).
|
static java.lang.String |
TOOLTIP__N
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
CONTROL_POINTS__E attribute of the
given Edge . |
static java.lang.String |
getCssClass(Edge edge)
Returns the value of the
CSS_CLASS__NE attribute of the given
Edge . |
static java.lang.String |
getCssClass(Node node)
Returns the value of the
CSS_CLASS__NE attribute of the given
Node . |
static java.lang.String |
getCssId(Edge edge)
Returns the value of the
CSS_ID__NE attribute of the given
Edge . |
static java.lang.String |
getCssId(Node node)
Returns the value of the
CSS_ID__NE attribute of the given
Node . |
static javafx.scene.Node |
getCurve(Edge edge)
|
static java.lang.String |
getCurveCssStyle(Edge edge)
Returns the value of the
CURVE_CSS_STYLE__E attribute of the
given Edge . |
static Point |
getEndPoint(Edge edge)
Returns the value of the
END_POINT__E attribute of the given
Edge . |
static java.lang.String |
getExternalLabel(Edge edge)
Returns the value of the
EXTERNAL_LABEL__NE attribute of the
given Edge . |
static java.lang.String |
getExternalLabel(Node node)
Returns the value of the
EXTERNAL_LABEL__NE attribute of the
given Node . |
static java.lang.String |
getExternalLabelCssStyle(Edge edge)
Returns the value of the
EXTERNAL_LABEL_CSS_STYLE__NE attribute
of the given Edge . |
static java.lang.String |
getExternalLabelCssStyle(Node node)
Returns the value of the
LABEL_CSS_STYLE__E attribute of the
given Node . |
static Point |
getExternalLabelPosition(Edge edge)
Returns the value of the
EXTERNAL_LABEL_POSITION__NE attribute
of the given Edge . |
static Point |
getExternalLabelPosition(Node node)
Returns the value of the
EXTERNAL_LABEL_POSITION__NE attribute
of the given Node . |
static javafx.scene.image.Image |
getIcon(Node node)
|
static IConnectionInterpolator |
getInterpolator(Edge edge)
Returns the value of the
INTERPOLATOR__E attribute of the given
Edge . |
static java.lang.Boolean |
getInvisible(Edge edge)
Returns the value of the
INVISIBLE__NE attribute of the given
Edge . |
static java.lang.Boolean |
getInvisible(Node node)
Returns the value of the
INVISIBLE__NE attribute of the given
Node . |
static java.lang.String |
getLabel(Edge edge)
|
static java.lang.String |
getLabel(Node node)
|
static java.lang.String |
getLabelCssStyle(Edge edge)
Returns the value of the
LABEL_CSS_STYLE__E attribute of the
given Edge . |
static java.lang.String |
getLabelCssStyle(Node node)
Returns the value of the
LABEL_CSS_STYLE__E attribute of the
given Node . |
static Point |
getLabelPosition(Edge edge)
Returns the value of the
LABEL_POSITION__E attribute of the
given Edge . |
static ILayoutAlgorithm |
getLayoutAlgorithm(Graph graph)
Returns the value of the
LAYOUT_ALGORITHM__G attribute of the
given Graph . |
static java.lang.Boolean |
getLayoutIrrelevant(Edge edge)
Returns the value of the
LAYOUT_IRRELEVANT__NE attribute of the
given Edge . |
static java.lang.Boolean |
getLayoutIrrelevant(Node node)
Returns the value of the
LAYOUT_IRRELEVANT__NE attribute of the
given Node . |
static Point |
getPosition(Node node)
Returns the value of the
POSITION__N attribute of the given
Node . |
static IConnectionRouter |
getRouter(Edge edge)
|
static javafx.scene.Node |
getShape(Node node)
|
static java.lang.String |
getShapeCssStyle(Node node)
Returns the value of the
SHAPE_CSS_STYLE__N attribute of the
given Node . |
static Dimension |
getSize(Node node)
|
static javafx.scene.Node |
getSourceDecoration(Edge edge)
Returns the value of the
SOURCE_DECORATION__E attribute of the
given Edge . |
static java.lang.String |
getSourceDecorationCssStyle(Edge edge)
Returns the value of the
SOURCE_DECORATION_CSS_STYLE__E
attribute of the given Edge . |
static java.lang.String |
getSourceLabel(Edge edge)
Returns the value of the
SOURCE_LABEL__E attribute of the given
Edge . |
static java.lang.String |
getSourceLabelCssStyle(Edge edge)
Returns the value of the
SOURCE_LABEL_CSS_STYLE__E attribute of
the given Edge . |
static Point |
getSourceLabelPosition(Edge edge)
Returns the value of the
SOURCE_LABEL_POSITION__E attribute of
the given Edge . |
static Point |
getStartPoint(Edge edge)
Returns the value of the
START_POINT__E attribute of the given
Edge . |
static javafx.scene.Node |
getTargetDecoration(Edge edge)
Returns the value of the
TARGET_DECORATION__E attribute of the
given Edge . |
static java.lang.String |
getTargetDecorationCssStyle(Edge edge)
Returns the value of the
TARGET_DECORATION_CSS_STYLE__E
attribute of the given Edge . |
static java.lang.String |
getTargetLabel(Edge edge)
Returns the value of the
TARGET_LABEL__E attribute of the given
Edge . |
static java.lang.String |
getTargetLabelCssStyle(Edge edge)
Returns the value of the
TARGET_LABEL_CSS_STYLE__E attribute of
the given Edge . |
static Point |
getTargetLabelPosition(Edge edge)
Returns the value of the
TARGET_LABEL_POSITION__E attribute of
the given Edge . |
static java.lang.String |
getTooltip(Node node)
Returns the value of the
TOOLTIP__N attribute of the given
Node . |
static void |
setControlPoints(Edge edge,
java.util.List<Point> controlPoints)
Sets the value of the
CONTROL_POINTS__E attribute of the given
Edge to the given value. |
static void |
setCssClass(Edge edge,
java.lang.String cssClass)
Sets the value of the
CSS_CLASS__NE attribute of the given
Edge to the given value. |
static void |
setCssClass(Node node,
java.lang.String cssClass)
Sets the value of the
CSS_CLASS__NE attribute of the given
Node to the given value. |
static void |
setCssId(Edge edge,
com.google.inject.Provider<java.lang.String> cssIdProvider)
Sets the value of the
CSS_ID__NE attribute of the given
Edge to the given value. |
static void |
setCssId(Edge edge,
java.lang.String cssId)
Sets the value of the
CSS_ID__NE attribute of the given
Edge to the given value. |
static void |
setCssId(Node node,
com.google.inject.Provider<java.lang.String> cssIdProvider)
Sets the value of the
CSS_ID__NE attribute of the given
Node to the given value. |
static void |
setCssId(Node node,
java.lang.String cssId)
Sets the value of the
CSS_ID__NE attribute of the given
Node to the given value. |
static void |
setCurve(Edge edge,
javafx.scene.Node curve)
|
static void |
setCurveCssStyle(Edge edge,
java.lang.String curveCssStyle)
Sets the value of the
CURVE_CSS_STYLE__E attribute of the given
Edge to the given value. |
static void |
setEndPoint(Edge edge,
Point endPoint)
Sets the value of the
END_POINT__E 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
EXTERNAL_LABEL__NE attribute of the given
Edge to the given provider. |
static void |
setExternalLabel(Edge edge,
java.lang.String label)
Sets the value of the
EXTERNAL_LABEL__NE attribute of the given
Edge to the given value. |
static void |
setExternalLabel(Node node,
com.google.inject.Provider<java.lang.String> labelProvider)
Sets the value of the
EXTERNAL_LABEL__NE attribute of the given
Node to the given provider. |
static void |
setExternalLabel(Node node,
java.lang.String label)
Sets the value of the
EXTERNAL_LABEL__NE attribute of the given
Node to the given value. |
static void |
setExternalLabelCssStyle(Edge edge,
java.lang.String textCssStyle)
Sets the value of the
EXTERNAL_LABEL_CSS_STYLE__NE attribute of
the given Edge to the given value. |
static void |
setExternalLabelCssStyle(Node node,
java.lang.String textCssStyle)
Sets the value of the
EXTERNAL_LABEL_CSS_STYLE__NE attribute of
the given Node to the given value. |
static void |
setExternalLabelPosition(Edge edge,
Point externalLabelPosition)
Sets the value of the
EXTERNAL_LABEL_POSITION__NE attribute of
the given Edge to the given value. |
static void |
setExternalLabelPosition(Node node,
Point externalLabelPosition)
Sets the value of the
EXTERNAL_LABEL_POSITION__NE attribute of
the given Node to the given value. |
static void |
setIcon(Node node,
javafx.scene.image.Image icon)
|
static void |
setInterpolator(Edge edge,
IConnectionInterpolator interpolator)
Sets the value of the
INTERPOLATOR__E attribute of the given
Edge to the given value. |
static void |
setInvisible(Edge edge,
java.lang.Boolean invisible)
Sets the value of the
INVISIBLE__NE attribute of the given
Edge to the given value. |
static void |
setInvisible(Node node,
java.lang.Boolean invisible)
Sets the value of the
INVISIBLE__NE attribute of the given
Node to the given value. |
static void |
setLabel(Edge edge,
com.google.inject.Provider<java.lang.String> labelProvider)
|
static void |
setLabel(Edge edge,
java.lang.String label)
|
static void |
setLabel(Node node,
com.google.inject.Provider<java.lang.String> labelProvider)
|
static void |
setLabel(Node node,
java.lang.String label)
|
static void |
setLabelCssStyle(Edge edge,
java.lang.String textCssStyle)
Sets the value of the
LABEL_CSS_STYLE__E attribute of the given
Edge to the given value. |
static void |
setLabelCssStyle(Node node,
java.lang.String textCssStyle)
Sets the value of the
LABEL_CSS_STYLE__E attribute of the given
Node to the given value. |
static void |
setLabelPosition(Edge edge,
Point labelPosition)
Sets the value of the
LABEL_POSITION__E attribute of the given
Edge to the given value. |
static void |
setLayoutAlgorithm(Graph graph,
ILayoutAlgorithm algorithm)
Sets the value of the
LAYOUT_ALGORITHM__G attribute of the given
Graph to the given value. |
static void |
setLayoutIrrelevant(Edge edge,
java.lang.Boolean layoutIrrelevant)
Sets the value of the
LAYOUT_IRRELEVANT__NE attribute of the
given Edge to the given value. |
static void |
setLayoutIrrelevant(Node node,
java.lang.Boolean layoutIrrelevant)
Sets the value of the
LAYOUT_IRRELEVANT__NE attribute of the
given Node to the given value. |
static void |
setPosition(Node node,
Point position)
Sets the value of the
POSITION__N attribute of the given
Node to the given value. |
static void |
setRouter(Edge edge,
IConnectionRouter router)
|
static void |
setShape(Node node,
javafx.scene.Node shape)
|
static void |
setShapeCssStyle(Node node,
java.lang.String rectCssStyle)
Sets the value of the
SHAPE_CSS_STYLE__N attribute of the given
Node to the given value. |
static void |
setSize(Node node,
Dimension size)
|
static void |
setSourceDecoration(Edge edge,
javafx.scene.Node sourceDecoration)
Sets the value of the
SOURCE_DECORATION__E attribute of the
given Edge to the given value. |
static void |
setSourceDecorationCssStyle(Edge edge,
java.lang.String sourceDecorationCssStyle)
Sets the value of the
SOURCE_DECORATION_CSS_STYLE__E attribute
of the given Edge to the given value. |
static void |
setSourceLabel(Edge edge,
com.google.inject.Provider<java.lang.String> sourceLabelProvider)
Sets the value of the
SOURCE_LABEL__E attribute of the given
Edge to the given provider. |
static void |
setSourceLabel(Edge edge,
java.lang.String sourceLabel)
Sets the value of the
SOURCE_LABEL__E attribute of the given
Edge to the given value. |
static void |
setSourceLabelCssStyle(Edge edge,
java.lang.String sourceLabelCssStyle)
Sets the value of the
SOURCE_LABEL_CSS_STYLE__E attribute of the
given Edge to the given value. |
static void |
setSourceLabelPosition(Edge edge,
Point labelPosition)
Sets the value of the
SOURCE_LABEL_POSITION__E attribute of the
given Edge to the given value. |
static void |
setStartPoint(Edge edge,
Point startPoint)
Sets the value of the
START_POINT__E attribute of the given
Edge to the given value. |
static void |
setTargetDecoration(Edge edge,
javafx.scene.Node targetDecoration)
Sets the value of the
TARGET_DECORATION__E attribute of the
given Edge to the given value. |
static void |
setTargetDecorationCssStyle(Edge edge,
java.lang.String targetDecorationCssStyle)
Sets the value of the
TARGET_DECORATION_CSS_STYLE__E attribute
of the given Edge to the given value. |
static void |
setTargetLabel(Edge edge,
com.google.inject.Provider<java.lang.String> targetLabelProvider)
Sets the value of the
TARGET_LABEL__E attribute of the given
Edge to the given provider. |
static void |
setTargetLabel(Edge edge,
java.lang.String targetLabel)
Sets the value of the
TARGET_LABEL__E attribute of the given
Edge to the given value. |
static void |
setTargetLabelCssStyle(Edge edge,
java.lang.String targetLabelCssStyle)
Sets the value of the
TARGET_LABEL_CSS_STYLE__E attribute of the
given Edge to the given value. |
static void |
setTargetLabelPosition(Edge edge,
Point labelPosition)
Sets the value of the
TARGET_LABEL_POSITION__E attribute of the
given Edge to the given value. |
static void |
setTooltip(Node node,
com.google.inject.Provider<java.lang.String> tooltipProvider)
Sets the value of the
TOOLTIP__N attribute of the given
Node to the given provider. |
static void |
setTooltip(Node node,
java.lang.String tooltip)
Sets the value of the
TOOLTIP__N attribute of the given
Node to the given value. |
public static final java.lang.String LAYOUT_IRRELEVANT__NE
public static final java.lang.String INVISIBLE__NE
public static final java.lang.String CSS_CLASS__NE
public static final java.lang.String CSS_ID__NE
public static final java.lang.String LABEL__NE
public static final java.lang.String CURVE__E
public static final java.lang.String START_POINT__E
public static final java.lang.String END_POINT__E
public static final java.lang.String CURVE_CSS_STYLE__E
public static final java.lang.String SOURCE_DECORATION_CSS_STYLE__E
public static final java.lang.String TARGET_DECORATION_CSS_STYLE__E
public static final java.lang.String CONTROL_POINTS__E
public static final java.lang.String SHAPE__N
public static final java.lang.String SHAPE_CSS_STYLE__N
public static final java.lang.String LABEL_CSS_STYLE__E
public static final java.lang.String SOURCE_LABEL_CSS_STYLE__E
public static final java.lang.String TARGET_LABEL_CSS_STYLE__E
public static final java.lang.String EXTERNAL_LABEL_CSS_STYLE__NE
public static final java.lang.String EXTERNAL_LABEL__NE
public static final java.lang.String EXTERNAL_LABEL_POSITION__NE
public static final java.lang.String LABEL_POSITION__E
public static final java.lang.String SOURCE_LABEL_POSITION__E
public static final java.lang.String TARGET_LABEL_POSITION__E
public static final java.lang.String ICON__N
getIcon(Node)
,
setIcon(Node, Image)
,
Constant Field Valuespublic static final java.lang.String SIZE__N
Node
.public static final java.lang.String POSITION__N
Node
.public static final java.lang.String TOOLTIP__N
public static final java.lang.String TARGET_DECORATION__E
public static final java.lang.String SOURCE_DECORATION__E
public static final java.lang.String TARGET_LABEL__E
public static final java.lang.String SOURCE_LABEL__E
public static final java.lang.String ROUTER__E
IConnectionRouter
used to route an
edge. This attribute does not have a default value.public static final java.lang.String INTERPOLATOR__E
IConnectionInterpolator
used to
infer a geometry for an edge. This attribute does not have a default
value.public static final java.lang.String LAYOUT_ALGORITHM__G
ILayoutAlgorithm
used to layout the
graph.public static java.util.List<Point> getControlPoints(Edge edge)
CONTROL_POINTS__E
attribute of the
given Edge
.edge
- The Edge
for which to determine the router points.CONTROL_POINTS__E
attribute of the
given Edge
, or an empty list, if the attribute is unset.public static java.lang.String getCssClass(Edge edge)
CSS_CLASS__NE
attribute of the given
Edge
.public static java.lang.String getCssClass(Node node)
CSS_CLASS__NE
attribute of the given
Node
.public static java.lang.String getCssId(Edge edge)
CSS_ID__NE
attribute of the given
Edge
.public static java.lang.String getCssId(Node node)
CSS_ID__NE
attribute of the given
Node
.public static javafx.scene.Node getCurve(Edge edge)
public static java.lang.String getCurveCssStyle(Edge edge)
CURVE_CSS_STYLE__E
attribute of the
given Edge
.public static Point getEndPoint(Edge edge)
END_POINT__E
attribute of the given
Edge
.public static java.lang.String getExternalLabel(Edge edge)
EXTERNAL_LABEL__NE
attribute of the
given Edge
.public static java.lang.String getExternalLabel(Node node)
EXTERNAL_LABEL__NE
attribute of the
given Node
.public static java.lang.String getExternalLabelCssStyle(Edge edge)
EXTERNAL_LABEL_CSS_STYLE__NE
attribute
of the given Edge
.public static java.lang.String getExternalLabelCssStyle(Node node)
LABEL_CSS_STYLE__E
attribute of the
given Node
.public static Point getExternalLabelPosition(Edge edge)
EXTERNAL_LABEL_POSITION__NE
attribute
of the given Edge
.edge
- The Edge
of which the position is determined.EXTERNAL_LABEL_POSITION__NE
attribute
of the given Edge
.public static Point getExternalLabelPosition(Node node)
EXTERNAL_LABEL_POSITION__NE
attribute
of the given Node
.node
- The Node
of which the position is determined.EXTERNAL_LABEL_POSITION__NE
attribute
of the given Node
.public static javafx.scene.image.Image getIcon(Node node)
public static IConnectionInterpolator getInterpolator(Edge edge)
INTERPOLATOR__E
attribute of the given
Edge
.public static java.lang.Boolean getInvisible(Edge edge)
INVISIBLE__NE
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.edge
- The Edge
of which the INVISIBLE__NE
attribute
value is determined.INVISIBLE__NE
attribute of the given
Edge
.public static java.lang.Boolean getInvisible(Node node)
INVISIBLE__NE
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.node
- The Node
of which the INVISIBLE__NE
attribute
value is determined.INVISIBLE__NE
attribute of the given
Node
.public static java.lang.String getLabel(Edge edge)
public static java.lang.String getLabel(Node node)
public static java.lang.String getLabelCssStyle(Edge edge)
LABEL_CSS_STYLE__E
attribute of the
given Edge
.public static java.lang.String getLabelCssStyle(Node node)
LABEL_CSS_STYLE__E
attribute of the
given Node
.public static Point getLabelPosition(Edge edge)
LABEL_POSITION__E
attribute of the
given Edge
.edge
- The Edge
of which the position is determined.LABEL_POSITION__E
attribute of the
given Edge
.public static ILayoutAlgorithm getLayoutAlgorithm(Graph graph)
LAYOUT_ALGORITHM__G
attribute of the
given Graph
.public static java.lang.Boolean getLayoutIrrelevant(Edge edge)
LAYOUT_IRRELEVANT__NE
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)
LAYOUT_IRRELEVANT__NE
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 Point getPosition(Node node)
POSITION__N
attribute of the given
Node
.node
- The Node
of which the position is determined.POSITION__N
attribute of the given
Node
.public static IConnectionRouter getRouter(Edge edge)
public static javafx.scene.Node getShape(Node node)
public static java.lang.String getShapeCssStyle(Node node)
SHAPE_CSS_STYLE__N
attribute of the
given Node
.public static javafx.scene.Node getSourceDecoration(Edge edge)
SOURCE_DECORATION__E
attribute of the
given Edge
.public static java.lang.String getSourceDecorationCssStyle(Edge edge)
SOURCE_DECORATION_CSS_STYLE__E
attribute of the given Edge
.public static java.lang.String getSourceLabel(Edge edge)
SOURCE_LABEL__E
attribute of the given
Edge
.edge
- The Edge
of which the source decoration is determined.SOURCE_LABEL__E
attribute. In case a
provider is set for the attribute, the value will be retrieved
from the provider using Provider.get()
.public static java.lang.String getSourceLabelCssStyle(Edge edge)
SOURCE_LABEL_CSS_STYLE__E
attribute of
the given Edge
.public static Point getSourceLabelPosition(Edge edge)
SOURCE_LABEL_POSITION__E
attribute of
the given Edge
.edge
- The Edge
of which the source label position is
determined.SOURCE_LABEL_POSITION__E
attribute of
the given Edge
.public static Point getStartPoint(Edge edge)
START_POINT__E
attribute of the given
Edge
.public static javafx.scene.Node getTargetDecoration(Edge edge)
TARGET_DECORATION__E
attribute of the
given Edge
.public static java.lang.String getTargetDecorationCssStyle(Edge edge)
TARGET_DECORATION_CSS_STYLE__E
attribute of the given Edge
.public static java.lang.String getTargetLabel(Edge edge)
TARGET_LABEL__E
attribute of the given
Edge
.edge
- The Edge
of which the target decoration is determined.TARGET_LABEL__E
attribute. In case a
provider is set for the attribute, the value will be retrieved
from the provider using Provider.get()
.public static java.lang.String getTargetLabelCssStyle(Edge edge)
TARGET_LABEL_CSS_STYLE__E
attribute of
the given Edge
.public static Point getTargetLabelPosition(Edge edge)
TARGET_LABEL_POSITION__E
attribute of
the given Edge
.edge
- The Edge
of which the target label position is
determined.TARGET_LABEL_POSITION__E
attribute of
the given Edge
.public static java.lang.String getTooltip(Node node)
TOOLTIP__N
attribute of the given
Node
.node
- The Node
of which the tooltip is determined.Node
. If a Provider
is
set for TOOLTIP__N
, the value will be retrieved from it
using Provider.get()
.public static void setControlPoints(Edge edge, java.util.List<Point> controlPoints)
CONTROL_POINTS__E
attribute of the given
Edge
to the given value.edge
- The Edge
of which the CONTROL_POINTS__E
attribute is changed.controlPoints
- The new List
of control Point
s for the given
Edge
.public static void setCssClass(Edge edge, java.lang.String cssClass)
CSS_CLASS__NE
attribute of the given
Edge
to the given value.public static void setCssClass(Node node, java.lang.String cssClass)
CSS_CLASS__NE
attribute of the given
Node
to the given value.public static void setCssId(Edge edge, com.google.inject.Provider<java.lang.String> cssIdProvider)
CSS_ID__NE
attribute of the given
Edge
to the given value.public static void setCssId(Edge edge, java.lang.String cssId)
CSS_ID__NE
attribute of the given
Edge
to the given value.public static void setCssId(Node node, com.google.inject.Provider<java.lang.String> cssIdProvider)
CSS_ID__NE
attribute of the given
Node
to the given value.public static void setCssId(Node node, java.lang.String cssId)
CSS_ID__NE
attribute of the given
Node
to the given value.public static void setCurve(Edge edge, javafx.scene.Node curve)
public static void setCurveCssStyle(Edge edge, java.lang.String curveCssStyle)
CURVE_CSS_STYLE__E
attribute of the given
Edge
to the given value.public static void setEndPoint(Edge edge, Point endPoint)
END_POINT__E
attribute of the given
Edge
to the given value.edge
- The Edge
, for which to set the value of the
END_POINT__E
attribute.endPoint
- The end Point
for the given Edge
.public static void setExternalLabel(Edge edge, com.google.inject.Provider<java.lang.String> labelProvider)
EXTERNAL_LABEL__NE
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
EXTERNAL_LABEL__NE
attribute.public static void setExternalLabel(Edge edge, java.lang.String label)
EXTERNAL_LABEL__NE
attribute of the given
Edge
to the given value.public static void setExternalLabel(Node node, com.google.inject.Provider<java.lang.String> labelProvider)
EXTERNAL_LABEL__NE
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
EXTERNAL_LABEL__NE
attribute.public static void setExternalLabel(Node node, java.lang.String label)
EXTERNAL_LABEL__NE
attribute of the given
Node
to the given value.public static void setExternalLabelCssStyle(Edge edge, java.lang.String textCssStyle)
EXTERNAL_LABEL_CSS_STYLE__NE
attribute of
the given Edge
to the given value.public static void setExternalLabelCssStyle(Node node, java.lang.String textCssStyle)
EXTERNAL_LABEL_CSS_STYLE__NE
attribute of
the given Node
to the given value.public static void setExternalLabelPosition(Edge edge, Point externalLabelPosition)
EXTERNAL_LABEL_POSITION__NE
attribute of
the given Edge
to the given value.edge
- The Edge
of which the
EXTERNAL_LABEL_POSITION__NE
attribute is changed.externalLabelPosition
- The new external label position.public static void setExternalLabelPosition(Node node, Point externalLabelPosition)
EXTERNAL_LABEL_POSITION__NE
attribute of
the given Node
to the given value.node
- The Node
of which the
EXTERNAL_LABEL_POSITION__NE
attribute is changed.externalLabelPosition
- The new external label position.public static void setIcon(Node node, javafx.scene.image.Image icon)
public static void setInterpolator(Edge edge, IConnectionInterpolator interpolator)
INTERPOLATOR__E
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 setInvisible(Edge edge, java.lang.Boolean invisible)
INVISIBLE__NE
attribute of the given
Edge
to the given value.edge
- The Edge
for which to set the INVISIBLE__NE
attribute.invisible
- The new value for the INVISIBLE__NE
attribute of the
given Edge
.public static void setInvisible(Node node, java.lang.Boolean invisible)
INVISIBLE__NE
attribute of the given
Node
to the given value.node
- The Node
for which to set the INVISIBLE__NE
attribute.invisible
- The new value for the INVISIBLE__NE
attribute of the
given Node
.public static void setLabel(Edge edge, com.google.inject.Provider<java.lang.String> labelProvider)
public static void setLabel(Edge edge, java.lang.String label)
public static void setLabel(Node node, com.google.inject.Provider<java.lang.String> labelProvider)
public static void setLabel(Node node, java.lang.String label)
public static void setLabelCssStyle(Edge edge, java.lang.String textCssStyle)
LABEL_CSS_STYLE__E
attribute of the given
Edge
to the given value.public static void setLabelCssStyle(Node node, java.lang.String textCssStyle)
LABEL_CSS_STYLE__E
attribute of the given
Node
to the given value.public static void setLabelPosition(Edge edge, Point labelPosition)
LABEL_POSITION__E
attribute of the given
Edge
to the given value.public static void setLayoutAlgorithm(Graph graph, ILayoutAlgorithm algorithm)
LAYOUT_ALGORITHM__G
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)
LAYOUT_IRRELEVANT__NE
attribute of the
given Edge
to the given value.public static void setLayoutIrrelevant(Node node, java.lang.Boolean layoutIrrelevant)
LAYOUT_IRRELEVANT__NE
attribute of the
given Node
to the given value.public static void setPosition(Node node, Point position)
POSITION__N
attribute of the given
Node
to the given value.node
- The Node
of which the POSITION__N
attribute
is changed.position
- The new node position.public static void setRouter(Edge edge, IConnectionRouter router)
edge
- The Edge
of which the router is changed.router
- The new IConnectionRouter
for the given Edge
.public static void setShape(Node node, javafx.scene.Node shape)
public static void setShapeCssStyle(Node node, java.lang.String rectCssStyle)
SHAPE_CSS_STYLE__N
attribute of the given
Node
to the given value.public static void setSourceDecoration(Edge edge, javafx.scene.Node sourceDecoration)
SOURCE_DECORATION__E
attribute of the
given Edge
to the given value.public static void setSourceDecorationCssStyle(Edge edge, java.lang.String sourceDecorationCssStyle)
SOURCE_DECORATION_CSS_STYLE__E
attribute
of the given Edge
to the given value.public static void setSourceLabel(Edge edge, com.google.inject.Provider<java.lang.String> sourceLabelProvider)
SOURCE_LABEL__E
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
SOURCE_LABEL__E
attribute.public static void setSourceLabel(Edge edge, java.lang.String sourceLabel)
SOURCE_LABEL__E
attribute of the given
Edge
to the given value.public static void setSourceLabelCssStyle(Edge edge, java.lang.String sourceLabelCssStyle)
SOURCE_LABEL_CSS_STYLE__E
attribute of the
given Edge
to the given value.public static void setSourceLabelPosition(Edge edge, Point labelPosition)
SOURCE_LABEL_POSITION__E
attribute of the
given Edge
to the given value.public static void setStartPoint(Edge edge, Point startPoint)
START_POINT__E
attribute of the given
Edge
to the given value.edge
- The Edge
, for which to set the value of the
START_POINT__E
attribute.startPoint
- The start Point for the given Edge
.public static void setTargetDecoration(Edge edge, javafx.scene.Node targetDecoration)
TARGET_DECORATION__E
attribute of the
given Edge
to the given value.public static void setTargetDecorationCssStyle(Edge edge, java.lang.String targetDecorationCssStyle)
TARGET_DECORATION_CSS_STYLE__E
attribute
of the given Edge
to the given value.public static void setTargetLabel(Edge edge, com.google.inject.Provider<java.lang.String> targetLabelProvider)
TARGET_LABEL__E
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
TARGET_LABEL__E
attribute.public static void setTargetLabel(Edge edge, java.lang.String targetLabel)
TARGET_LABEL__E
attribute of the given
Edge
to the given value.public static void setTargetLabelCssStyle(Edge edge, java.lang.String targetLabelCssStyle)
TARGET_LABEL_CSS_STYLE__E
attribute of the
given Edge
to the given value.public static void setTargetLabelPosition(Edge edge, Point labelPosition)
TARGET_LABEL_POSITION__E
attribute of the
given Edge
to the given value.public static void setTooltip(Node node, com.google.inject.Provider<java.lang.String> tooltipProvider)
TOOLTIP__N
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
TOOLTIP__N
value.public static void setTooltip(Node node, java.lang.String tooltip)
TOOLTIP__N
attribute of the given
Node
to the given value.Copyright (c) 2014 itemis AG and others. All rights reserved.