org.archive.wayback.util.graph
Class Graph
java.lang.Object
org.archive.wayback.util.graph.RectangularGraphElement
org.archive.wayback.util.graph.Graph
- All Implemented Interfaces:
- GraphElement
public class Graph
- extends RectangularGraphElement
- Author:
- brad
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Graph
public Graph(int width,
int height,
RegionData[] data,
GraphConfiguration config)
- Parameters:
width - the width of the graphheight - the height of the graphdata - the values to draw in the graphconfig - the configuration to use when drawing the graph
getRegions
public RegionGraphElement[] getRegions()
- Returns:
- the RegionGraphElements for the graph
draw
public void draw(Graphics2D g2d)
- Description copied from interface:
GraphElement
- Draw the element onto a Graphics2D.
- Parameters:
g2d - the Graphics2D onto which the element should be drawn.
Copyright © 2005-2011 Internet Archive. All Rights Reserved.