Package mgui.neuro.graphs
Class CorticalNetworkGraphNode
java.lang.Object
mgui.interfaces.AbstractInterfaceObject
mgui.interfaces.graphs.AbstractGraphNode
mgui.graphs.networks.AbstractNetworkGraphNode
mgui.neuro.graphs.CorticalNetworkGraphNode
- All Implemented Interfaces:
java.lang.Comparable<AbstractGraphNode>,NetworkGraphElement,InterfaceObject,NamedObject,TreeObject,CleanableObject,XMLObject,InterfaceNetworkComponentListener
public class CorticalNetworkGraphNode extends AbstractNetworkGraphNode
-
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 AbstractCorticalRegionregionFields inherited from class mgui.graphs.networks.AbstractNetworkGraphNode
listenersFields inherited from class mgui.interfaces.graphs.AbstractGraphNode
current_value, locationFields inherited from class mgui.interfaces.AbstractInterfaceObject
isDestroyed, tree_nodes -
Constructor Summary
Constructors Constructor Description CorticalNetworkGraphNode(AbstractCorticalRegion region) -
Method Summary
Modifier and Type Method Description java.lang.StringgetLabel()java.lang.StringgetLocalName()Returns the local name associated with this XML object.AbstractCorticalRegiongetRegion()doublegetWeight(AbstractNetworkGraphNode target)java.lang.StringgetXML()Returns this object's XML representation as a single string.voidwriteXML(int tab, java.io.Writer writer, XMLOutputOptions optionsXMLOutputOptions, ProgressUpdater progress_bar)Writes the XML representation of this object to file.Methods inherited from class mgui.graphs.networks.AbstractNetworkGraphNode
addListener, componentUpdated, fireListeners, removeListenerMethods inherited from class mgui.interfaces.graphs.AbstractGraphNode
clone, compareTo, getCurrentValue, getDTD, getLocation, getShortXML, getXML, getXML, getXMLSchema, handleXMLElementEnd, handleXMLElementStart, handleXMLString, setCurrentValue, setLabel, setLocation, writeXML, writeXMLMethods inherited from class mgui.interfaces.AbstractInterfaceObject
clean, destroy, getName, getTreeLabel, isDestroyed, issueTreeNode, setName, setTreeNode, updateTreeNodesMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
region
-
-
Constructor Details
-
CorticalNetworkGraphNode
-
-
Method Details
-
getWeight
- Specified by:
getWeightin classAbstractNetworkGraphNode
-
getRegion
-
getLabel
public java.lang.String getLabel()- Overrides:
getLabelin classAbstractGraphNode
-
getXML
public java.lang.String getXML()Description copied from interface:XMLObjectReturns this object's XML representation as a single string. NOTE: this is not feasible for larger objects and containers, thus may not be implemented for these objects. Use theXMLObject.writeXML(int,java.io.Writer,mgui.io.standard.xml.XMLOutputOptions,mgui.interfaces.ProgressUpdater)functions to write larger objects to file.- Specified by:
getXMLin interfaceXMLObject- Overrides:
getXMLin classAbstractGraphNode- Returns:
-
getLocalName
public java.lang.String getLocalName()Description copied from interface:XMLObjectReturns the local name associated with this XML object.- Specified by:
getLocalNamein interfaceXMLObject- Overrides:
getLocalNamein classAbstractGraphNode- Returns:
-
writeXML
public void writeXML(int tab, java.io.Writer writer, XMLOutputOptions optionsXMLOutputOptions, ProgressUpdater progress_bar) throws java.io.IOExceptionDescription copied from interface:XMLObjectWrites the XML representation of this object to file. The basic contract for this method is that it should not write a newline character at its start or end. The default format ofXMLFormat.Asciiwill be used.- Specified by:
writeXMLin interfaceXMLObject- Overrides:
writeXMLin classAbstractGraphNode- Parameters:
tab- The number of tabs to place before the XML textwriter- The writeroptionsXMLOutputOptions- XMLOutputOptions defining the write parametersprogress_bar- Optional progress updater (may benull)- Throws:
java.io.IOException
-