Package mgui.neuro.graphs
Class CorticalNetworkGraph
java.lang.Object
edu.uci.ics.jung.graph.AbstractGraph<V,E>
edu.uci.ics.jung.graph.SparseGraph<AbstractGraphNode,AbstractGraphEdge>
mgui.interfaces.graphs.InterfaceAbstractGraph
mgui.interfaces.graphs.DefaultGraph
mgui.graphs.networks.AbstractNetworkGraph
mgui.neuro.graphs.CorticalNetworkGraph
- All Implemented Interfaces:
edu.uci.ics.jung.graph.Graph<AbstractGraphNode,AbstractGraphEdge>
,edu.uci.ics.jung.graph.Hypergraph<AbstractGraphNode,AbstractGraphEdge>
,java.io.Serializable
,NetworkGraphListener
,AttributeListener
,AttributeObject
,InterfaceObject
,PopupMenuObject
,NamedObject
,TreeObject
,CleanableObject
,XMLObject
,IconObject
public class CorticalNetworkGraph extends AbstractNetworkGraph
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from interface mgui.interfaces.xml.XMLObject
XMLObject.XMLEncoding, XMLObject.XMLType
-
Field Summary
Fields Modifier and Type Field Description CorticalNetwork
network
Fields inherited from class mgui.interfaces.graphs.DefaultGraph
nodes
Fields inherited from class mgui.interfaces.graphs.InterfaceAbstractGraph
attributes, graphListeners, isDestroyed, name, treeNode, treeNodes, xml_block, xml_count, xml_itr, xml_nodes
Fields inherited from class edu.uci.ics.jung.graph.SparseGraph
directed_edges, INCIDENT, INCOMING, OUTGOING, undirected_edges, vertex_maps
-
Constructor Summary
Constructors Constructor Description CorticalNetworkGraph()
CorticalNetworkGraph(CorticalNetwork net)
-
Method Summary
Modifier and Type Method Description java.lang.String
getName()
Gets the name for this object.CorticalNetworkGraphNode
getNode(AbstractCorticalRegion region)
protected void
init()
void
networkUpdated(NetworkEvent e)
boolean
setFromNetwork(AbstractNetwork net)
void
setName(java.lang.String name)
Sets the name for this object.java.lang.String
toString()
Methods inherited from class mgui.graphs.networks.AbstractNetworkGraph
addGraphEdge, addGraphNode, removeGraphEdge, removeGraphNode
Methods inherited from class mgui.interfaces.graphs.DefaultGraph
addGraphEdge, addVertex, clone, getPopupMenu, getTreeLabel, getVertexByLabel, handlePopupEvent, removeGraphNode, setFromGraph, showPopupMenu
Methods inherited from class mgui.interfaces.graphs.InterfaceAbstractGraph
addEdge, addEdge, addEdge, addGraphListener, attributeUpdated, clean, destroy, fireGraphListeners, fireGraphListeners, getAttribute, getAttributes, getAttributeValue, getDefaultLayout, getDTD, getLabelEdges, getLabelNodes, getLocalName, getNodes, getObjectIcon, getPopupMenu, getShortXML, getXML, getXML, getXMLSchema, graphUpdated, handleXMLElementEnd, handleXMLElementStart, handleXMLString, isDestroyed, issueTreeNode, removeAllEdges, removeAllNodes, removeGraphListener, setAttribute, setAttributes, setTreeNode, writeXML, writeXML, writeXML
Methods inherited from class edu.uci.ics.jung.graph.SparseGraph
addEdge, containsEdge, containsVertex, findEdge, findEdgeSet, getDefaultEdgeType, getDest, getEdgeCount, getEdgeCount, getEdges, getEdges, getEdgeType, getEndpoints, getFactory, getIncidentEdges, getInEdges, getNeighbors, getOutEdges, getPredecessors, getSource, getSuccessors, getVertexCount, getVertices, isDest, isSource, removeEdge, removeVertex
Methods inherited from class edu.uci.ics.jung.graph.AbstractGraph
addEdge, addEdge, addEdge, addEdge, degree, getIncidentCount, getIncidentVertices, getNeighborCount, getOpposite, getPredecessorCount, getSuccessorCount, getValidatedEndpoints, inDegree, isIncident, isNeighbor, isPredecessor, isSuccessor, outDegree
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface edu.uci.ics.jung.graph.Graph
addEdge, getOpposite, getPredecessorCount, getSuccessorCount, inDegree, isPredecessor, isSuccessor, outDegree
Methods inherited from interface edu.uci.ics.jung.graph.Hypergraph
addEdge, addEdge, degree, getIncidentCount, getIncidentVertices, getNeighborCount, isIncident, isNeighbor
-
Field Details
-
network
-
-
Constructor Details
-
CorticalNetworkGraph
public CorticalNetworkGraph() -
CorticalNetworkGraph
-
-
Method Details
-
init
protected void init()- Overrides:
init
in classInterfaceAbstractGraph
-
setFromNetwork
- Specified by:
setFromNetwork
in classAbstractNetworkGraph
- Throws:
NetworkException
-
getNode
-
networkUpdated
-
getName
public java.lang.String getName()Description copied from interface:NamedObject
Gets the name for this object.- Specified by:
getName
in interfaceNamedObject
- Overrides:
getName
in classInterfaceAbstractGraph
- Returns:
-
setName
public void setName(java.lang.String name)Description copied from interface:NamedObject
Sets the name for this object.- Specified by:
setName
in interfaceNamedObject
- Overrides:
setName
in classInterfaceAbstractGraph
-
toString
public java.lang.String toString()- Overrides:
toString
in classInterfaceAbstractGraph
-