com.vinculumtech.carrierwave.graphmodel
Class Vertex
java.lang.Object
com.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 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.