gov.noaa.pmel.sgt
Class AnnotationCartesianRenderer

java.lang.Object
  extended by gov.noaa.pmel.sgt.CartesianRenderer
      extended by gov.noaa.pmel.sgt.AnnotationCartesianRenderer
All Implemented Interfaces:
java.beans.PropertyChangeListener, java.util.EventListener

public class AnnotationCartesianRenderer
extends CartesianRenderer

Renders Annote and Annotation objects.

Since:
3.0
Version:
$Revision$
Author:
Donald Denbo

Field Summary
 
Fields inherited from class gov.noaa.pmel.sgt.CartesianRenderer
cg_
 
Constructor Summary
AnnotationCartesianRenderer(CartesianGraph cg, Annotation annotation, Attribute attr)
           
 
Method Summary
 void draw(java.awt.Graphics g)
          Render Annotation using java.awt.Graphic2D primatives.
 Attribute getAttribute()
          Get the Attribute associated with the renderer.
 CartesianGraph getCartesianGraph()
          Get the CartesianGraph associated with the renderer.
 SGTData getDataAt(java.awt.Point pt)
          Find data object.
 void propertyChange(java.beans.PropertyChangeEvent evt)
           
 
Methods inherited from class gov.noaa.pmel.sgt.CartesianRenderer
getDataAt, getPane, getRenderer, modified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationCartesianRenderer

public AnnotationCartesianRenderer(CartesianGraph cg,
                                   Annotation annotation,
                                   Attribute attr)
Method Detail

getAttribute

public Attribute getAttribute()
Description copied from class: CartesianRenderer
Get the Attribute associated with the renderer.

Specified by:
getAttribute in class CartesianRenderer
Returns:
the Attribute

getCartesianGraph

public CartesianGraph getCartesianGraph()
Description copied from class: CartesianRenderer
Get the CartesianGraph associated with the renderer.

Specified by:
getCartesianGraph in class CartesianRenderer
Returns:
the CartesianGraph

getDataAt

public SGTData getDataAt(java.awt.Point pt)
Description copied from class: CartesianRenderer
Find data object.

Specified by:
getDataAt in class CartesianRenderer

draw

public void draw(java.awt.Graphics g)
Render Annotation using java.awt.Graphic2D primatives.

Specified by:
draw in class CartesianRenderer
See Also:
Pane.draw()

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent evt)