hep.aida.ref.plotter.adapter
Class TimeHistoryOverlay
- java.lang.Object
-
- hep.aida.ref.plotter.adapter.TimeHistoryOverlay
-
- All Implemented Interfaces:
- CanSetData, jas.hist.CustomOverlay, jas.plot.LegendEntry, jas.plot.MutableLegendEntry, jas.plot.Overlay
public class TimeHistoryOverlay extends java.lang.Object implements CanSetData, jas.hist.CustomOverlay, jas.plot.MutableLegendEntry
Overlay that can be used with XYDataSource to represent time histories It draws straight horizontal line after the point and vertical just before the next point: *----- *----|
-
-
Constructor Summary
Constructors Constructor and Description TimeHistoryOverlay()
-
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