|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.noaa.pmel.sgt.CartesianRenderer
gov.noaa.pmel.sgt.PointCartesianRenderer
public class PointCartesianRenderer
Produces a point plot with optional coloring from a second data set. If a second data set is specified it must have the same shape as the first.
Field Summary |
---|
Fields inherited from class gov.noaa.pmel.sgt.CartesianRenderer |
---|
cg_ |
Constructor Summary | |
---|---|
PointCartesianRenderer(CartesianGraph cg)
Default constructor. |
|
PointCartesianRenderer(CartesianGraph cg,
Collection col,
PointAttribute attr)
Construct a PointCartesianRenderer. |
|
PointCartesianRenderer(CartesianGraph cg,
SGTPoint point)
Construct a PointCartesianRenderer. |
|
PointCartesianRenderer(CartesianGraph cg,
SGTPoint point,
PointAttribute attr)
Construct a PointCartesianRenderer. |
Method Summary | |
---|---|
void |
draw(java.awt.Graphics g)
Render the SGTData object. |
Attribute |
getAttribute()
Get the Attribute associated with the data. |
CartesianGraph |
getCartesianGraph()
Get the associated CartesianGraph object. |
Collection |
getCollection()
Get the Collection of points. |
SGTData |
getDataAt(java.awt.Point pt)
Find data object. |
SGTPoint |
getPoint()
|
PointAttribute |
getPointAttribute()
Get the Point attribute object. |
boolean |
hasCollection()
Is point data as a collection? |
void |
propertyChange(java.beans.PropertyChangeEvent evt)
|
void |
setPointAttribute(PointAttribute l)
Set the Point attribute object. |
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 |
---|
public PointCartesianRenderer(CartesianGraph cg)
CartesianGraph
,
Graph
public PointCartesianRenderer(CartesianGraph cg, SGTPoint point)
cg
- the parent CartesianGraphdata
- an SGTPoint objectCartesianGraph
,
Graph
public PointCartesianRenderer(CartesianGraph cg, SGTPoint point, PointAttribute attr)
cg
- the parent CartesianGraphdata
- an SGTPoint objectPoint
- the PointAttributeCartesianGraph
,
Graph
public PointCartesianRenderer(CartesianGraph cg, Collection col, PointAttribute attr)
cg
- the parent CartesianGraphcol
- a Collection of SGTPoint objectspoint
- the PointAttributeCartesianGraph
,
Graph
Method Detail |
---|
public Attribute getAttribute()
getAttribute
in class CartesianRenderer
Attribute
public void draw(java.awt.Graphics g)
CartesianRenderer
SGTData
object. This method should
never be called directly.
draw
in class CartesianRenderer
Pane.draw()
public void setPointAttribute(PointAttribute l)
l
- Point attributepublic PointAttribute getPointAttribute()
public boolean hasCollection()
public Collection getCollection()
Collection
of points.
public SGTPoint getPoint()
public CartesianGraph getCartesianGraph()
CartesianGraph
object.
getCartesianGraph
in class CartesianRenderer
CartesianGraph
public void propertyChange(java.beans.PropertyChangeEvent evt)
public SGTData getDataAt(java.awt.Point pt)
CartesianRenderer
getDataAt
in class CartesianRenderer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |