Overview Package Class Tree Deprecated Index Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

diva.graph.modular
Interface NodeModel

All Known Subinterfaces:
CompositeNodeModel, MutableCompositeNodeModel, MutableNodeModel
All Known Implementing Classes:
ActorGraphModel.IconModel, BasicModularGraphModel.BasicNodeModel, NamedObjNodeModel

public interface NodeModel

A node is an object that is contained by a graph and is connected to other nodes by edges. A node has a semantic object that is its semantic equivalent in the application and may have a visual object which is its syntactic representation in the user interface.

Version:
$Id: NodeModel.java,v 1.10 2005年07月08日 19:55:07 cxh Exp $
Author:
Michael Shilman
Accepted Rating:
Red

Method Summary
java.lang.Object getParent(java.lang.Object node)
Return the graph parent of the given node.
java.util.Iterator inEdges(java.lang.Object node)
Return an iterator over the edges coming into the given node.
java.util.Iterator outEdges(java.lang.Object node)
Return an iterator over the edges coming out of the given node.

Method Detail

inEdges

public java.util.Iterator inEdges(java.lang.Object node)
Return an iterator over the edges coming into the given node.


outEdges

public java.util.Iterator outEdges(java.lang.Object node)
Return an iterator over the edges coming out of the given node.


getParent

public java.lang.Object getParent(java.lang.Object node)
Return the graph parent of the given node.


Overview Package Class Tree Deprecated Index Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

AltStyle によって変換されたページ (->オリジナル) /