hep.aida.ref.plotter.adapter
Class ScalerOverlay
- java.lang.Object
-
- hep.aida.ref.plotter.adapter.ScalerOverlay
-
- All Implemented Interfaces:
- CanSetData, jas.hist.CustomOverlay, jas.plot.LegendEntry, jas.plot.MutableLegendEntry, jas.plot.Overlay
public class ScalerOverlay extends java.lang.Object implements CanSetData, jas.hist.CustomOverlay, jas.plot.MutableLegendEntry
Overlay that can be used with XYDataSource to represent time scalers It jusr connects points with straight lines
-
-
Constructor Summary
Constructors Constructor and Description ScalerOverlay()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidcontainerNotify(jas.plot.OverlayContainer c)jas.hist.JASHist1DHistogramStylegetStyle()java.lang.StringgetTitle()voidpaint(jas.plot.PlotGraphics g, boolean isPrinting)voidpaintIcon(jas.plot.PlotGraphics g, int width, int height)voidsetData(jas.hist.JASHistData data)voidsetDataSource(jas.hist.DataSource sr)voidsetStyle(jas.hist.JASHistStyle s)voidsetTitle(java.lang.String newTitle)booleantitleIsChanged()
-
-
-
Method Detail
-
setData
public void setData(jas.hist.JASHistData data)
- Specified by:
setDatain interfaceCanSetData
-
setStyle
public void setStyle(jas.hist.JASHistStyle s)
-
getStyle
public jas.hist.JASHist1DHistogramStyle getStyle()
-
getTitle
public java.lang.String getTitle()
- Specified by:
getTitlein interfacejas.plot.LegendEntry
-
paintIcon
public void paintIcon(jas.plot.PlotGraphics g, int width, int height)- Specified by:
paintIconin interfacejas.plot.LegendEntry
-
setTitle
public void setTitle(java.lang.String newTitle)
- Specified by:
setTitlein interfacejas.plot.MutableLegendEntry
-
titleIsChanged
public boolean titleIsChanged()
- Specified by:
titleIsChangedin interfacejas.plot.MutableLegendEntry
-
setDataSource
public void setDataSource(jas.hist.DataSource sr)
- Specified by:
setDataSourcein interfacejas.hist.CustomOverlay
-
containerNotify
public void containerNotify(jas.plot.OverlayContainer c)
- Specified by:
containerNotifyin interfacejas.plot.Overlay
-
paint
public void paint(jas.plot.PlotGraphics g, boolean isPrinting)- Specified by:
paintin interfacejas.plot.Overlay
-
-
DMelt 3.0 © DataMelt by jWork.ORG