gov.noaa.pmel.sgt
Class AnnotationCartesianRenderer
java.lang.Object
gov.noaa.pmel.sgt.CartesianRenderer
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationCartesianRenderer
public AnnotationCartesianRenderer(CartesianGraph cg,
Annotation annotation,
Attribute attr)
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)