|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MonitoringModelListener
Interface which defines actions supported by the listeners of the AbstractMonitoringModel.
| Method Summary | |
|---|---|
void |
categoryMonitoringNodeAdded(CategoryMonitoringNode categoryMonitoringNode)
A new MonitoringNode is added in the model. |
void |
cleanLastMeasures()
Re-initialize all measures considered like last measures. |
int |
getLastCurveId()
|
void |
monitoringNodeColorChanged(MonitoringNode monitoringNode,
Color newColor)
The color of the curve represented by a MonitoringNode stored in the MonitoringModel has changed. |
void |
monitoringNodeRemoved(MonitoringNode monitoringNode)
A new MonitoringNode is removed in the model. |
void |
monitoringNodeVisibilityChanged(MonitoringNode monitoringNode,
boolean visibility)
the visibility of a MonitoringNode stored in the MonitoringModel has changed. |
void |
notifyModelChanged()
Notify the model changed. |
void |
notifyNewCurves(MonitoringNode monitoringNode,
String visualizerName,
String curveName,
String xUnitName,
String yUnitName,
String zUnitName,
String chartTitle,
String tabTitle)
Notify a new curve is added to the MonitoringModelListeners stored in this
AbstractMonitoringModel. |
void |
notifyNewMeasure(int curveId,
double time,
double doubleValue,
String curveName,
MonitoringNode monitoringNode,
String xUnitName,
String yUnitName)
Notify listeners, a new measure is done. |
void |
removeLastMeasures()
Remove last measures computed. |
| Method Detail |
|---|
void notifyNewMeasure(int curveId,
double time,
double doubleValue,
String curveName,
MonitoringNode monitoringNode,
String xUnitName,
String yUnitName)
curveId - the id of the curve plotted in the JFreeChart object.time - the new time measure done.doubleValue - the new valued computed associated to the time.curveName - the name of the curvevoid categoryMonitoringNodeAdded(CategoryMonitoringNode categoryMonitoringNode)
MonitoringNode is added in the model.
monitoringNode - is the MonitoringNode added.void monitoringNodeRemoved(MonitoringNode monitoringNode)
MonitoringNode is removed in the model.
monitoringNode - is the MonitoringNode removed.
void monitoringNodeVisibilityChanged(MonitoringNode monitoringNode,
boolean visibility)
MonitoringNode stored in the MonitoringModel has changed.
monitoringNode - The MonitoringNode which has this visibility which has changed.visibility - the new value of the visibility.
void monitoringNodeColorChanged(MonitoringNode monitoringNode,
Color newColor)
MonitoringNode stored in the MonitoringModel has changed.
monitoringNode - The MonitoringNode which has this color which has changed.newColor - the new value of the color.
void notifyNewCurves(MonitoringNode monitoringNode,
String visualizerName,
String curveName,
String xUnitName,
String yUnitName,
String zUnitName,
String chartTitle,
String tabTitle)
MonitoringModelListeners stored in this
AbstractMonitoringModel.
monitoringNode - the MonitoringNode which contains informations ( DataField ) used to create the new
curve.visualizerName - the name of the visualizer used to know where the new curves must be added.curveName - the name of the curve used to define the legend.xUnitName - the name of the x-axis of the new curve.yUnitName - the name of the y-axis of the new curve.zUnitName - the name of the z-axis of the new curve.tabTitle - the name of the tab where is strored this visualizer. It is used to know if you must add the new curve in this visualizer or not.int getLastCurveId()
void notifyModelChanged()
void removeLastMeasures()
void cleanLastMeasures()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||