com.oy.shared.lm.graph
Class Graph
java.lang.Object
com.oy.shared.lm.graph.Graph
- All Implemented Interfaces:
- IGraphModel
- public class Graph
- extends java.lang.Object
- implements IGraphModel
|
Constructor Summary |
(package private) |
Graph()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
graph
private GraphBean graph
Graph
Graph()
init
private void init()
getInfo
public GraphInfo getInfo()
- Specified by:
getInfo in interface IGraphModel
clear
public void clear()
addNode
public GraphNode addNode()
removeNode
public void removeNode(GraphNode node)
addGroup
public GraphGroup addGroup()
removeGroup
public void removeGroup(GraphGroup group)
addEdge
public GraphEdge addEdge(GraphNode from,
GraphNode to)
removeEdge
public void removeEdge(GraphEdge edge)
getNodes
public GraphNode[] getNodes()
- Specified by:
getNodes in interface IGraphModel
getEdges
public GraphEdge[] getEdges()
- Specified by:
getEdges in interface IGraphModel
getGroups
public GraphGroup[] getGroups()
- Specified by:
getGroups in interface IGraphModel
Copyright (C) 2005-2006 Pavel Simakov
http://www.softwaresecretweapons.com