ix.iview.igraph
Class IGraph
java.lang.Object
|
+--ix.iview.igraph.IGraph
- All Implemented Interfaces:
- Named
- public class IGraph
- extends java.lang.Object
- implements Named
A graph with layout and view information.
Constructor Summary |
IGraph(java.lang.String theName,
lt.monarch.graph.GraphView graphView)
Creates a new graph object with the given name and information from the
given graph view. |
Method Summary |
java.lang.Object |
clone()
|
protected ix.iview.igraph.IGraph.GraphNodeComponent |
findNode(java.lang.Object node)
|
java.lang.String |
getName()
|
java.awt.Point |
getPosition(java.lang.Object node)
|
void |
refreshGraph(lt.monarch.graph.GraphView graphView)
Refreshes the IGraph from the information in the graphView. |
Methods inherited from class java.lang.Object |
, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nodeViewType
public java.lang.Class nodeViewType
nodeType
public java.lang.Class nodeType
name
public java.lang.String name
nodes
public LListCollector nodes
IGraph
public IGraph(java.lang.String theName,
lt.monarch.graph.GraphView graphView)
- Creates a new graph object with the given name and information from the
given graph view. Notes each model node with its location.
- Parameters:
theName
- the graph's namegraph
- the GraphView object that holds the MGraph information
refreshGraph
public void refreshGraph(lt.monarch.graph.GraphView graphView)
- Refreshes the IGraph from the information in the graphView.
- Parameters:
graph
- the GraphView object that holds the MGraph information
getPosition
public java.awt.Point getPosition(java.lang.Object node)
findNode
protected ix.iview.igraph.IGraph.GraphNodeComponent findNode(java.lang.Object node)
getName
public java.lang.String getName()
- Specified by:
getName
in interface Named
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone
in class java.lang.Object