public class Edge
extends java.lang.Object
implements org.eclipse.gef4.common.attributes.IAttributeStore
Type | Property and Description |
---|---|
javafx.beans.property.ReadOnlyMapProperty<java.lang.String,java.lang.Object> |
attributes |
Modifier and Type | Class and Description |
---|---|
static class |
Edge.Builder
The
Edge.Builder can be used to construct an Edge little by
little. |
Constructor and Description |
---|
Edge(java.util.Map<java.lang.String,java.lang.Object> attributes,
Node source,
Node target)
|
Edge(Node source,
Node target)
|
Modifier and Type | Method and Description |
---|---|
javafx.beans.property.ReadOnlyMapProperty<java.lang.String,java.lang.Object> |
attributesProperty() |
javafx.collections.ObservableMap<java.lang.String,java.lang.Object> |
getAttributes()
Gets the value of the property attributes.
|
Graph |
getGraph()
|
Node |
getSource()
|
Node |
getTarget()
|
void |
setGraph(Graph graph)
|
void |
setSource(Node source)
|
void |
setTarget(Node target)
|
java.lang.String |
toString() |
public javafx.beans.property.ReadOnlyMapProperty<java.lang.String,java.lang.Object> attributesProperty
attributesProperty
in interface org.eclipse.gef4.common.attributes.IAttributeStore
getAttributes()
public Edge(java.util.Map<java.lang.String,java.lang.Object> attributes, Node source, Node target)
Edge
which connects the given source
Node
with the given target Node
. The given
attributesProperty are copied into the
attributesProperty map
of this Edge
.public javafx.beans.property.ReadOnlyMapProperty<java.lang.String,java.lang.Object> attributesProperty()
attributesProperty
in interface org.eclipse.gef4.common.attributes.IAttributeStore
getAttributes()
public javafx.collections.ObservableMap<java.lang.String,java.lang.Object> getAttributes()
getAttributes
in interface org.eclipse.gef4.common.attributes.IAttributeStore
public void setSource(Node source)
public void setTarget(Node target)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright (c) 2014 itemis AG and others. All rights reserved.