|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthep.aida.ref.plotter.DummyPlotter
public class DummyPlotter
A dummy implementation of an AIDA Plotter, useful in batch jobs where no graphical output is required.
| Method Summary | |
|---|---|
String[] |
availableParameterOptions(String parameterName)
|
String[] |
availableParameters()
|
void |
clearRegions()
Clear all regions. |
IPlotterRegion |
createRegion()
Create a new region. |
IPlotterRegion |
createRegion(double x)
Create a new region. |
IPlotterRegion |
createRegion(double x,
double y)
Create a new region. |
IPlotterRegion |
createRegion(double x,
double y,
double w)
Create a new region. |
IPlotterRegion |
createRegion(double x,
double y,
double w,
double h)
Create a new region. |
void |
createRegions()
Create a grid of regions. |
void |
createRegions(int columns)
Create a grid of regions. |
void |
createRegions(int columns,
int rows)
Create a grid of regions. |
void |
createRegions(int columns,
int rows,
int start)
Create a grid of regions. |
IPlotterRegion |
currentRegion()
|
int |
currentRegionNumber()
|
void |
destroyRegions()
Destroy regions. |
void |
hide()
Unmap the plotter on the screen. |
void |
interact()
Give control to the plotter GUI. |
static void |
invokeOnSwingThread(Runnable run)
|
boolean |
isShowing()
|
IPlotterRegion |
next()
Set current region to be the "next" one. |
int |
numberOfRegions()
|
JPanel |
panel()
|
String |
parameterValue(String parameterName)
Get value of a parameter. |
void |
refresh()
Refresh the screen window(s). |
IPlotterRegion |
region(int index)
|
void |
setCurrentRegionNumber(int value)
Set current region by giving its index [0,n-1] |
void |
setParameter(String name)
|
void |
setParameter(String name,
String value)
|
void |
setStyle(IPlotterStyle style)
Set the global plotter style. |
void |
setTitle(String str)
Set the global title of the plotter (page). |
void |
setTitleStyle(ITitleStyle iTitleStyle)
Set title style |
void |
show()
Map the plotter on the screen. |
IPlotterStyle |
style()
Get the global plotter style. |
String |
title()
Get the global title of the plotter (page). |
ITitleStyle |
titleStyle()
Get title style. |
void |
writeToFile(String file)
Produce an output file. |
void |
writeToFile(String file,
String type)
Produce an output file. |
void |
writeToFile(String fileName,
String fileType,
Properties props)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void show()
IPlotter
show in interface IPlotterpublic void hide()
IPlotter
hide in interface IPlotterpublic void refresh()
IPlotter
refresh in interface IPlotterpublic void interact()
IPlotter
interact in interface IPlotterpublic IPlotterRegion next()
IPlotter
next in interface IPlotterpublic IPlotterRegion createRegion(double x)
IPlotter
createRegion in interface IPlotterpublic IPlotterRegion createRegion()
IPlotter
createRegion in interface IPlotter
public IPlotterRegion createRegion(double x,
double y)
IPlotter
createRegion in interface IPlotter
public IPlotterRegion createRegion(double x,
double y,
double w)
IPlotter
createRegion in interface IPlotter
public IPlotterRegion createRegion(double x,
double y,
double w,
double h)
IPlotter
createRegion in interface IPlotterpublic IPlotterRegion currentRegion()
currentRegion in interface IPlotterpublic void createRegions()
IPlotter
createRegions in interface IPlotterpublic void createRegions(int columns)
IPlotter
createRegions in interface IPlotter
public void createRegions(int columns,
int rows)
IPlotter
createRegions in interface IPlotter
public void createRegions(int columns,
int rows,
int start)
IPlotter
createRegions in interface IPlotterstart - Set the current region.public void setCurrentRegionNumber(int value)
IPlotter
setCurrentRegionNumber in interface IPlotterpublic int currentRegionNumber()
currentRegionNumber in interface IPlotterpublic IPlotterRegion region(int index)
region in interface IPlotterpublic void destroyRegions()
IPlotter
destroyRegions in interface IPlotterpublic void clearRegions()
IPlotter
clearRegions in interface IPlotterpublic String[] availableParameterOptions(String parameterName)
availableParameterOptions in interface IPlotterpublic String[] availableParameters()
availableParameters in interface IPlotterpublic String parameterValue(String parameterName)
IPlotter
parameterValue in interface IPlotterpublic void setParameter(String name)
setParameter in interface IPlotter
public void setParameter(String name,
String value)
setParameter in interface IPlotterpublic int numberOfRegions()
numberOfRegions in interface IPlotterpublic void setTitle(String str)
IPlotter
setTitle in interface IPlotterpublic String title()
IPlotter
title in interface IPlotterpublic ITitleStyle titleStyle()
IPlotter
titleStyle in interface IPlotterpublic void setTitleStyle(ITitleStyle iTitleStyle)
IPlotter
setTitleStyle in interface IPlotterpublic IPlotterStyle style()
IPlotter
style in interface IPlotterpublic void setStyle(IPlotterStyle style)
IPlotter
setStyle in interface IPlotter
public void writeToFile(String file)
throws IOException
IPlotter
writeToFile in interface IPlotterIOException
public void writeToFile(String file,
String type)
throws IOException
IPlotter
writeToFile in interface IPlottertype - A string to describe the type of the output :
"PS" or "PostScript" for PostScript, "JPEG" for JPEG.
If nothing is given, the type is guessed
from the given file name suffix (.ps for PostScript,
.jpg for JPEG, etc...).
IOException
public void writeToFile(String fileName,
String fileType,
Properties props)
throws IOException
IOExceptionpublic boolean isShowing()
public JPanel panel()
public static void invokeOnSwingThread(Runnable run)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||