|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.uci.ics.jung.utils.UserData
edu.uci.ics.jung.graph.impl.AbstractArchetypeGraph
Nested Class Summary |
Nested classes inherited from class edu.uci.ics.jung.utils.UserDataContainer |
UserDataContainer.CopyAction |
Field Summary |
Fields inherited from class edu.uci.ics.jung.utils.UserData |
CLONE, REMOVE, SHARED |
Fields inherited from interface edu.uci.ics.jung.graph.ArchetypeGraph |
SUBSET_MANAGER |
Constructor Summary | |
AbstractArchetypeGraph()
|
Method Summary | |
void |
addListener(GraphEventListener gel,
GraphEventType get)
Tells the graph to add gel as a listener for changes in the graph structure |
ArchetypeGraph |
copy()
Creates a replica of this graph. |
java.util.Collection |
getEdgeConstraints()
Returns the Collection of requirements that each edge
must satisfy when it is added to this graph. |
java.util.Collection |
getVertexConstraints()
Returns the Collection of constraints that each vertex
must satisfy when it is added to this graph. |
ArchetypeGraph |
newInstance()
Creates a new empty graph of the same type as this graph, by cloning this graph and then clearing the extraneous fields. |
int |
numEdges()
Returns the number of edges in this graph. |
int |
numVertices()
Returns the number of vertices in this graph. |
void |
removeListener(GraphEventListener gel,
GraphEventType get)
Tells the graph to remove gel as a listener for changes in the graph structure |
java.lang.String |
toString()
Returns a human-readable representation of this graph. |
Methods inherited from class edu.uci.ics.jung.utils.UserData |
addUserDatum, containsUserDatumKey, getUserDatum, getUserDatumCopyAction, getUserDatumKeyIterator, importUserData, removeUserDatum, setUserDatum |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.uci.ics.jung.graph.ArchetypeGraph |
getEdges, getVertices, removeAllEdges, removeAllVertices, removeEdges, removeVertices |
Methods inherited from interface edu.uci.ics.jung.utils.UserDataContainer |
addUserDatum, containsUserDatumKey, getUserDatum, getUserDatumCopyAction, getUserDatumKeyIterator, importUserData, removeUserDatum, setUserDatum |
Constructor Detail |
public AbstractArchetypeGraph()
Method Detail |
public ArchetypeGraph newInstance()
newInstance
in interface ArchetypeGraph
ArchetypeGraph.newInstance()
public java.lang.String toString()
toString
in class UserData
Object.toString()
public int numVertices()
ArchetypeGraph
numVertices
in interface ArchetypeGraph
ArchetypeGraph.numVertices()
public int numEdges()
ArchetypeGraph
numEdges
in interface ArchetypeGraph
ArchetypeGraph.numEdges()
public java.util.Collection getVertexConstraints()
ArchetypeGraph
Collection
of constraints that each vertex
must satisfy when it is added to this graph. This collection may
be viewed and modified by the user to add or remove constraints.
getVertexConstraints
in interface ArchetypeGraph
ArchetypeGraph.getVertexConstraints()
public java.util.Collection getEdgeConstraints()
ArchetypeGraph
Collection
of requirements that each edge
must satisfy when it is added to this graph. This collection may
be viewed and modified by the user to add or remove requirements.
getEdgeConstraints
in interface ArchetypeGraph
ArchetypeGraph.getEdgeConstraints()
public void addListener(GraphEventListener gel, GraphEventType get)
ArchetypeGraph
addListener
in interface ArchetypeGraph
gel
- the graph event listenerget
- the type of graph events the listeners wants to listen forArchetypeGraph.addListener(edu.uci.ics.jung.graph.event.GraphEventListener,
edu.uci.ics.jung.graph.event.GraphEventType)
public void removeListener(GraphEventListener gel, GraphEventType get)
ArchetypeGraph
removeListener
in interface ArchetypeGraph
gel
- the graph event listenerget
- the type of graph events the listeners wants to not listen forArchetypeGraph.removeListener(edu.uci.ics.jung.graph.event.GraphEventListener,
edu.uci.ics.jung.graph.event.GraphEventType)
public ArchetypeGraph copy()
copy
in interface ArchetypeGraph
ArchetypeGraph.copy()
,
AbstractSparseEdge.copy(ArchetypeGraph)
,
AbstractSparseVertex.copy(ArchetypeGraph)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |