|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A series to be displayed in a Plot2D widget. A Series contains the
data to draw as a Shape. It also contains the Paint and Stroke
attributes.
| Method Summary | |
java.awt.geom.Rectangle2D |
getBounds2D()
Returns the bounding box of all x and y ordinates. |
java.awt.Paint |
getColor()
Returns the color for this series. |
java.lang.String |
getName()
Returns the name of this series. |
int |
getNumPoints()
Returns the number of points in this series. |
java.awt.geom.Point2D |
getValue(int i)
Returns the point at the specified index. |
java.awt.Shape |
toShape(java.awt.geom.AffineTransform transform)
Returns the series data as a path. |
| Method Detail |
public java.lang.String getName()
public java.awt.Paint getColor()
public int getNumPoints()
public java.awt.geom.Point2D getValue(int i)
throws java.lang.IndexOutOfBoundsException
i - The index from 0 inclusive to getNumPoints() exclusive.
java.lang.IndexOutOfBoundsException - if index is out of bounds.public java.awt.geom.Rectangle2D getBounds2D()
public java.awt.Shape toShape(java.awt.geom.AffineTransform transform)
transform - An optional transform to apply on values, or null if none.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||