public class Edge extends Object implements org.eclipse.gef.common.attributes.IAttributeStore
| Type | Property and Description |
|---|---|
javafx.beans.property.ReadOnlyMapProperty<String,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(Map<String,Object> attributes,
Node source,
Node target)
|
Edge(Node source,
Node target)
|
| Modifier and Type | Method and Description |
|---|---|
javafx.beans.property.ReadOnlyMapProperty<String,Object> |
attributesProperty() |
javafx.collections.ObservableMap<String,Object> |
getAttributes()
Gets the value of the property attributes.
|
Graph |
getGraph()
|
Node |
getSource()
|
Node |
getTarget()
|
void |
setSource(Node source)
|
void |
setTarget(Node target)
|
String |
toString() |
public javafx.beans.property.ReadOnlyMapProperty<String,Object> attributesProperty
attributesProperty in interface org.eclipse.gef.common.attributes.IAttributeStoregetAttributes()public Edge(Map<String,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<String,Object> attributesProperty()
attributesProperty in interface org.eclipse.gef.common.attributes.IAttributeStoregetAttributes()public javafx.collections.ObservableMap<String,Object> getAttributes()
getAttributes in interface org.eclipse.gef.common.attributes.IAttributeStorepublic void setSource(Node source)
public void setTarget(Node target)
Copyright (c) 2014 itemis AG and others. All rights reserved.