public class DefaultSelectionContext extends Object implements SelectionContext
| Constructor and Description | 
|---|
DefaultSelectionContext(GraphContainer graphContainer)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
deselectAll()  | 
boolean | 
deselectVertexRefs(Collection<? extends VertexRef> vertexRefs)  | 
GraphContainer | 
getGraphContainer()  | 
Collection<EdgeRef> | 
getSelectedEdgeRefs()  | 
Collection<VertexRef> | 
getSelectedVertexRefs()  | 
boolean | 
isEdgeRefSelected(EdgeRef edgeRef)  | 
boolean | 
isVertexRefSelected(VertexRef vertexRef)  | 
boolean | 
selectVertexRefs(Collection<? extends VertexRef> vertexRefs)  | 
boolean | 
setSelectedEdgeRefs(Collection<? extends EdgeRef> edgeRefs)  | 
boolean | 
setSelectedVertexRefs(Collection<? extends VertexRef> vertexRefs)  | 
public DefaultSelectionContext(GraphContainer graphContainer)
public boolean isVertexRefSelected(VertexRef vertexRef)
isVertexRefSelected in interface SelectionContextpublic boolean isEdgeRefSelected(EdgeRef edgeRef)
isEdgeRefSelected in interface SelectionContextpublic Collection<VertexRef> getSelectedVertexRefs()
getSelectedVertexRefs in interface SelectionContextpublic Collection<EdgeRef> getSelectedEdgeRefs()
getSelectedEdgeRefs in interface SelectionContextpublic GraphContainer getGraphContainer()
getGraphContainer in interface SelectionContextpublic boolean selectVertexRefs(Collection<? extends VertexRef> vertexRefs)
selectVertexRefs in interface SelectionContextpublic boolean deselectVertexRefs(Collection<? extends VertexRef> vertexRefs)
deselectVertexRefs in interface SelectionContextpublic boolean deselectAll()
deselectAll in interface SelectionContextpublic boolean setSelectedVertexRefs(Collection<? extends VertexRef> vertexRefs)
setSelectedVertexRefs in interface SelectionContextpublic boolean setSelectedEdgeRefs(Collection<? extends EdgeRef> edgeRefs)
setSelectedEdgeRefs in interface SelectionContextCopyright © 2020. All rights reserved.