FreeHEP API
Version current

hep.aida.ref.plotter
Interface FPlotter


public interface FPlotter

This interface maps the Plotter interface in JAS3. Eventually the two should merge.

Author:
The FreeHEP team @ SLAC.
Source Code:
FPlotter.java

Field Summary
static int ADD
           
static int NORMAL
           
static int OVERLAY
           
static int STACK
           
 
Method Summary
 void clearPlotter()
          Clear all the data in the plot
 void plot(Object data, int options)
          Plot a given data set.
 void plot(Object data, int options, Object style)
           
 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

public static final int NORMAL
See Also:
Constant Field Values

OVERLAY

public static final int OVERLAY
See Also:
Constant Field Values

ADD

public static final int ADD
See Also:
Constant Field Values

STACK

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

plot

public void plot(Object data,
                 int options)
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

public void plot(Object data,
                 int options,
                 Object style)

remove

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


clearPlotter

public void clearPlotter()
Clear all the data in the plot


viewable

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


FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.