hep.aida.ref.plotter
Class Plotter

java.lang.Object
  extended by hep.aida.ref.plotter.DummyPlotter
      extended by hep.aida.ref.plotter.Plotter
All Implemented Interfaces:
IPlotter

public class Plotter
extends DummyPlotter


Method Summary
 void destroyRegions()
          Destroy regions.
 void hide()
          Unmap the plotter on the screen.
 boolean isShowing()
           
 JPanel panel()
           
 void setStyle(IPlotterStyle style)
          Set the global plotter style.
 void show()
          Map the plotter on the screen.
 void writeToFile(String file, String type)
          Produce an output file.
 
Methods inherited from class hep.aida.ref.plotter.DummyPlotter
availableParameterOptions, availableParameters, clearRegions, createRegion, createRegion, createRegion, createRegion, createRegion, createRegions, createRegions, createRegions, createRegions, currentRegion, currentRegionNumber, interact, invokeOnSwingThread, next, numberOfRegions, parameterValue, refresh, region, setCurrentRegionNumber, setParameter, setParameter, setTitle, setTitleStyle, style, title, titleStyle, writeToFile, writeToFile
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setStyle

public void setStyle(IPlotterStyle style)
Description copied from interface: IPlotter
Set the global plotter style.

Specified by:
setStyle in interface IPlotter
Overrides:
setStyle in class DummyPlotter

isShowing

public boolean isShowing()
Overrides:
isShowing in class DummyPlotter

panel

public JPanel panel()
Overrides:
panel in class DummyPlotter

show

public void show()
Description copied from interface: IPlotter
Map the plotter on the screen.

Specified by:
show in interface IPlotter
Overrides:
show in class DummyPlotter

hide

public void hide()
Description copied from interface: IPlotter
Unmap the plotter on the screen.

Specified by:
hide in interface IPlotter
Overrides:
hide in class DummyPlotter

destroyRegions

public void destroyRegions()
Description copied from interface: IPlotter
Destroy regions.

Specified by:
destroyRegions in interface IPlotter
Overrides:
destroyRegions in class DummyPlotter

writeToFile

public void writeToFile(String file,
                        String type)
                 throws IOException
Description copied from interface: IPlotter
Produce an output file.

Specified by:
writeToFile in interface IPlotter
Overrides:
writeToFile in class DummyPlotter
type - 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...).
Throws:
IOException


jHepWork 3.2 © jWork.org