hep.aida.ref.plotter
Class DummyPlotter
java.lang.Object
hep.aida.ref.plotter.DummyPlotter
- All Implemented Interfaces:
- hep.aida.IPlotter
- Direct Known Subclasses:
- Plotter
public class DummyPlotter
- extends java.lang.Object
- implements hep.aida.IPlotter
A dummy implementation of an AIDA Plotter, useful in batch jobs where no
graphical output is required.
Method Summary |
java.lang.String[] |
availableParameterOptions(java.lang.String parameterName)
|
java.lang.String[] |
availableParameters()
|
void |
clearRegions()
|
hep.aida.IPlotterRegion |
createRegion()
|
hep.aida.IPlotterRegion |
createRegion(double x)
|
hep.aida.IPlotterRegion |
createRegion(double x,
double y)
|
hep.aida.IPlotterRegion |
createRegion(double x,
double y,
double w)
|
hep.aida.IPlotterRegion |
createRegion(double x,
double y,
double w,
double h)
|
void |
createRegions()
|
void |
createRegions(int columns)
|
void |
createRegions(int columns,
int rows)
|
void |
createRegions(int columns,
int rows,
int start)
|
hep.aida.IPlotterRegion |
currentRegion()
|
int |
currentRegionNumber()
|
void |
destroyRegions()
|
void |
hide()
|
void |
interact()
|
static void |
invokeOnSwingThread(java.lang.Runnable run)
|
boolean |
isShowing()
|
hep.aida.IPlotterRegion |
next()
|
int |
numberOfRegions()
|
javax.swing.JPanel |
panel()
|
java.lang.String |
parameterValue(java.lang.String parameterName)
|
void |
refresh()
|
hep.aida.IPlotterRegion |
region(int index)
|
void |
setCurrentRegionNumber(int value)
|
void |
setParameter(java.lang.String name)
|
void |
setParameter(java.lang.String name,
java.lang.String value)
|
void |
setStyle(hep.aida.IPlotterStyle style)
|
void |
setTitle(java.lang.String str)
|
void |
setTitleStyle(hep.aida.ITitleStyle iTitleStyle)
|
void |
show()
|
hep.aida.IPlotterStyle |
style()
|
java.lang.String |
title()
|
hep.aida.ITitleStyle |
titleStyle()
|
void |
writeToFile(java.lang.String file)
|
void |
writeToFile(java.lang.String file,
java.lang.String type)
|
void |
writeToFile(java.lang.String fileName,
java.lang.String fileType,
java.util.Properties props)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
show
public void show()
- Specified by:
show
in interface hep.aida.IPlotter
hide
public void hide()
- Specified by:
hide
in interface hep.aida.IPlotter
refresh
public void refresh()
- Specified by:
refresh
in interface hep.aida.IPlotter
interact
public void interact()
- Specified by:
interact
in interface hep.aida.IPlotter
next
public hep.aida.IPlotterRegion next()
- Specified by:
next
in interface hep.aida.IPlotter
createRegion
public hep.aida.IPlotterRegion createRegion(double x)
- Specified by:
createRegion
in interface hep.aida.IPlotter
createRegion
public hep.aida.IPlotterRegion createRegion()
- Specified by:
createRegion
in interface hep.aida.IPlotter
createRegion
public hep.aida.IPlotterRegion createRegion(double x,
double y)
- Specified by:
createRegion
in interface hep.aida.IPlotter
createRegion
public hep.aida.IPlotterRegion createRegion(double x,
double y,
double w)
- Specified by:
createRegion
in interface hep.aida.IPlotter
createRegion
public hep.aida.IPlotterRegion createRegion(double x,
double y,
double w,
double h)
- Specified by:
createRegion
in interface hep.aida.IPlotter
currentRegion
public hep.aida.IPlotterRegion currentRegion()
- Specified by:
currentRegion
in interface hep.aida.IPlotter
createRegions
public void createRegions()
- Specified by:
createRegions
in interface hep.aida.IPlotter
createRegions
public void createRegions(int columns)
- Specified by:
createRegions
in interface hep.aida.IPlotter
createRegions
public void createRegions(int columns,
int rows)
- Specified by:
createRegions
in interface hep.aida.IPlotter
createRegions
public void createRegions(int columns,
int rows,
int start)
- Specified by:
createRegions
in interface hep.aida.IPlotter
setCurrentRegionNumber
public void setCurrentRegionNumber(int value)
- Specified by:
setCurrentRegionNumber
in interface hep.aida.IPlotter
currentRegionNumber
public int currentRegionNumber()
- Specified by:
currentRegionNumber
in interface hep.aida.IPlotter
region
public hep.aida.IPlotterRegion region(int index)
- Specified by:
region
in interface hep.aida.IPlotter
destroyRegions
public void destroyRegions()
- Specified by:
destroyRegions
in interface hep.aida.IPlotter
clearRegions
public void clearRegions()
- Specified by:
clearRegions
in interface hep.aida.IPlotter
availableParameterOptions
public java.lang.String[] availableParameterOptions(java.lang.String parameterName)
- Specified by:
availableParameterOptions
in interface hep.aida.IPlotter
availableParameters
public java.lang.String[] availableParameters()
- Specified by:
availableParameters
in interface hep.aida.IPlotter
parameterValue
public java.lang.String parameterValue(java.lang.String parameterName)
- Specified by:
parameterValue
in interface hep.aida.IPlotter
setParameter
public void setParameter(java.lang.String name)
- Specified by:
setParameter
in interface hep.aida.IPlotter
setParameter
public void setParameter(java.lang.String name,
java.lang.String value)
- Specified by:
setParameter
in interface hep.aida.IPlotter
numberOfRegions
public int numberOfRegions()
- Specified by:
numberOfRegions
in interface hep.aida.IPlotter
setTitle
public void setTitle(java.lang.String str)
- Specified by:
setTitle
in interface hep.aida.IPlotter
title
public java.lang.String title()
- Specified by:
title
in interface hep.aida.IPlotter
titleStyle
public hep.aida.ITitleStyle titleStyle()
- Specified by:
titleStyle
in interface hep.aida.IPlotter
setTitleStyle
public void setTitleStyle(hep.aida.ITitleStyle iTitleStyle)
- Specified by:
setTitleStyle
in interface hep.aida.IPlotter
style
public hep.aida.IPlotterStyle style()
- Specified by:
style
in interface hep.aida.IPlotter
setStyle
public void setStyle(hep.aida.IPlotterStyle style)
- Specified by:
setStyle
in interface hep.aida.IPlotter
writeToFile
public void writeToFile(java.lang.String file)
throws java.io.IOException
- Specified by:
writeToFile
in interface hep.aida.IPlotter
- Throws:
java.io.IOException
writeToFile
public void writeToFile(java.lang.String file,
java.lang.String type)
throws java.io.IOException
- Specified by:
writeToFile
in interface hep.aida.IPlotter
- Throws:
java.io.IOException
writeToFile
public void writeToFile(java.lang.String fileName,
java.lang.String fileType,
java.util.Properties props)
throws java.io.IOException
- Throws:
java.io.IOException
isShowing
public boolean isShowing()
panel
public javax.swing.JPanel panel()
invokeOnSwingThread
public static void invokeOnSwingThread(java.lang.Runnable run)
jHepWork 1.1 (C) Chekanov