org.archive.wayback.util.graph
Class ValueGraphElement
java.lang.Object
org.archive.wayback.util.graph.RectangularGraphElement
org.archive.wayback.util.graph.ValueGraphElement
- All Implemented Interfaces:
- GraphElement
public class ValueGraphElement
- extends RectangularGraphElement
- Author:
- brad
|
Method Summary |
void |
draw(Graphics2D g2d)
Draw the element onto a Graphics2D. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValueGraphElement
public ValueGraphElement(int x,
int y,
int width,
int height,
boolean highlighted,
GraphConfiguration config)
- Parameters:
x - the rectangles x in the global coordinate spacey - the rectangles y in the global coordinate spacewidth - the rectangles widthheight - the rectangles heighthighlighted - true if this value is highlightedconfig - reference to the configuration 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.