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 Node

All Superinterfaces:
PropertyContainer, SemanticObjectContainer
All Known Subinterfaces:
CompositeNode

public interface Node
extends SemanticObjectContainer, PropertyContainer

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: Node.java,v 1.13 2005年07月08日 19:55:07 cxh Exp $
Author:
Michael Shilman
Accepted Rating:
Red

Method Summary
Graph getParent()
Return the graph parent of this node.
java.util.Iterator inEdges()
Return an iterator over the edges coming into this node.
java.util.Iterator outEdges()
Return an iterator over the edges coming out of this node.
void setParent(Graph parent)
Set the graph parent of this node.
Methods inherited from interface diva.util.SemanticObjectContainer
getSemanticObject, setSemanticObject
Methods inherited from interface diva.util.PropertyContainer
getProperty, propertyNames, setProperty

Method Detail

inEdges

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


outEdges

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


getParent

public Graph getParent()
Return the graph parent of this node.


setParent

public void setParent(Graph parent)
Set the graph parent of this node. Implementors of this method are also responsible for insuring that it is set properly as the child of the graph in the graph.


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 によって変換されたページ (->オリジナル) /