public class Edge
extends java.lang.Object
implements org.eclipse.gef.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 |
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.gef.common.attributes.IAttributeStoregetAttributes()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.gef.common.attributes.IAttributeStoregetAttributes()public javafx.collections.ObservableMap<java.lang.String,java.lang.Object> getAttributes()
getAttributes in interface org.eclipse.gef.common.attributes.IAttributeStorepublic void setSource(Node source)
public void setTarget(Node target)
public java.lang.String toString()
toString in class java.lang.ObjectCopyright (c) 2014 itemis AG and others. All rights reserved.