public interface GraphContainer extends DisplayState
Modifier and Type | Interface and Description |
---|---|
static interface |
GraphContainer.ChangeListener |
getLayoutAlgorithm, getScale, getSemanticZoomLevel, redoLayout, setLayoutAlgorithm, setScale, setSemanticZoomLevel
GraphProvider getBaseTopology()
void setBaseTopology(GraphProvider graphProvider)
Criteria[] getCriteria()
void addCriteria(Criteria criteria)
void removeCriteria(Criteria criteria)
void clearCriteria()
void addChangeListener(GraphContainer.ChangeListener listener)
void removeChangeListener(GraphContainer.ChangeListener listener)
SelectionManager getSelectionManager()
void setSelectionManager(SelectionManager selectionManager)
Graph getGraph()
AutoRefreshSupport getAutoRefreshSupport()
boolean hasAutoRefreshSupport()
Collection<VertexRef> getVertexRefForest(Collection<VertexRef> vertexRefs)
MapViewManager getMapViewManager()
com.vaadin.data.Property<Double> getScaleProperty()
StatusProvider getVertexStatusProvider()
void setVertexStatusProvider(StatusProvider statusProvider)
EdgeStatusProvider getEdgeStatusProvider()
void setEdgeStatusProvider(EdgeStatusProvider edgeStatusProvider)
String getSessionId()
void setSessionId(String sessionId)
void setDirty(boolean dirty)
void fireGraphChanged()
<T extends Criteria> Set<T> findCriteria(Class<T> criteriaType)
GraphContainer
for specific types of criteria.T
- The criteria class.criteriaType
- The type to look for. May not be null.GraphContainer
which are of the same type (or a sub type) of criteriaType
.<T extends Criteria> T findSingleCriteria(Class<T> criteriaType)
findCriteria(Class)
, but only returns one Criteria. If multiple criteria for the same
type are found, the first one is returned. No exception is thrown in that case.T
- The criteria class.criteriaType
- The type to look for.IconManager getIconManager()
void setIconManager(IconManager iconManager)
Copyright © 2017. All rights reserved.