public class NavigationGraphBuilder.ExistingNavPointModifier extends Object
createEdge(),
createEdgeTo(String), modifyEdgeTo(String) methods.| Modifier | Constructor and Description |
|---|---|
protected |
NavigationGraphBuilder.ExistingNavPointModifier(NavPoint navPoint) |
| Modifier and Type | Method and Description |
|---|---|
NavigationGraphBuilder.ExistingNavPointEdgeBuilder |
createEdge()
Returns a builder that will allow you to create new edge.
|
NavigationGraphBuilder.ExistingNavPointEdgeBuilder |
createEdgeTo(String navPointId)
Returns a builder that will allow you to create new edge that is leading to 'navPointId'.
|
void |
createSimpleEdgesBetween(String navPointId)
Creates two simple edges between this navpoint and the navpoint with 'navPointId'.
|
void |
createSimpleEdgeTo(String navPointId)
Creates simple edge that leads from the navpoint you're currently creating to 'navPointId'.
|
NavigationGraphBuilder.ExistingNavPointEdgeBuilder |
modifyEdgeTo(String navPointId)
Returns a builder that will allow you to modify properties of the edge that is leading to 'navPointId'.
|
void |
removeEdgesBetween(String navPointId)
Removes edge that is leading from this navpoint to 'navPointId'.
|
void |
removeEdgeTo(String navPointId)
Removes edge that is leading from this navpoint to 'navPointId'.
|
protected NavigationGraphBuilder.ExistingNavPointModifier(NavPoint navPoint)
public void removeEdgeTo(String navPointId)
Removes only one edge, if the edge with opposite direction exists, it leaves it there.
navPointId - will be auto-prefixed (if enabled, which is default)public void removeEdgesBetween(String navPointId)
Removes both edges, if the edge with opposite direction exists, it is deleted as well.
navPointId - will be auto-prefixed (if enabled, which is default)public NavigationGraphBuilder.ExistingNavPointEdgeBuilder modifyEdgeTo(String navPointId)
If no previous edge (leading to the same navpoint) exists, new one is created automatically.
Call NavigationGraphBuilder.ExistingNavPointEdgeBuilder.modifyEdge() when done specifying edge properties.
navPointId - will be auto-prefixed (if enabled, which is default)public NavigationGraphBuilder.ExistingNavPointEdgeBuilder createEdgeTo(String navPointId)
NavigationGraphBuilder.ExistingNavPointEdgeBuilder
will have only NavigationGraphBuilder.ExistingNavPointEdgeBuilder.setTo(String) filled. It also has different behavior than in the case
of modifyEdgeTo(String) as this new edge builder won't have any properties (except NavigationGraphBuilder.ExistingNavPointEdgeBuilder.setTo(String)) filled.
If same edge (leading to the same navpoint) exists, it is replaced automatically.
Call NavigationGraphBuilder.ExistingNavPointEdgeBuilder.createEdge() when done specifying edge properties.
navPointId - will be auto-prefixed (if enabled, which is default)public NavigationGraphBuilder.ExistingNavPointEdgeBuilder createEdge()
NavigationGraphBuilder.ExistingNavPointEdgeBuilder
is empty, you must set the remote end of the edge manually using NavigationGraphBuilder.ExistingNavPointEdgeBuilder.setTo(String).
It also has different behavior than in the case
of modifyEdgeTo(String) as this new edge builder won't have any properties (except NavigationGraphBuilder.ExistingNavPointEdgeBuilder.setTo(String)) filled.
If same edge (leading to the same navpoint) exists, it is replaced automatically.
Call NavigationGraphBuilder.ExistingNavPointEdgeBuilder.createEdge() when done specifying edge properties.
public void createSimpleEdgeTo(String navPointId)
If edge exists, it won't be modified.
navPointId - will be auto-prefixed (if enabled, which is default)public void createSimpleEdgesBetween(String navPointId)
If any of those two edges exists, it won't be modified.
navPointId - will be auto-prefixed (if enabled, which is default)Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.