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 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:
*-----
*----|
- Source Code:
- TimeHistoryOverlay.java
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimeHistoryOverlay
public TimeHistoryOverlay()
setData
public void setData(jas.hist.JASHistData data)
- Specified by:
setData
in interface CanSetData
setStyle
public void setStyle(jas.hist.JASHistStyle s)
getStyle
public jas.hist.JASHist1DHistogramStyle getStyle()
getTitle
public String getTitle()
- Specified by:
getTitle
in interface jas.plot.LegendEntry
paintIcon
public void paintIcon(jas.plot.PlotGraphics g,
int width,
int height)
- Specified by:
paintIcon
in interface jas.plot.LegendEntry
setTitle
public void setTitle(String newTitle)
- Specified by:
setTitle
in interface jas.plot.MutableLegendEntry
titleIsChanged
public boolean titleIsChanged()
- Specified by:
titleIsChanged
in interface jas.plot.MutableLegendEntry
setDataSource
public void setDataSource(jas.hist.DataSource sr)
- Specified by:
setDataSource
in interface jas.hist.CustomOverlay
containerNotify
public void containerNotify(jas.plot.OverlayContainer c)
- Specified by:
containerNotify
in interface jas.plot.Overlay
paint
public void paint(jas.plot.PlotGraphics g,
boolean isPrinting)
- Specified by:
paint
in interface jas.plot.Overlay
Copyright © 2000-2004 FreeHEP, All Rights Reserved.