org.jtool.jxplatform.graph
Interface GraphElement

All Known Implementing Classes:
GraphEdge, GraphNode

public interface GraphElement

An graph element which is an object of a GraphNode or GraphEdge class.

Author:
Katsuhisa Maruyama

Method Summary
 boolean equals(GraphElement elem)
          Tests if this graph element equals to a given graph element.
 void print()
          Displays information about this graph element.
 

Method Detail

equals

public boolean equals(GraphElement elem)
Tests if this graph element equals to a given graph element.

Parameters:
elem - A graph element to be checked.
Returns:
true if the graph elements are equal, otherwise false.

print

public void print()
Displays information about this graph element.