public class GraphStreamSingleGraphSocialNetworkVisualizationImpl<T> extends org.graphstream.graph.implementations.SingleGraph implements SocialNetworkVisualization<T>
org.graphstream.graph.implementations.AdjacencyListGraph.EdgeIterator<T extends org.graphstream.graph.Edge>, org.graphstream.graph.implementations.AdjacencyListGraph.NodeIterator<T extends org.graphstream.graph.Node>org.graphstream.graph.implementations.AbstractElement.AttributeChangeEventSocialNetworkVisualization.Factory, SocialNetworkVisualization.Library| Constructor and Description |
|---|
GraphStreamSingleGraphSocialNetworkVisualizationImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addArc(T from,
T to) |
void |
addVertex(T vertex) |
void |
clear() |
boolean |
containsArc(T from,
T to) |
boolean |
containsVertex(T vertex) |
javax.swing.JComponent |
get() |
java.lang.String |
getArcLabel(T from,
T to) |
SocialNetworkVisualization.Library |
getLibrary() |
void |
removeArc(T from,
T to) |
void |
removeVertex(T vertex) |
void |
setArcLabel(T from,
T to,
java.lang.String label) |
void |
setArcLabelStyle(T from,
T to,
SocialNetworkArcLabelStyle style) |
void |
setArcStyle(T from,
T to,
SocialNetworkArcStyle... styles) |
void |
setArcStyle(T from,
T to,
SocialNetworkArcStyle style) |
void |
setVertexLabel(T node,
java.lang.String label) |
void |
setVertexStyle(T node,
SocialNetworkVertexStyle style) |
addEdgeCallback, addNodeCallback, clearCallback, getEdge, getEdge, getEdgeCount, getEdgeIterator, getNode, getNode, getNodeCount, getNodeIterator, removeEdgeCallback, removeNodeCallbackaddAttributeSink, addEdge, addEdge, addEdge, addEdge, addEdge, addEdge, addEdge, addElementSink, addNode, addSink, attributeChanged, attributeSinks, clearAttributeSinks, clearElementSinks, clearSinks, display, display, edgeAdded, edgeAttributeAdded, edgeAttributeChanged, edgeAttributeRemoved, edgeFactory, edgeRemoved, elementSinks, getEachEdge, getEachNode, getEdgeSet, getNodeSet, getReplayController, getStep, graphAttributeAdded, graphAttributeChanged, graphAttributeRemoved, graphCleared, isAutoCreationEnabled, isStrict, iterator, nodeAdded, nodeAttributeAdded, nodeAttributeChanged, nodeAttributeRemoved, nodeFactory, nodeRemoved, nullAttributesAreErrors, read, read, removeAttributeSink, removeEdge, removeEdge, removeEdge, removeEdge, removeEdge, removeEdge, removeEdge, removeElementSink, removeNode, removeNode, removeNode, removeNode, removeSink, setAutoCreate, setEdgeFactory, setNodeFactory, setNullAttributesAreErrors, setStrict, stepBegins, stepBegins, write, writeaddAttribute, addAttributes, changeAttribute, clearAttributes, clearAttributesWithNoEvent, getArray, getAttribute, getAttribute, getAttributeCount, getAttributeKeyIterator, getAttributeKeySet, getEachAttributeKey, getFirstAttributeOf, getFirstAttributeOf, getHash, getId, getIndex, getLabel, getNumber, getVector, hasArray, hasAttribute, hasAttribute, hasHash, hasLabel, hasNumber, hasVector, removeAttribute, setAttribute, setIndex, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAttribute, addAttributes, changeAttribute, clearAttributes, getArray, getAttribute, getAttribute, getAttributeCount, getAttributeKeyIterator, getAttributeKeySet, getEachAttributeKey, getFirstAttributeOf, getFirstAttributeOf, getHash, getId, getIndex, getLabel, getNumber, getVector, hasArray, hasAttribute, hasAttribute, hasHash, hasLabel, hasNumber, hasVector, removeAttribute, setAttributepublic GraphStreamSingleGraphSocialNetworkVisualizationImpl()
public void addArc(T from, T to)
addArc in interface SocialNetworkVisualization<T>public void addVertex(T vertex)
addVertex in interface SocialNetworkVisualization<T>public void clear()
clear in interface org.graphstream.graph.Graphclear in interface SocialNetworkVisualization<T>clear in class org.graphstream.graph.implementations.AbstractGraphpublic boolean containsArc(T from, T to)
containsArc in interface SocialNetworkVisualization<T>public javax.swing.JComponent get()
get in interface SocialNetworkVisualization<T>public SocialNetworkVisualization.Library getLibrary()
getLibrary in interface SocialNetworkVisualization<T>public void removeArc(T from, T to)
removeArc in interface SocialNetworkVisualization<T>public void removeVertex(T vertex)
removeVertex in interface SocialNetworkVisualization<T>public void setArcLabel(T from, T to, java.lang.String label)
setArcLabel in interface SocialNetworkVisualization<T>public void setArcLabelStyle(T from, T to, SocialNetworkArcLabelStyle style)
setArcLabelStyle in interface SocialNetworkVisualization<T>public void setArcStyle(T from, T to, SocialNetworkArcStyle style)
setArcStyle in interface SocialNetworkVisualization<T>public void setArcStyle(T from, T to, SocialNetworkArcStyle... styles)
setArcStyle in interface SocialNetworkVisualization<T>public void setVertexLabel(T node, java.lang.String label)
setVertexLabel in interface SocialNetworkVisualization<T>public void setVertexStyle(T node, SocialNetworkVertexStyle style)
setVertexStyle in interface SocialNetworkVisualization<T>public java.lang.String getArcLabel(T from, T to)
getArcLabel in interface SocialNetworkVisualization<T>public boolean containsVertex(T vertex)
containsVertex in interface SocialNetworkVisualization<T>