org.archive.wayback.util.graph
Class ValueGraphElement

java.lang.Object
  extended by org.archive.wayback.util.graph.RectangularGraphElement
      extended by org.archive.wayback.util.graph.ValueGraphElement
All Implemented Interfaces:
GraphElement

public class ValueGraphElement
extends RectangularGraphElement

Author:
brad

Field Summary
 
Fields inherited from class org.archive.wayback.util.graph.RectangularGraphElement
height, width, x, y
 
Constructor Summary
ValueGraphElement(int x, int y, int width, int height, boolean highlighted, GraphConfiguration config)
           
 
Method Summary
 void draw(Graphics2D g2d)
          Draw the element onto a Graphics2D.
 
Methods inherited from class org.archive.wayback.util.graph.RectangularGraphElement
getBoundingRectangle, getHeight, getWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueGraphElement

public ValueGraphElement(int x,
                         int y,
                         int width,
                         int height,
                         boolean highlighted,
                         GraphConfiguration config)
Parameters:
x - the rectangles x in the global coordinate space
y - the rectangles y in the global coordinate space
width - the rectangles width
height - the rectangles height
highlighted - true if this value is highlighted
config - reference to the configuration for the graph
Method Detail

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.