org.freehep.jas.services
Interface Plotter

All Known Implementing Classes:
DefaultPlotter

public interface Plotter

An interface implemented by all Plotters


Field Summary
static int ADD
           
static int NORMAL
           
static int OVERLAY
           
static int STACK
           
 
Method Summary
 void clear()
          Clear all the data in the plot
 List getData()
          Returns the list of data objects added to this plotter
 void plot(Object data, int mode)
          Plot a given data set.
 void plot(Object data, int mode, Object style, String options)
           
 void remove(Object data)
          Remove a data item from a plot
 Component viewable()
          Returns a Component that can be used to display a Plotter in some other swing component.
 

Field Detail

NORMAL

static final int NORMAL
See Also:
Constant Field Values

OVERLAY

static final int OVERLAY
See Also:
Constant Field Values

ADD

static final int ADD
See Also:
Constant Field Values

STACK

static final int STACK
See Also:
Constant Field Values
Method Detail

plot

void plot(Object data,
          int mode)
Plot a given data set.

Parameters:
data - The data to be plotted. Must be of the class specified when the plotter was created.
options - One of (NORMAL, OVERLAY, ADD, STACK)

plot

void plot(Object data,
          int mode,
          Object style,
          String options)

remove

void remove(Object data)
Remove a data item from a plot


clear

void clear()
Clear all the data in the plot


viewable

Component viewable()
Returns a Component that can be used to display a Plotter in some other swing component.


getData

List getData()
Returns the list of data objects added to this plotter



Copyright © 2013. All Rights Reserved.