public interface VertexProvider
Modifier and Type | Method and Description |
---|---|
void |
addVertexListener(VertexListener vertexListener) |
void |
clearVertices() |
boolean |
containsVertexId(String id)
Deprecated.
Use
containsVertexId(VertexRef, Criteria...) instead. |
boolean |
containsVertexId(VertexRef id,
Criteria... criteria) |
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,
Criteria... criteria) |
Vertex |
getParent(VertexRef vertex) |
List<Vertex> |
getRootGroup() |
int |
getSemanticZoomLevel(VertexRef vertex) |
Vertex |
getVertex(String namespace,
String id) |
Vertex |
getVertex(VertexRef reference,
Criteria... criteria) |
String |
getVertexNamespace()
A string used to identify references belonging to this provider
May only contain characters that make for a reasonable Java identifier
such as letters digits and underscore (no colons, periods, commas etc.)
|
int |
getVertexTotalCount() |
List<Vertex> |
getVertices(Collection<? extends VertexRef> references,
Criteria... criteria) |
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 provider@Deprecated boolean containsVertexId(String id)
containsVertexId(VertexRef, Criteria...)
instead.int getSemanticZoomLevel(VertexRef vertex)
List<Vertex> getVertices(Criteria... criteria)
List<Vertex> getVertices(Collection<? extends VertexRef> references, Criteria... criteria)
boolean hasChildren(VertexRef group)
void addVertexListener(VertexListener vertexListener)
void removeVertexListener(VertexListener vertexListener)
void clearVertices()
int getVertexTotalCount()
Copyright © 2017. All rights reserved.