public class ZestProperties extends 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 String |
CONTROL_POINTS__E
This attribute determines the way points that are passed along to the
ROUTER__E 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 String |
CSS_CLASS__NE
This attribute determines the CSS class for an element (node/edge).
|
static String |
CSS_ID__NE
This attribute determines the CSS id for an element (node/edge).
|
static String |
CURVE__E
This attribute determines the curve being used for visualization of the
edge.
|
static String |
CURVE_CSS_STYLE__E
This attribute determines the CSS style for an edge.
|
static String |
END_POINT__E
This attribute determines the end point being used for the visualization
of the edge.
|
static String |
EXTERNAL_LABEL__NE
This attribute determines the (optional) external label of a node.
|
static String |
EXTERNAL_LABEL_CSS_STYLE__NE
This attribute determines the CSS style for an external node or edge
label.
|
static String |
EXTERNAL_LABEL_POSITION__NE
This attribute determines the position of a node's external label (in
case it exists).
|
static String |
ICON__N
This attribute determines the icon for a node.
|
static String |
INTERPOLATOR__E
This attribute determines the
IConnectionInterpolator used to
infer a geometry for an edge. |
static String |
INVISIBLE__NE
This attribute determines if the corresponding element is invisible.
|
static String |
LABEL__NE
This attribute determines the label for an element (node/edge).
|
static String |
LABEL_CSS_STYLE__NE
This attribute determines the CSS style for a node or edge label.
|
static String |
LABEL_POSITION__E
This attribute determines the position of an edge's label (in case it
exists).
|
static String |
LAYOUT_ALGORITHM__G
This attribute determines the
ILayoutAlgorithm used to layout the
graph. |
static String |
LAYOUT_IRRELEVANT__NE
This attribute determines if an element (node/edge) should be ignored by
automatic layout.
|
static String |
POSITION__N
This attribute determines the position for a
Node. |
static String |
ROUTER__E
This attribute determines the
IConnectionRouter used to route an
edge. |
static String |
SHAPE__N
This attribute determines the shape being used for background and outline
visualization of the node.
|
static String |
SHAPE_CSS_STYLE__N
This attribute determines the CSS style for a node rectangle.
|
static String |
SIZE__N
This attribute determines the size for a
Node. |
static String |
SOURCE_DECORATION__E
This attribute determines the source decoration for an edge.
|
static String |
SOURCE_DECORATION_CSS_STYLE__E
This attribute determines the CSS style for the source decoration of an
edge.
|
static String |
SOURCE_LABEL__E
This attribute determines the source label for an edge.
|
static String |
SOURCE_LABEL_CSS_STYLE__E
This attribute determines the CSS style for the source edge label.
|
static String |
SOURCE_LABEL_POSITION__E
This attribute determines the position of an edge's source label (in case
it exists).
|
static String |
START_POINT__E
This attribute determines the start point being used for the
visualization of the edge.
|
static String |
TARGET_DECORATION__E
This attribute determines the target decoration for an edge.
|
static String |
TARGET_DECORATION_CSS_STYLE__E
This attribute determines the CSS style for the target decoration of an
edge.
|
static String |
TARGET_LABEL__E
This attribute determines the target label for an edge.
|
static String |
TARGET_LABEL_CSS_STYLE__E
This attribute determines the CSS style for the target edge label.
|
static String |
TARGET_LABEL_POSITION__E
This attribute determines the position of an edge's target label (in case
it exists).
|
static String |
TOOLTIP__N
This attribute determines the tooltip for a node.
|
| Constructor and Description |
|---|
ZestProperties() |
| Modifier and Type | Method and Description |
|---|---|
static List<Point> |
getControlPoints(Edge edge)
Returns the value of the
CONTROL_POINTS__E attribute of the
given Edge. |
static String |
getCssClass(Edge edge)
Returns the value of the
CSS_CLASS__NE attribute of the given
Edge. |
static String |
getCssClass(Node node)
Returns the value of the
CSS_CLASS__NE attribute of the given
Node. |
static String |
getCssId(Edge edge)
Returns the value of the
CSS_ID__NE attribute of the given
Edge. |
static String |
getCssId(Node node)
Returns the value of the
CSS_ID__NE attribute of the given
Node. |
static Node |
getCurve(Edge edge)
|
static 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 String |
getExternalLabel(Edge edge)
Returns the value of the
EXTERNAL_LABEL__NE attribute of the
given Edge. |
static String |
getExternalLabel(Node node)
Returns the value of the
EXTERNAL_LABEL__NE attribute of the
given Node. |
static String |
getExternalLabelCssStyle(Edge edge)
Returns the value of the
EXTERNAL_LABEL_CSS_STYLE__NE attribute
of the given Edge. |
static String |
getExternalLabelCssStyle(Node node)
Returns the value of the
EXTERNAL_LABEL_CSS_STYLE__NE 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 Image |
getIcon(Node node)
|
static IConnectionInterpolator |
getInterpolator(Edge edge)
Returns the value of the
INTERPOLATOR__E attribute of the given
Edge. |
static Boolean |
getInvisible(Edge edge)
Returns the value of the
INVISIBLE__NE attribute of the given
Edge. |
static Boolean |
getInvisible(Node node)
Returns the value of the
INVISIBLE__NE attribute of the given
Node. |
static String |
getLabel(Edge edge)
|
static String |
getLabel(Node node)
|
static String |
getLabelCssStyle(Edge edge)
Returns the value of the
LABEL_CSS_STYLE__NE attribute of the
given Edge. |
static String |
getLabelCssStyle(Node node)
Returns the value of the
LABEL_CSS_STYLE__NE 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 Boolean |
getLayoutIrrelevant(Edge edge)
Returns the value of the
LAYOUT_IRRELEVANT__NE attribute of the
given Edge. |
static 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 Node |
getShape(Node node)
|
static String |
getShapeCssStyle(Node node)
Returns the value of the
SHAPE_CSS_STYLE__N attribute of the
given Node. |
static Dimension |
getSize(Node node)
|
static Node |
getSourceDecoration(Edge edge)
Returns the value of the
SOURCE_DECORATION__E attribute of the
given Edge. |
static String |
getSourceDecorationCssStyle(Edge edge)
Returns the value of the
SOURCE_DECORATION_CSS_STYLE__E
attribute of the given Edge. |
static String |
getSourceLabel(Edge edge)
Returns the value of the
SOURCE_LABEL__E attribute of the given
Edge. |
static 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 Node |
getTargetDecoration(Edge edge)
Returns the value of the
TARGET_DECORATION__E attribute of the
given Edge. |
static String |
getTargetDecorationCssStyle(Edge edge)
Returns the value of the
TARGET_DECORATION_CSS_STYLE__E
attribute of the given Edge. |
static String |
getTargetLabel(Edge edge)
Returns the value of the
TARGET_LABEL__E attribute of the given
Edge. |
static 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 String |
getTooltip(Node node)
Returns the value of the
TOOLTIP__N attribute of the given
Node. |
static void |
setControlPoints(Edge edge,
List<Point> controlPoints)
Sets the value of the
CONTROL_POINTS__E attribute of the given
Edge to the given value. |
static void |
setControlPoints(Edge edge,
Provider<List<Point>> controlPointsProvider)
Sets the value of the
CONTROL_POINTS__E attribute of the given
Edge to the given value. |
static void |
setCssClass(Edge edge,
Provider<String> cssClassProvider)
Sets the value of the
CSS_CLASS__NE attribute of the given
Edge to the given value. |
static void |
setCssClass(Edge edge,
String cssClass)
Sets the value of the
CSS_CLASS__NE attribute of the given
Edge to the given value. |
static void |
setCssClass(Node node,
Provider<String> cssClassProvider)
Sets the value of the
CSS_CLASS__NE attribute of the given
Node to the given value. |
static void |
setCssClass(Node node,
String cssClass)
Sets the value of the
CSS_CLASS__NE attribute of the given
Node to the given value. |
static void |
setCssId(Edge edge,
Provider<String> cssIdProvider)
Sets the value of the
CSS_ID__NE attribute of the given
Edge to the given value. |
static void |
setCssId(Edge edge,
String cssId)
Sets the value of the
CSS_ID__NE attribute of the given
Edge to the given value. |
static void |
setCssId(Node node,
Provider<String> cssIdProvider)
Sets the value of the
CSS_ID__NE attribute of the given
Node to the given value. |
static void |
setCssId(Node node,
String cssId)
Sets the value of the
CSS_ID__NE attribute of the given
Node to the given value. |
static void |
setCurve(Edge edge,
Node curve)
|
static void |
setCurve(Edge edge,
Provider<Node> curveProvider)
|
static void |
setCurveCssStyle(Edge edge,
Provider<String> curveCssStyleProvider)
Sets the value of the
CURVE_CSS_STYLE__E attribute of the given
Edge to the given value. |
static void |
setCurveCssStyle(Edge edge,
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 |
setEndPoint(Edge edge,
Provider<Point> endPointProvider)
Sets the value of the
END_POINT__E attribute of the given
Edge to the given value. |
static void |
setExternalLabel(Edge edge,
Provider<String> labelProvider)
Sets the value of the
EXTERNAL_LABEL__NE attribute of the given
Edge to the given provider. |
static void |
setExternalLabel(Edge edge,
String label)
Sets the value of the
EXTERNAL_LABEL__NE attribute of the given
Edge to the given value. |
static void |
setExternalLabel(Node node,
Provider<String> labelProvider)
Sets the value of the
EXTERNAL_LABEL__NE attribute of the given
Node to the given provider. |
static void |
setExternalLabel(Node node,
String label)
Sets the value of the
EXTERNAL_LABEL__NE attribute of the given
Node to the given value. |
static void |
setExternalLabelCssStyle(Edge edge,
Provider<String> textCssStyleProvider)
Sets the value of the
EXTERNAL_LABEL_CSS_STYLE__NE attribute of
the given Edge to the given value. |
static void |
setExternalLabelCssStyle(Edge edge,
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,
Provider<String> textCssStyleProvider)
Sets the value of the
EXTERNAL_LABEL_CSS_STYLE__NE attribute of
the given Node to the given value. |
static void |
setExternalLabelCssStyle(Node node,
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(Edge edge,
Provider<Point> externalLabelPositionProvider)
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 |
setExternalLabelPosition(Node node,
Provider<Point> externalLabelPositionProvider)
Sets the value of the
EXTERNAL_LABEL_POSITION__NE attribute of
the given Node to the given value. |
static void |
setIcon(Node node,
Image icon)
|
static void |
setIcon(Node node,
Provider<Image> iconProvider)
|
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 |
setInterpolator(Edge edge,
Provider<IConnectionInterpolator> interpolatorProvider)
Sets the value of the
INTERPOLATOR__E attribute of the given
Edge to the given value. |
static void |
setInvisible(Edge edge,
Boolean invisible)
Sets the value of the
INVISIBLE__NE attribute of the given
Edge to the given value. |
static void |
setInvisible(Edge edge,
Provider<Boolean> invisibleProvider)
Sets the value of the
INVISIBLE__NE attribute of the given
Edge to the given value. |
static void |
setInvisible(Node node,
Boolean invisible)
Sets the value of the
INVISIBLE__NE attribute of the given
Node to the given value. |
static void |
setInvisible(Node node,
Provider<Boolean> invisibleProvider)
Sets the value of the
INVISIBLE__NE attribute of the given
Node to the given value. |
static void |
setLabel(Edge edge,
Provider<String> labelProvider)
|
static void |
setLabel(Edge edge,
String label)
|
static void |
setLabel(Node node,
Provider<String> labelProvider)
|
static void |
setLabel(Node node,
String label)
|
static void |
setLabelCssStyle(Edge edge,
Provider<String> textCssStyleProvider)
Sets the value of the
LABEL_CSS_STYLE__NE attribute of the given
Edge to the given value. |
static void |
setLabelCssStyle(Edge edge,
String textCssStyle)
Sets the value of the
LABEL_CSS_STYLE__NE attribute of the given
Edge to the given value. |
static void |
setLabelCssStyle(Node node,
Provider<String> textCssStyleProvider)
Sets the value of the
LABEL_CSS_STYLE__NE attribute of the given
Node to the given value. |
static void |
setLabelCssStyle(Node node,
String textCssStyle)
Sets the value of the
LABEL_CSS_STYLE__NE 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 |
setLabelPosition(Edge edge,
Provider<Point> labelPositionProvider)
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 |
setLayoutAlgorithm(Graph graph,
Provider<ILayoutAlgorithm> algorithmProvider)
Sets the value of the
LAYOUT_ALGORITHM__G attribute of the given
Graph to the given value. |
static void |
setLayoutIrrelevant(Edge edge,
Boolean layoutIrrelevant)
Sets the value of the
LAYOUT_IRRELEVANT__NE attribute of the
given Edge to the given value. |
static void |
setLayoutIrrelevant(Edge edge,
Provider<Boolean> layoutIrrelevantProvider)
Sets the value of the
LAYOUT_IRRELEVANT__NE attribute of the
given Edge to the given value. |
static void |
setLayoutIrrelevant(Node node,
Boolean layoutIrrelevant)
Sets the value of the
LAYOUT_IRRELEVANT__NE attribute of the
given Node to the given value. |
static void |
setLayoutIrrelevant(Node node,
Provider<Boolean> layoutIrrelevantProvider)
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 |
setPosition(Node node,
Provider<Point> positionProvider)
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 |
setRouter(Edge edge,
Provider<IConnectionRouter> routerProvider)
|
static void |
setShape(Node node,
Node shape)
|
static void |
setShape(Node node,
Provider<Node> shapeProvider)
|
static void |
setShapeCssStyle(Node node,
Provider<String> rectCssStyleProvider)
Sets the value of the
SHAPE_CSS_STYLE__N attribute of the given
Node to the given value. |
static void |
setShapeCssStyle(Node node,
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 |
setSize(Node node,
Provider<Dimension> sizeProvider)
|
static void |
setSourceDecoration(Edge edge,
Node sourceDecoration)
Sets the value of the
SOURCE_DECORATION__E attribute of the
given Edge to the given value. |
static void |
setSourceDecoration(Edge edge,
Provider<Node> sourceDecorationProvider)
Sets the value of the
SOURCE_DECORATION__E attribute of the
given Edge to the given value. |
static void |
setSourceDecorationCssStyle(Edge edge,
Provider<String> sourceDecorationCssStyleProvider)
Sets the value of the
SOURCE_DECORATION_CSS_STYLE__E attribute
of the given Edge to the given value. |
static void |
setSourceDecorationCssStyle(Edge edge,
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,
Provider<String> sourceLabelProvider)
Sets the value of the
SOURCE_LABEL__E attribute of the given
Edge to the given provider. |
static void |
setSourceLabel(Edge edge,
String sourceLabel)
Sets the value of the
SOURCE_LABEL__E attribute of the given
Edge to the given value. |
static void |
setSourceLabelCssStyle(Edge edge,
Provider<String> sourceLabelCssStyleProvider)
Sets the value of the
SOURCE_LABEL_CSS_STYLE__E attribute of the
given Edge to the given value. |
static void |
setSourceLabelCssStyle(Edge edge,
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 |
setSourceLabelPosition(Edge edge,
Provider<Point> labelPositionProvider)
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 |
setStartPoint(Edge edge,
Provider<Point> startPointProvider)
Sets the value of the
START_POINT__E attribute of the given
Edge to the given value. |
static void |
setTargetDecoration(Edge edge,
Node targetDecoration)
Sets the value of the
TARGET_DECORATION__E attribute of the
given Edge to the given value. |
static void |
setTargetDecoration(Edge edge,
Provider<Node> targetDecorationProvider)
Sets the value of the
TARGET_DECORATION__E attribute of the
given Edge to the given value. |
static void |
setTargetDecorationCssStyle(Edge edge,
Provider<String> targetDecorationCssStyleProvider)
Sets the value of the
TARGET_DECORATION_CSS_STYLE__E attribute
of the given Edge to the given value. |
static void |
setTargetDecorationCssStyle(Edge edge,
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,
Provider<String> targetLabelProvider)
Sets the value of the
TARGET_LABEL__E attribute of the given
Edge to the given provider. |
static void |
setTargetLabel(Edge edge,
String targetLabel)
Sets the value of the
TARGET_LABEL__E attribute of the given
Edge to the given value. |
static void |
setTargetLabelCssStyle(Edge edge,
Provider<String> targetLabelCssStyleProvider)
Sets the value of the
TARGET_LABEL_CSS_STYLE__E attribute of the
given Edge to the given value. |
static void |
setTargetLabelCssStyle(Edge edge,
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 |
setTargetLabelPosition(Edge edge,
Provider<Point> labelPositionProvider)
Sets the value of the
TARGET_LABEL_POSITION__E attribute of the
given Edge to the given value. |
static void |
setTooltip(Node node,
Provider<String> tooltipProvider)
Sets the value of the
TOOLTIP__N attribute of the given
Node to the given provider. |
static void |
setTooltip(Node node,
String tooltip)
Sets the value of the
TOOLTIP__N attribute of the given
Node to the given value. |
public static final String LAYOUT_IRRELEVANT__NE
public static final String INVISIBLE__NE
public static final String CSS_CLASS__NE
public static final String CSS_ID__NE
public static final String LABEL__NE
public static final String CURVE__E
public static final String START_POINT__E
public static final String END_POINT__E
public static final String CURVE_CSS_STYLE__E
public static final String SOURCE_DECORATION_CSS_STYLE__E
public static final String TARGET_DECORATION_CSS_STYLE__E
public static final String CONTROL_POINTS__E
ROUTER__E 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 String SHAPE__N
public static final String SHAPE_CSS_STYLE__N
public static final String LABEL_CSS_STYLE__NE
public static final String SOURCE_LABEL_CSS_STYLE__E
public static final String TARGET_LABEL_CSS_STYLE__E
public static final String EXTERNAL_LABEL_CSS_STYLE__NE
public static final String EXTERNAL_LABEL__NE
public static final String EXTERNAL_LABEL_POSITION__NE
public static final String LABEL_POSITION__E
public static final String SOURCE_LABEL_POSITION__E
public static final String TARGET_LABEL_POSITION__E
public static final String ICON__N
getIcon(Node),
setIcon(Node, Image),
Constant Field Valuespublic static final String POSITION__N
Node.public static final String TOOLTIP__N
public static final String TARGET_DECORATION__E
public static final String SOURCE_DECORATION__E
public static final String TARGET_LABEL__E
public static final String SOURCE_LABEL__E
public static final String ROUTER__E
IConnectionRouter used to route an
edge. This attribute does not have a default value.public static final String INTERPOLATOR__E
IConnectionInterpolator used to
infer a geometry for an edge. This attribute does not have a default
value.public static final String LAYOUT_ALGORITHM__G
ILayoutAlgorithm used to layout the
graph.public static 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 String getCssClass(Edge edge)
CSS_CLASS__NE attribute of the given
Edge.public static String getCssClass(Node node)
CSS_CLASS__NE attribute of the given
Node.public static String getCssId(Edge edge)
CSS_ID__NE attribute of the given
Edge.public static String getCssId(Node node)
CSS_ID__NE attribute of the given
Node.public static 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 String getExternalLabel(Edge edge)
EXTERNAL_LABEL__NE attribute of the
given Edge.public static String getExternalLabel(Node node)
EXTERNAL_LABEL__NE attribute of the
given Node.public static String getExternalLabelCssStyle(Edge edge)
EXTERNAL_LABEL_CSS_STYLE__NE attribute
of the given Edge.public static String getExternalLabelCssStyle(Node node)
EXTERNAL_LABEL_CSS_STYLE__NE 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 IConnectionInterpolator getInterpolator(Edge edge)
INTERPOLATOR__E attribute of the given
Edge.public static 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 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 String getLabel(Edge edge)
edge - The Edge whose attribute value is to be retrieved.LABEL__NE attribute Edge. If a
Provider was set for the attribute, the value is
retrieved from the provider using Provider.get().public static String getLabel(Node node)
node - The Node whose attribute value is to be retrieved.LABEL__NE attribute Node. If a
Provider was set for the attribute, the value is
retrieved from the provider using Provider.get().public static String getLabelCssStyle(Edge edge)
LABEL_CSS_STYLE__NE attribute of the
given Edge.public static String getLabelCssStyle(Node node)
LABEL_CSS_STYLE__NE 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 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 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 String getShapeCssStyle(Node node)
SHAPE_CSS_STYLE__N attribute of the
given Node.public static Node getSourceDecoration(Edge edge)
SOURCE_DECORATION__E attribute of the
given Edge.public static String getSourceDecorationCssStyle(Edge edge)
SOURCE_DECORATION_CSS_STYLE__E
attribute of the given Edge.public static 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 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 Node getTargetDecoration(Edge edge)
TARGET_DECORATION__E attribute of the
given Edge.public static String getTargetDecorationCssStyle(Edge edge)
TARGET_DECORATION_CSS_STYLE__E
attribute of the given Edge.public static 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 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 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, 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 Points for the given
Edge.public static void setControlPoints(Edge edge, Provider<List<Point>> controlPointsProvider)
CONTROL_POINTS__E attribute of the given
Edge to the given value.edge - The Edge of which the CONTROL_POINTS__E
attribute is changed.controlPointsProvider - The new List of control Points for the given
Edge.public static void setCssClass(Edge edge, Provider<String> cssClassProvider)
CSS_CLASS__NE attribute of the given
Edge to the given value.public static void setCssClass(Edge edge, String cssClass)
CSS_CLASS__NE attribute of the given
Edge to the given value.public static void setCssClass(Node node, Provider<String> cssClassProvider)
CSS_CLASS__NE attribute of the given
Node to the given value.public static void setCssClass(Node node, String cssClass)
CSS_CLASS__NE attribute of the given
Node to the given value.public static void setCssId(Edge edge, Provider<String> cssIdProvider)
CSS_ID__NE attribute of the given
Edge to the given value.public static void setCssId(Edge edge, String cssId)
CSS_ID__NE attribute of the given
Edge to the given value.public static void setCssId(Node node, Provider<String> cssIdProvider)
CSS_ID__NE attribute of the given
Node to the given value.public static void setCssId(Node node, String cssId)
CSS_ID__NE attribute of the given
Node to the given value.public static void setCurveCssStyle(Edge edge, Provider<String> curveCssStyleProvider)
CURVE_CSS_STYLE__E attribute of the given
Edge to the given value.public static void setCurveCssStyle(Edge edge, 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 setEndPoint(Edge edge, Provider<Point> endPointProvider)
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.endPointProvider - The end Point for the given Edge.public static void setExternalLabel(Edge edge, Provider<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, String label)
EXTERNAL_LABEL__NE attribute of the given
Edge to the given value.public static void setExternalLabel(Node node, Provider<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, String label)
EXTERNAL_LABEL__NE attribute of the given
Node to the given value.public static void setExternalLabelCssStyle(Edge edge, Provider<String> textCssStyleProvider)
EXTERNAL_LABEL_CSS_STYLE__NE attribute of
the given Edge to the given value.public static void setExternalLabelCssStyle(Edge edge, String textCssStyle)
EXTERNAL_LABEL_CSS_STYLE__NE attribute of
the given Edge to the given value.public static void setExternalLabelCssStyle(Node node, Provider<String> textCssStyleProvider)
EXTERNAL_LABEL_CSS_STYLE__NE attribute of
the given Node to the given value.public static void setExternalLabelCssStyle(Node node, 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(Edge edge, Provider<Point> externalLabelPositionProvider)
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.externalLabelPositionProvider - 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 setExternalLabelPosition(Node node, Provider<Point> externalLabelPositionProvider)
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.externalLabelPositionProvider - The new external label position.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 setInterpolator(Edge edge, Provider<IConnectionInterpolator> interpolatorProvider)
INTERPOLATOR__E attribute of the given
Edge to the given value.edge - The Edge of which the interpolator is changed.interpolatorProvider - The new IConnectionInterpolator for the given
Edge .public static void setInvisible(Edge edge, 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(Edge edge, Provider<Boolean> invisibleProvider)
INVISIBLE__NE attribute of the given
Edge to the given value.edge - The Edge for which to set the INVISIBLE__NE
attribute.invisibleProvider - The new value for the INVISIBLE__NE attribute of the
given Edge.public static void setInvisible(Node node, 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 setInvisible(Node node, Provider<Boolean> invisibleProvider)
INVISIBLE__NE attribute of the given
Node to the given value.node - The Node for which to set the INVISIBLE__NE
attribute.invisibleProvider - The new value for the INVISIBLE__NE attribute of the
given Node.public static void setLabelCssStyle(Edge edge, Provider<String> textCssStyleProvider)
LABEL_CSS_STYLE__NE attribute of the given
Edge to the given value.public static void setLabelCssStyle(Edge edge, String textCssStyle)
LABEL_CSS_STYLE__NE attribute of the given
Edge to the given value.public static void setLabelCssStyle(Node node, Provider<String> textCssStyleProvider)
LABEL_CSS_STYLE__NE attribute of the given
Node to the given value.public static void setLabelCssStyle(Node node, String textCssStyle)
LABEL_CSS_STYLE__NE 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 setLabelPosition(Edge edge, Provider<Point> labelPositionProvider)
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 setLayoutAlgorithm(Graph graph, Provider<ILayoutAlgorithm> algorithmProvider)
LAYOUT_ALGORITHM__G attribute of the given
Graph to the given value.graph - The Graph of which the layout algorithm is changed.algorithmProvider - The new ILayoutAlgorithm for the given Graph.public static void setLayoutIrrelevant(Edge edge, Boolean layoutIrrelevant)
LAYOUT_IRRELEVANT__NE attribute of the
given Edge to the given value.public static void setLayoutIrrelevant(Edge edge, Provider<Boolean> layoutIrrelevantProvider)
LAYOUT_IRRELEVANT__NE attribute of the
given Edge to the given value.public static void setLayoutIrrelevant(Node node, Boolean layoutIrrelevant)
LAYOUT_IRRELEVANT__NE attribute of the
given Node to the given value.public static void setLayoutIrrelevant(Node node, Provider<Boolean> layoutIrrelevantProvider)
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 setPosition(Node node, Provider<Point> positionProvider)
POSITION__N attribute of the given
Node to the given value.node - The Node of which the POSITION__N attribute
is changed.positionProvider - 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 setRouter(Edge edge, Provider<IConnectionRouter> routerProvider)
edge - The Edge of which the router is changed.routerProvider - The new IConnectionRouter for the given Edge .public static void setShapeCssStyle(Node node, Provider<String> rectCssStyleProvider)
SHAPE_CSS_STYLE__N attribute of the given
Node to the given value.public static void setShapeCssStyle(Node node, String rectCssStyle)
SHAPE_CSS_STYLE__N attribute of the given
Node to the given value.public static void setSourceDecoration(Edge edge, Node sourceDecoration)
SOURCE_DECORATION__E attribute of the
given Edge to the given value.public static void setSourceDecoration(Edge edge, Provider<Node> sourceDecorationProvider)
SOURCE_DECORATION__E attribute of the
given Edge to the given value.public static void setSourceDecorationCssStyle(Edge edge, Provider<String> sourceDecorationCssStyleProvider)
SOURCE_DECORATION_CSS_STYLE__E attribute
of the given Edge to the given value.public static void setSourceDecorationCssStyle(Edge edge, String sourceDecorationCssStyle)
SOURCE_DECORATION_CSS_STYLE__E attribute
of the given Edge to the given value.public static void setSourceLabel(Edge edge, Provider<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, String sourceLabel)
SOURCE_LABEL__E attribute of the given
Edge to the given value.public static void setSourceLabelCssStyle(Edge edge, Provider<String> sourceLabelCssStyleProvider)
SOURCE_LABEL_CSS_STYLE__E attribute of the
given Edge to the given value.public static void setSourceLabelCssStyle(Edge edge, 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 setSourceLabelPosition(Edge edge, Provider<Point> labelPositionProvider)
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 setStartPoint(Edge edge, Provider<Point> startPointProvider)
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.startPointProvider - The start Point for the given Edge.public static void setTargetDecoration(Edge edge, Node targetDecoration)
TARGET_DECORATION__E attribute of the
given Edge to the given value.public static void setTargetDecoration(Edge edge, Provider<Node> targetDecorationProvider)
TARGET_DECORATION__E attribute of the
given Edge to the given value.public static void setTargetDecorationCssStyle(Edge edge, Provider<String> targetDecorationCssStyleProvider)
TARGET_DECORATION_CSS_STYLE__E attribute
of the given Edge to the given value.public static void setTargetDecorationCssStyle(Edge edge, String targetDecorationCssStyle)
TARGET_DECORATION_CSS_STYLE__E attribute
of the given Edge to the given value.public static void setTargetLabel(Edge edge, Provider<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, String targetLabel)
TARGET_LABEL__E attribute of the given
Edge to the given value.public static void setTargetLabelCssStyle(Edge edge, Provider<String> targetLabelCssStyleProvider)
TARGET_LABEL_CSS_STYLE__E attribute of the
given Edge to the given value.public static void setTargetLabelCssStyle(Edge edge, 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 setTargetLabelPosition(Edge edge, Provider<Point> labelPositionProvider)
TARGET_LABEL_POSITION__E attribute of the
given Edge to the given value.public static void setTooltip(Node node, Provider<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.Copyright (c) 2014 itemis AG and others. All rights reserved.