FreeHEP API
Version current

hep.aida.ref.plotter
Class PlotterRegion

java.lang.Object
  extended byhep.aida.ref.plotter.PlotterRegion
All Implemented Interfaces:
hep.aida.IPlotterRegion

public class PlotterRegion
extends Object
implements hep.aida.IPlotterRegion

A dummy implementation of PlotterRegion

Version:
$Id: PlotterRegion.java,v 1.60 2005/11/30 21:50:44 turri Exp $
Author:
tonyj
Source Code:
PlotterRegion.java

Field Summary
 int ADD
           
 int OVERLAY
           
 int REPLACE
           
 int STACK
           
 
Constructor Summary
PlotterRegion(hep.aida.IPlotter plotter)
           
PlotterRegion(JPanel panel, hep.aida.IPlotter plotter)
           
 
Method Summary
 void add(Object thing, hep.aida.IPlotterStyle style, int mode)
           
 void add(Object thing, hep.aida.IPlotterStyle style, int mode, Object data)
           
 void add(Object thing, hep.aida.IPlotterStyle style, int mode, Object data, String options)
           
 void add(Object thing, hep.aida.IPlotterStyle style, int mode, String options)
           
 void add(Object thing, hep.aida.IPlotterStyle style, String options)
           
 void addToRegion(Object thing, hep.aida.IPlotterStyle styleObj, String options)
           
 hep.aida.IPlotterStyle applyDefaultStyles(Object thing, hep.aida.IPlotterStyle style)
           
 void applyStyle(hep.aida.IPlotterStyle style)
           
 void applyStyle(jas.hist.JASHistData jasHistData, hep.aida.IPlotterStyle style)
           
 void applyStyleAfterShow(jas.hist.JASHistData jasHistData, hep.aida.IPlotterStyle style)
           
 void applyStyleBeforeAdding(hep.aida.IPlotterStyle style, jas.hist.DataSource ds)
           
 String[] availableParameterOptions(String str)
           
 String[] availableParameters()
           
 void clear()
           
 void clearRegion()
           
 int getMode(String options)
           
 jas.hist.JASHist getPlot()
           
 void handleLabels(hep.aida.IPlotterStyle style)
           
 hep.aida.IInfo info()
           
 hep.aida.IPlotterLayout layout()
           
 String parameterValue(String str)
           
 void plot(hep.aida.IBaseHistogram iBaseHistogram)
           
 void plot(hep.aida.IBaseHistogram iBaseHistogram, hep.aida.IPlotterStyle style)
           
 void plot(hep.aida.IBaseHistogram iBaseHistogram, hep.aida.IPlotterStyle style, String options)
           
 void plot(hep.aida.IBaseHistogram iBaseHistogram, String options)
           
 void plot(hep.aida.IDataPointSet iDataPointSet)
           
 void plot(hep.aida.IDataPointSet iDataPointSet, hep.aida.IPlotterStyle style)
           
 void plot(hep.aida.IDataPointSet iDataPointSet, hep.aida.IPlotterStyle style, String options)
           
 void plot(hep.aida.IDataPointSet iDataPointSet, String options)
           
 void plot(hep.aida.IFunction iFunction)
           
 void plot(hep.aida.IFunction iFunction, hep.aida.IPlotterStyle style)
           
 void plot(hep.aida.IFunction iFunction, hep.aida.IPlotterStyle style, String options)
           
 void plot(hep.aida.IFunction iFunction, String options)
           
 void plot(hep.aida.IPlottable plottable)
           
 void plot(hep.aida.IPlottable plottable, hep.aida.IPlotterStyle style)
           
 void plot(hep.aida.IPlottable plottable, hep.aida.IPlotterStyle style, String options)
           
 void plot(hep.aida.IPlottable plottable, String options)
           
 void refresh()
           
 void remove(hep.aida.IBaseHistogram iBaseHistogram)
           
 void remove(hep.aida.IDataPointSet iDataPointSet)
           
 void remove(hep.aida.IFunction iFunction)
           
 void remove(hep.aida.IPlottable plottable)
           
 void removeDataSourceFromRegion(jas.hist.DataSource ds)
           
 void removeObjectFromRegion(Object thing)
           
 void setDefaultMode(String value)
           
 hep.aida.IPlotterStyle setDefaultsFromData(Object thing, hep.aida.IPlotterStyle style)
           
 void setInfo(hep.aida.IInfo info)
           
 void setLayout(hep.aida.IPlotterLayout iPlotterLayout)
           
 void setParameter(String str)
           
 void setParameter(String str, String str1)
           
 void setPlot(jas.hist.JASHist plot)
           
 void setStyle(hep.aida.IPlotterStyle style)
           
 void setTitle(String title)
           
 void setXLimits()
           
 void setXLimits(double min)
           
 void setXLimits(double min, double max)
           
 void setYLimits()
           
 void setYLimits(double min)
           
 void setYLimits(double min, double max)
           
 void setZLimits()
           
 void setZLimits(double min)
           
 void setZLimits(double min, double max)
           
 hep.aida.IPlotterStyle style()
           
 String title()
           
 double xLimitMax()
          Get the max limit of x.
 double xLimitMin()
          Get the min limit of x.
 double yLimitMax()
          Get the max limit of y.
 double yLimitMin()
          Get the min limit of y.
 double zLimitMax()
          Get the max limit of z.
 double zLimitMin()
          Get the min limit of z.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REPLACE

public final int REPLACE
See Also:
Constant Field Values

OVERLAY

public final int OVERLAY
See Also:
Constant Field Values

ADD

public final int ADD
See Also:
Constant Field Values

STACK

public final int STACK
See Also:
Constant Field Values
Constructor Detail

PlotterRegion

public PlotterRegion(JPanel panel,
                     hep.aida.IPlotter plotter)

PlotterRegion

public PlotterRegion(hep.aida.IPlotter plotter)
Method Detail

availableParameterOptions

public String[] availableParameterOptions(String str)
Specified by:
availableParameterOptions in interface hep.aida.IPlotterRegion

availableParameters

public String[] availableParameters()
Specified by:
availableParameters in interface hep.aida.IPlotterRegion

setParameter

public void setParameter(String str)
Specified by:
setParameter in interface hep.aida.IPlotterRegion

setParameter

public void setParameter(String str,
                         String str1)
Specified by:
setParameter in interface hep.aida.IPlotterRegion

parameterValue

public String parameterValue(String str)
Specified by:
parameterValue in interface hep.aida.IPlotterRegion

style

public hep.aida.IPlotterStyle style()
Specified by:
style in interface hep.aida.IPlotterRegion

setStyle

public void setStyle(hep.aida.IPlotterStyle style)
Specified by:
setStyle in interface hep.aida.IPlotterRegion

applyStyle

public void applyStyle(hep.aida.IPlotterStyle style)
Specified by:
applyStyle in interface hep.aida.IPlotterRegion

setTitle

public void setTitle(String title)
Specified by:
setTitle in interface hep.aida.IPlotterRegion

title

public String title()
Specified by:
title in interface hep.aida.IPlotterRegion

setXLimits

public void setXLimits()
                throws IllegalArgumentException
Specified by:
setXLimits in interface hep.aida.IPlotterRegion
Throws:
IllegalArgumentException

setXLimits

public void setXLimits(double min)
Specified by:
setXLimits in interface hep.aida.IPlotterRegion

setXLimits

public void setXLimits(double min,
                       double max)
                throws IllegalArgumentException
Specified by:
setXLimits in interface hep.aida.IPlotterRegion
Throws:
IllegalArgumentException

setYLimits

public void setYLimits()
                throws IllegalArgumentException
Specified by:
setYLimits in interface hep.aida.IPlotterRegion
Throws:
IllegalArgumentException

setYLimits

public void setYLimits(double min)
Specified by:
setYLimits in interface hep.aida.IPlotterRegion

setYLimits

public void setYLimits(double min,
                       double max)
                throws IllegalArgumentException
Specified by:
setYLimits in interface hep.aida.IPlotterRegion
Throws:
IllegalArgumentException

setZLimits

public void setZLimits()
                throws IllegalArgumentException
Specified by:
setZLimits in interface hep.aida.IPlotterRegion
Throws:
IllegalArgumentException

setZLimits

public void setZLimits(double min)
Specified by:
setZLimits in interface hep.aida.IPlotterRegion

setZLimits

public void setZLimits(double min,
                       double max)
                throws IllegalArgumentException
Specified by:
setZLimits in interface hep.aida.IPlotterRegion
Throws:
IllegalArgumentException

xLimitMin

public double xLimitMin()
Get the min limit of x.

Specified by:
xLimitMin in interface hep.aida.IPlotterRegion

xLimitMax

public double xLimitMax()
Get the max limit of x.

Specified by:
xLimitMax in interface hep.aida.IPlotterRegion

yLimitMin

public double yLimitMin()
Get the min limit of y.

Specified by:
yLimitMin in interface hep.aida.IPlotterRegion

yLimitMax

public double yLimitMax()
Get the max limit of y.

Specified by:
yLimitMax in interface hep.aida.IPlotterRegion

zLimitMin

public double zLimitMin()
Get the min limit of z.

Specified by:
zLimitMin in interface hep.aida.IPlotterRegion

zLimitMax

public double zLimitMax()
Get the max limit of z.

Specified by:
zLimitMax in interface hep.aida.IPlotterRegion

info

public hep.aida.IInfo info()
Specified by:
info in interface hep.aida.IPlotterRegion

setInfo

public void setInfo(hep.aida.IInfo info)

clear

public void clear()
Specified by:
clear in interface hep.aida.IPlotterRegion

plot

public void plot(hep.aida.IPlottable plottable)
          throws IllegalArgumentException
Specified by:
plot in interface hep.aida.IPlotterRegion
Throws:
IllegalArgumentException

plot

public void plot(hep.aida.IPlottable plottable,
                 String options)
          throws IllegalArgumentException
Specified by:
plot in interface hep.aida.IPlotterRegion
Throws:
IllegalArgumentException

plot

public void plot(hep.aida.IPlottable plottable,
                 hep.aida.IPlotterStyle style)
          throws IllegalArgumentException
Specified by:
plot in interface hep.aida.IPlotterRegion
Throws:
IllegalArgumentException

plot

public void plot(hep.aida.IPlottable plottable,
                 hep.aida.IPlotterStyle style,
                 String options)
          throws IllegalArgumentException
Specified by:
plot in interface hep.aida.IPlotterRegion
Throws:
IllegalArgumentException

plot

public void plot(hep.aida.IBaseHistogram iBaseHistogram)
Specified by:
plot in interface hep.aida.IPlotterRegion

plot

public void plot(hep.aida.IBaseHistogram iBaseHistogram,
                 hep.aida.IPlotterStyle style)
Specified by:
plot in interface hep.aida.IPlotterRegion

plot

public void plot(hep.aida.IBaseHistogram iBaseHistogram,
                 String options)
Specified by:
plot in interface hep.aida.IPlotterRegion

plot

public void plot(hep.aida.IBaseHistogram iBaseHistogram,
                 hep.aida.IPlotterStyle style,
                 String options)
Specified by:
plot in interface hep.aida.IPlotterRegion

plot

public void plot(hep.aida.IDataPointSet iDataPointSet)
Specified by:
plot in interface hep.aida.IPlotterRegion

plot

public void plot(hep.aida.IDataPointSet iDataPointSet,
                 hep.aida.IPlotterStyle style)
Specified by:
plot in interface hep.aida.IPlotterRegion

plot

public void plot(hep.aida.IDataPointSet iDataPointSet,
                 String options)
Specified by:
plot in interface hep.aida.IPlotterRegion

plot

public void plot(hep.aida.IDataPointSet iDataPointSet,
                 hep.aida.IPlotterStyle style,
                 String options)
Specified by:
plot in interface hep.aida.IPlotterRegion

plot

public void plot(hep.aida.IFunction iFunction)
Specified by:
plot in interface hep.aida.IPlotterRegion

plot

public void plot(hep.aida.IFunction iFunction,
                 hep.aida.IPlotterStyle style)
Specified by:
plot in interface hep.aida.IPlotterRegion

plot

public void plot(hep.aida.IFunction iFunction,
                 String options)
Specified by:
plot in interface hep.aida.IPlotterRegion

plot

public void plot(hep.aida.IFunction iFunction,
                 hep.aida.IPlotterStyle style,
                 String options)
Specified by:
plot in interface hep.aida.IPlotterRegion

remove

public void remove(hep.aida.IDataPointSet iDataPointSet)
Specified by:
remove in interface hep.aida.IPlotterRegion

remove

public void remove(hep.aida.IFunction iFunction)
Specified by:
remove in interface hep.aida.IPlotterRegion

remove

public void remove(hep.aida.IBaseHistogram iBaseHistogram)
Specified by:
remove in interface hep.aida.IPlotterRegion

remove

public void remove(hep.aida.IPlottable plottable)
            throws IllegalArgumentException
Specified by:
remove in interface hep.aida.IPlotterRegion
Throws:
IllegalArgumentException

setPlot

public void setPlot(jas.hist.JASHist plot)

getPlot

public jas.hist.JASHist getPlot()

setLayout

public void setLayout(hep.aida.IPlotterLayout iPlotterLayout)
Specified by:
setLayout in interface hep.aida.IPlotterRegion

layout

public hep.aida.IPlotterLayout layout()
Specified by:
layout in interface hep.aida.IPlotterRegion

add

public void add(Object thing,
                hep.aida.IPlotterStyle style,
                int mode)

add

public void add(Object thing,
                hep.aida.IPlotterStyle style,
                String options)

add

public void add(Object thing,
                hep.aida.IPlotterStyle style,
                int mode,
                String options)

add

public void add(Object thing,
                hep.aida.IPlotterStyle style,
                int mode,
                Object data)

add

public void add(Object thing,
                hep.aida.IPlotterStyle style,
                int mode,
                Object data,
                String options)

setDefaultsFromData

public hep.aida.IPlotterStyle setDefaultsFromData(Object thing,
                                                  hep.aida.IPlotterStyle style)

handleLabels

public void handleLabels(hep.aida.IPlotterStyle style)

applyDefaultStyles

public hep.aida.IPlotterStyle applyDefaultStyles(Object thing,
                                                 hep.aida.IPlotterStyle style)

applyStyleBeforeAdding

public void applyStyleBeforeAdding(hep.aida.IPlotterStyle style,
                                   jas.hist.DataSource ds)

applyStyleAfterShow

public void applyStyleAfterShow(jas.hist.JASHistData jasHistData,
                                hep.aida.IPlotterStyle style)

applyStyle

public void applyStyle(jas.hist.JASHistData jasHistData,
                       hep.aida.IPlotterStyle style)

removeObjectFromRegion

public void removeObjectFromRegion(Object thing)

removeDataSourceFromRegion

public void removeDataSourceFromRegion(jas.hist.DataSource ds)

refresh

public void refresh()
Specified by:
refresh in interface hep.aida.IPlotterRegion

clearRegion

public void clearRegion()

addToRegion

public void addToRegion(Object thing,
                        hep.aida.IPlotterStyle styleObj,
                        String options)

getMode

public int getMode(String options)

setDefaultMode

public void setDefaultMode(String value)

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.