com.vinculumtech.carrierwave.graphmodel
Class Vertex

java.lang.Object
  extended bycom.vinculumtech.carrierwave.graphmodel.Vertex

public class Vertex
extends java.lang.Object

The Vertex class represents a node in a graph.

Version:
$Id: //depot/carrierwave/src/shared/com/vinculumtech/carrierwave/graphmodel/Vertex.java#6 $

Method Summary
 void addAllEdges(Vertex vertex)
           
 void addInEdge(Edge inEdge)
           
 void addOutEdge(Edge outEdge)
           
 java.util.List getAllEdges()
           
 GraphModel getGraphModel()
           
 java.util.Set getInEdges()
           
 Icon getNodeIcon()
           
 Image getNodeImage()
           
 Edge getOutEdgeNamed(java.lang.String fullEdge)
           
 java.util.Collection getOutEdges()
           
 java.util.Map getOutEdgesMap()
           
 java.util.List getSortedOutEdges()
           
 boolean hasInEdges()
           
 boolean hasOutEdges()
           
 int inEdgesCount()
           
 boolean isAssignableTo(java.lang.Class type)
          Returns true if the nodeImage is of the given type.
 boolean isDependent()
           
 int outEdgesCount()
           
 void removeFromModel()
           
 void removeInEdge(Edge inEdge)
           
 void removeOutEdge(Edge outEdge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getGraphModel

public GraphModel getGraphModel()

getNodeIcon

public Icon getNodeIcon()

getNodeImage

public Image getNodeImage()

isDependent

public boolean isDependent()

hasOutEdges

public boolean hasOutEdges()

hasInEdges

public boolean hasInEdges()

inEdgesCount

public int inEdgesCount()

outEdgesCount

public int outEdgesCount()

getOutEdgesMap

public java.util.Map getOutEdgesMap()

getOutEdges

public java.util.Collection getOutEdges()

addOutEdge

public void addOutEdge(Edge outEdge)

getInEdges

public java.util.Set getInEdges()

getSortedOutEdges

public java.util.List getSortedOutEdges()

addInEdge

public void addInEdge(Edge inEdge)

getOutEdgeNamed

public Edge getOutEdgeNamed(java.lang.String fullEdge)

removeInEdge

public void removeInEdge(Edge inEdge)

removeOutEdge

public void removeOutEdge(Edge outEdge)

getAllEdges

public java.util.List getAllEdges()

addAllEdges

public void addAllEdges(Vertex vertex)

removeFromModel

public void removeFromModel()

isAssignableTo

public boolean isAssignableTo(java.lang.Class type)
Returns true if the nodeImage is of the given type. If there is only a nodeIcon, this method returns false.



Copyright (C) 2002 Vinculum Technologies, Inc. All Rights Reserved.