org.dronus.graph.Node Class Reference

List of all members.

Public Member Functions

 Node (String id, String text, String type)
 Node (int id, String text, String type)
 Node (String text)
int edgeCount ()
Collection< EdgegetEdges ()
Collection< NodegetFromNodes ()
Node getSubNode (String type)
String getSubNodeText (String type)
void addEdge (Edge edge)
void removeEdge (Edge edge)
boolean equals (Object other)
int hashCode ()

Public Attributes

int id
List< Edgeedges = new LinkedList<Edge>()
String type = "undefined"
String text

Detailed Description

Author:
Paul

Definition at line 16 of file Node.java.


Constructor & Destructor Documentation

org.dronus.graph.Node.Node ( String  id,
String  text,
String  type 
)

convenience constructor

Definition at line 26 of file Node.java.

org.dronus.graph.Node.Node ( int  id,
String  text,
String  type 
)

normal constructor

Definition at line 35 of file Node.java.

org.dronus.graph.Node.Node ( String  text  ) 

stub constructor to create nodes only holding a text

Parameters:
text 

Definition at line 45 of file Node.java.


Member Function Documentation

int org.dronus.graph.Node.edgeCount (  ) 

Definition at line 49 of file Node.java.

References org.dronus.graph.Node.edges.

Referenced by org.hfbk.vis.visnode.VisRoot.visualiseSubtree().

Here is the caller graph for this function:

Collection<Edge> org.dronus.graph.Node.getEdges (  ) 

Definition at line 50 of file Node.java.

References org.dronus.graph.Node.edges.

Referenced by org.hfbk.vis.visnode.VisLog.addIncoming(), org.dronus.graph.Graph.deleteNode(), org.dronus.graph.Graph.findEdge(), and org.hfbk.vis.visnode.VisSet.update().

Here is the caller graph for this function:

Collection<Node> org.dronus.graph.Node.getFromNodes (  ) 

Definition at line 51 of file Node.java.

References org.dronus.graph.Node.edges.

Referenced by org.hfbk.vis.visnode.VisFilesysTree.FileBox.FileBox(), org.hfbk.vis.visnode.VisSet.update(), and org.hfbk.util.Updater.update().

Here is the caller graph for this function:

Node org.dronus.graph.Node.getSubNode ( String  type  ) 

Definition at line 59 of file Node.java.

References org.dronus.graph.Node.edges, and org.dronus.graph.Node.type.

Referenced by org.dronus.graph.Node.getSubNodeText().

Here is the caller graph for this function:

String org.dronus.graph.Node.getSubNodeText ( String  type  ) 

Definition at line 67 of file Node.java.

References org.dronus.graph.Node.getSubNode(), and org.dronus.graph.Node.text.

Referenced by org.hfbk.util.Updater.update(), org.hfbk.vis.visnode.VisImage.VisImage(), org.hfbk.vis.visnode.VisText.VisText(), and org.hfbk.vis.visnode.VisVideoImage.VisVideoImage().

Here is the call graph for this function:

Here is the caller graph for this function:

void org.dronus.graph.Node.addEdge ( Edge  edge  ) 

Definition at line 73 of file Node.java.

References org.dronus.graph.Node.edges.

void org.dronus.graph.Node.removeEdge ( Edge  edge  ) 

Definition at line 74 of file Node.java.

References org.dronus.graph.Node.edges.

Referenced by org.dronus.graph.Graph.deleteEdge(), and org.dronus.graph.Graph.deleteNode().

Here is the caller graph for this function:

boolean org.dronus.graph.Node.equals ( Object  other  ) 

Definition at line 76 of file Node.java.

Referenced by org.dronus.graph.Graph.load().

Here is the caller graph for this function:

int org.dronus.graph.Node.hashCode (  ) 

Definition at line 78 of file Node.java.

References org.dronus.graph.Node.id.

Referenced by org.dronus.graph.Edge.hashCode().

Here is the caller graph for this function:


Member Data Documentation

int org.dronus.graph.Node.id

Definition at line 18 of file Node.java.

Referenced by org.dronus.graph.Graph.addNode(), org.dronus.graph.Graph.deleteNode(), org.dronus.graph.Edge.Edge(), org.dronus.graph.Node.hashCode(), org.dronus.graph.Graph.removeNode(), org.hfbk.vis.visnode.VisPs.VisCallBall.renderSelf(), org.hfbk.vis.visnode.VisProfiler.VisCallBall.renderSelf(), and org.hfbk.vis.visnode.VisFilesys.VisCallBall.renderSelf().

List<Edge> org.dronus.graph.Node.edges = new LinkedList<Edge>()

Definition at line 20 of file Node.java.

Referenced by org.dronus.graph.Node.addEdge(), org.dronus.graph.Node.edgeCount(), org.dronus.graph.Node.getEdges(), org.dronus.graph.Node.getFromNodes(), org.dronus.graph.Node.getSubNode(), and org.dronus.graph.Node.removeEdge().

String org.dronus.graph.Node.type = "undefined"

Definition at line 21 of file Node.java.

Referenced by org.hfbk.vis.visnode.VisLog.addIncoming(), org.hfbk.vis.source.SourceClass.buildGraph(), org.hfbk.vis.VisNodeFactory.create(), org.hfbk.vis.visnode.VisSet.create(), org.dronus.graph.Node.getSubNode(), org.hfbk.vis.visnode.VisPs.VisCallBall.renderSelf(), org.hfbk.vis.visnode.VisProfiler.VisCallBall.renderSelf(), org.hfbk.vis.visnode.VisFilesysTree.FileBox.renderSelf(), org.hfbk.vis.visnode.VisFilesys.VisCallBall.renderSelf(), org.hfbk.vis.visnode.VisSet.update(), org.hfbk.util.Updater.update(), and org.hfbk.vis.visnode.VisRoot.visualiseTree().

String org.dronus.graph.Node.text

Definition at line 21 of file Node.java.

Referenced by org.hfbk.vis.visnode.VisLog.addIncoming(), org.hfbk.vis.visnode.VisSerializer.buildNode(), org.hfbk.vis.visnode.VisSerializer.buildScript(), org.hfbk.vis.visnode.VisSet.create(), org.hfbk.vis.visnode.VisFilesysTree.FileBox.FileBox(), org.hfbk.vis.Allesfresser.frissFile(), org.dronus.graph.Node.getSubNodeText(), org.hfbk.vis.visnode.VisFilesys.VisCallBall.handleEvent(), org.hfbk.vis.visnode.VisText.renderSelf(), org.hfbk.vis.visnode.VisPs.VisCallBall.renderSelf(), org.hfbk.vis.visnode.VisProfiler.VisCallBall.renderSelf(), org.hfbk.vis.visnode.VisFilesysTree.FileBox.renderSelf(), org.hfbk.vis.visnode.VisFilesys.VisCallBall.renderSelf(), org.hfbk.vis.visnode.VisDir.renderSelf(), org.hfbk.vis.visnode.VisFilesysTree.scanfile(), org.hfbk.util.Updater.update(), org.hfbk.vis.visnode.VisAtom.VisAtom(), org.hfbk.vis.visnode.VisAudio.VisAudio(), org.hfbk.vis.visnode.VisPs.VisCallBall.VisCallBall(), org.hfbk.vis.visnode.VisProfiler.VisCallBall.VisCallBall(), org.hfbk.vis.visnode.VisFilesys.VisCallBall.VisCallBall(), org.hfbk.vis.visnode.VisFilesys.VisFilesys(), org.hfbk.vis.visnode.VisFilesysTree.VisFilesysTree(), org.hfbk.vis.visnode.VisFunction.VisFunction(), org.hfbk.vis.visnode.VisIcal.VisIcal(), org.hfbk.vis.visnode.VisImage.VisImage(), org.hfbk.vis.visnode.VisKeyword.VisKeyword(), org.hfbk.vis.visnode.VisRoute.VisRoute(), org.hfbk.vis.visnode.VisScanDir.VisScanDir(), org.hfbk.vis.visnode.VisScript.VisScript(), org.hfbk.vis.visnode.VisSound.VisSound(), org.hfbk.vis.visnode.VisSrt.VisSrt(), org.hfbk.vis.visnode.VisText.VisText(), org.hfbk.vis.visnode.VisVideo.VisVideo(), and org.hfbk.vis.visnode.VisVideoImage.VisVideoImage().


The documentation for this class was generated from the following file:
Generated on Tue Apr 7 17:57:44 2009 for visclient by  doxygen 1.5.1