Uses of Interface
com.jgraph.graph.GraphModel

Packages that use GraphModel
com.jgraph JGraph's topmost package which contains the JGraph class. 
com.jgraph.graph Graphs are made up of a number of classes and interfaces defined in their own package - the jgraph.graph package. 
com.jgraph.plaf.basic Contains the BasicGraphUI, which is GraphUI's default implementation. 
 

Uses of GraphModel in com.jgraph
 

Fields in com.jgraph declared as GraphModel
protected  GraphModel JGraph.graphModel
          The model that defines the graph displayed by this object.
 

Methods in com.jgraph that return GraphModel
 GraphModel JGraph.getModel()
          Returns the GraphModel that is providing the data.
 

Methods in com.jgraph with parameters of type GraphModel
static void JGraph.addSampleData(GraphModel model)
          Creates and returns a sample GraphModel.
 void JGraph.setModel(GraphModel newModel)
          Sets the GraphModel that will provide the data.
 

Constructors in com.jgraph with parameters of type GraphModel
JGraph(GraphModel model)
          Returns an instance of JGraph which displays the the specified data model.
JGraph(GraphModel model, GraphView view)
          Returns an instance of JGraph which displays the specified data model using the specified view.
JGraph(GraphModel model, BasicMarqueeHandler mh)
          Returns an instance of JGraph which displays the specified data model using the specified view.
JGraph(GraphModel model, GraphView view, BasicMarqueeHandler mh)
          Returns an instance of JGraph which displays the specified data model using the specified view.
 

Uses of GraphModel in com.jgraph.graph
 

Classes in com.jgraph.graph that implement GraphModel
 class DefaultGraphModel
          A simple implementation of a graph model.
 

Fields in com.jgraph.graph declared as GraphModel
protected  GraphModel GraphView.graphModel
           
 

Methods in com.jgraph.graph that return GraphModel
 GraphModel GraphView.getModel()
          Returns the current model.
 GraphModel AbstractCellView.getModel()
          Returns the model associated with the view.
 

Methods in com.jgraph.graph with parameters of type GraphModel
 void GraphView.setModel(GraphModel model)
          Sets the current model.
static ConnectionSet ConnectionSet.create(GraphModel m, java.lang.Object[] cells, boolean disconnect)
          Returns a connection set that represents the connection or disconnection of cells in model based on disconnect.
static ParentMap ParentMap.create(GraphModel m, java.lang.Object[] c, boolean remove)
          Returns a parent map that represents the insertion or removal of cells in model based on remove.
static java.lang.Object[] DefaultGraphModel.getRoots(GraphModel model)
          Returns the roots of the specified model as an array.
static java.util.Set DefaultGraphModel.getEdges(GraphModel model, java.lang.Object[] cells)
          Return the set of edges that are connected to the specified cells.
static java.util.Set DefaultGraphModel.getDescendants(GraphModel model, java.lang.Object[] cells)
          Flattens the given array of root cells by adding the roots and their descandants.
 

Constructors in com.jgraph.graph with parameters of type GraphModel
GraphView(GraphModel model, CellViewFactory factory)
          Constructs a view for the specified model that uses factory to create its views.
 

Uses of GraphModel in com.jgraph.plaf.basic
 

Fields in com.jgraph.plaf.basic declared as GraphModel
protected  GraphModel BasicGraphUI.graphModel
          Used to determine what to display.
 

Methods in com.jgraph.plaf.basic with parameters of type GraphModel
protected  void BasicGraphUI.setModel(GraphModel model)
          Sets the GraphModel.