org.ujmp.jung
Class MatrixGraphWrapper

java.lang.Object
  extended by edu.uci.ics.jung.utils.UserDataDelegate
      extended by edu.uci.ics.jung.graph.impl.AbstractArchetypeGraph
          extended by edu.uci.ics.jung.graph.impl.AbstractSparseGraph
              extended by edu.uci.ics.jung.graph.impl.SparseGraph
                  extended by edu.uci.ics.jung.graph.impl.DirectedSparseGraph
                      extended by org.ujmp.jung.MatrixGraphWrapper
All Implemented Interfaces:
edu.uci.ics.jung.graph.ArchetypeGraph, edu.uci.ics.jung.graph.DirectedGraph, edu.uci.ics.jung.graph.Graph, edu.uci.ics.jung.utils.UserDataContainer, Cloneable, EventListener, TableModelListener

public class MatrixGraphWrapper
extends edu.uci.ics.jung.graph.impl.DirectedSparseGraph
implements TableModelListener


Nested Class Summary
 
Nested classes/interfaces inherited from class edu.uci.ics.jung.graph.impl.AbstractArchetypeGraph
edu.uci.ics.jung.graph.impl.AbstractArchetypeGraph.Requirements
 
Nested classes/interfaces inherited from interface edu.uci.ics.jung.utils.UserDataContainer
edu.uci.ics.jung.utils.UserDataContainer.CopyAction
 
Field Summary
static int MAXEDGES
           
static int MAXVERTICES
           
static double MINEDGEVALUE
           
 
Fields inherited from class edu.uci.ics.jung.graph.impl.AbstractSparseGraph
mEdges, mVertices
 
Fields inherited from class edu.uci.ics.jung.graph.impl.AbstractArchetypeGraph
edge_requirements, mEdgeIDs, mGraphListenerHandler, mVertexIDs, vertex_requirements
 
Fields inherited from class edu.uci.ics.jung.utils.UserDataDelegate
factory, udc_delegate
 
Fields inherited from interface edu.uci.ics.jung.graph.Graph
DIRECTED_EDGE, NOT_PARALLEL_EDGE, SIMPLE_EDGE, UNDIRECTED_EDGE
 
Fields inherited from interface edu.uci.ics.jung.graph.ArchetypeGraph
SUBSET_MANAGER
 
Constructor Summary
MatrixGraphWrapper(Matrix m)
           
MatrixGraphWrapper(MatrixGUIObject m)
           
 
Method Summary
protected  void finalize()
           
 void tableChanged()
           
 void tableChanged(TableModelEvent e)
           
 
Methods inherited from class edu.uci.ics.jung.graph.impl.AbstractSparseGraph
addEdge, addVertex, getEdges, getVertices, initialize, isDirected, removeEdge, removeEdges, removeVertex, removeVertices
 
Methods inherited from class edu.uci.ics.jung.graph.impl.AbstractArchetypeGraph
addAllNotInitializers, addListener, checkConstraints, copy, getEdgeConstraints, getVertexConstraints, listenersExist, newInstance, numEdges, numVertices, removeAllEdges, removeAllVertices, removeListener, toString
 
Methods inherited from class edu.uci.ics.jung.utils.UserDataDelegate
addUserDatum, clone, containsUserDatumKey, getUserDatum, getUserDatumCopyAction, getUserDatumKeyIterator, importUserData, removeUserDatum, setUserDataFactory, 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.Graph
addEdge, addVertex, isDirected, removeEdge, removeVertex
 
Methods inherited from interface edu.uci.ics.jung.graph.ArchetypeGraph
addListener, copy, getEdgeConstraints, getEdges, getVertexConstraints, getVertices, newInstance, numEdges, numVertices, removeAllEdges, removeAllVertices, removeEdges, removeListener, removeVertices
 
Methods inherited from interface edu.uci.ics.jung.utils.UserDataContainer
addUserDatum, clone, containsUserDatumKey, getUserDatum, getUserDatumCopyAction, getUserDatumKeyIterator, importUserData, removeUserDatum, setUserDatum
 

Field Detail

MAXEDGES

public static final int MAXEDGES
See Also:
Constant Field Values

MAXVERTICES

public static final int MAXVERTICES
See Also:
Constant Field Values

MINEDGEVALUE

public static final double MINEDGEVALUE
See Also:
Constant Field Values
Constructor Detail

MatrixGraphWrapper

public MatrixGraphWrapper(Matrix m)
                   throws MatrixException
Throws:
MatrixException

MatrixGraphWrapper

public MatrixGraphWrapper(MatrixGUIObject m)
                   throws MatrixException
Throws:
MatrixException
Method Detail

tableChanged

public void tableChanged()
                  throws MatrixException
Throws:
MatrixException

tableChanged

public void tableChanged(TableModelEvent e)
Specified by:
tableChanged in interface TableModelListener

finalize

protected void finalize()
                 throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable


Copyright © 2010. All Rights Reserved.