simtools.shapes
Interface CurveShapeListener

All Known Implementing Classes:
CurveStatisticsPanel, Plot, PlotShape, TimeCurveStatisticPanel, TimePlot, TimePlot

public interface CurveShapeListener

An interface used to notify on curve changes.

See Also:
PlotShape

Method Summary
 void shapeChanged(CurveShape cs)
          This function is called when the shape changed.
 void shapeDataChanged(CurveShape cs, DataSource oldData, DataSource newData, boolean onX)
          This function is called when one of the data displayed by the curve is replaced
 

Method Detail

shapeChanged

void shapeChanged(CurveShape cs)
This function is called when the shape changed.

Parameters:
cs - the curve

shapeDataChanged

void shapeDataChanged(CurveShape cs,
                      DataSource oldData,
                      DataSource newData,
                      boolean onX)
This function is called when one of the data displayed by the curve is replaced

Parameters:
cs - the curve
oldData - the old data
newData - the new data
isOnX - true for X axis false otherwise