public interface VertexProvider
Modifier and Type | Method and Description |
---|---|
void |
addVertexListener(VertexListener vertexListener) |
void |
clearVertices() |
boolean |
containsVertexId(String id)
Deprecated.
Use
containsVertexId(VertexRef id) instead. |
boolean |
containsVertexId(VertexRef id) |
boolean |
contributesTo(String namespace)
This boolean returns true if the vertices in this provider are intended
to contribute to or overlay another namespace
|
List<Vertex> |
getChildren(VertexRef group) |
Vertex |
getParent(VertexRef vertex) |
List<Vertex> |
getRootGroup() |
int |
getSemanticZoomLevel(VertexRef vertex) |
Vertex |
getVertex(String namespace,
String id) |
Vertex |
getVertex(VertexRef reference) |
String |
getVertexNamespace()
A string used to identify references belonging to this provider
May only container characters that make for a reasonable java identifier
such as letters digits and underscore (no colons, periods, commans etc.)
|
List<Vertex> |
getVertices() |
List<Vertex> |
getVertices(Collection<? extends VertexRef> references) |
List<Vertex> |
getVertices(Criteria criteria)
Return an immutable list of vertices that match the criteria.
|
boolean |
hasChildren(VertexRef group) |
void |
removeVertexListener(VertexListener vertexListener) |
boolean |
setParent(VertexRef child,
VertexRef parent) |
String getVertexNamespace()
boolean contributesTo(String namespace)
namespace
- the namespace of a providerboolean containsVertexId(String id)
containsVertexId(VertexRef id)
instead.boolean containsVertexId(VertexRef id)
int getSemanticZoomLevel(VertexRef vertex)
List<Vertex> getVertices(Criteria criteria)
List<Vertex> getVertices(Collection<? extends VertexRef> references)
boolean hasChildren(VertexRef group)
void addVertexListener(VertexListener vertexListener)
void removeVertexListener(VertexListener vertexListener)
void clearVertices()
Copyright © 2015. All Rights Reserved.