org.geotoolkit.gui.swing
Interface Plot2D.Series

Enclosing class:
Plot2D

public static interface Plot2D.Series

A series to be displayed in a Plot2D widget. A Series contains the data to plot as a Shape object and the Paint to use for drawing the lines.

Since:
1.1
Version:
3.00
Author:
Martin Desruisseaux (MPO, Geomatys)
Module:
display/geotk-widgets-swing (download)    View source code for this class

Method Summary
 Rectangle2D bounds()
          Returns the bounding box of all x and y ordinates.
 String name()
          Returns the name of this series.
 Paint paint()
          Returns the color to use for plotting this series.
 Shape path()
          Returns the series data as a path.
 

Method Detail

name

String name()
Returns the name of this series. If only one series is plotted, then the name of that series will be used as the plot title.

Returns:
The name of this series, or null if none.

paint

Paint paint()
Returns the color to use for plotting this series.

Returns:
The color to use for plotting this series.

bounds

Rectangle2D bounds()
Returns the bounding box of all x and y ordinates.

Returns:
The minimal and maximal (x, y) values.

path

Shape path()
Returns the series data as a path.

Returns:
The (x,y) coordinates as a Java2D shape.


Copyright © 2009-2013 Geotoolkit.org. All Rights Reserved.