All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface rpi.goldsd.graph.Drawable

public interface Drawable
The Drawable interface is used to identify graph-related classes that may be displayed in a graphical application (i.e. Graph Draw). Currently, three methods are defined in the Drawable interface: one to obtain the edges of the graph-related object; one to obtain the vertices; and another to obtain the name of the graph-related object.

Version:
2.0, 4/19/98
Author:
David Goldschmidt
See Also:
GraphBase, Path, Algorithms

Method Index

 o edges()
Provides an enumeration of the edges of the graph-related object.
 o name()
Returns the name of this graph-related object.
 o vertices()
Provides an enumeration of the vertices of the graph-related object.

Methods

 o edges
 public abstract Enumeration edges()
Provides an enumeration of the edges of the graph-related object.

Returns:
an enumeration of the edges of the graph-related object.
 o name
 public abstract String name()
Returns the name of this graph-related object.

Returns:
the name of this graph-related object.
 o vertices
 public abstract Enumeration vertices()
Provides an enumeration of the vertices of the graph-related object.

Returns:
an enumeration of the vertices of the graph-related object.

All Packages  Class Hierarchy  This Package  Previous  Next  Index