|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.keridwen.modelling.monitoring.visualizer.AbstractLiveMonitoringMap2DViewer
org.keridwen.modelling.monitoring.visualizer.LiveMonitoringSpectrogramViewer
public class LiveMonitoringSpectrogramViewer
This class is used to plot a spectrogram. This class uses a 2D map to create the spectrogram.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
LiveMonitoringSpectrogramViewer(CategoryMonitoringNode categoryMonitoringModel)
Constructor of LiveMonitoringSpectrogramViewer. |
|
| Method Summary | |
|---|---|
void |
addMonitoringNode(MonitoringNode monitoringNode,
String curveName,
String xUnitName,
String yUnitName,
String zUnitName,
String chartTitle)
Add monitoringNode used to display a new f(x)=y curve/spectrogram/2D map. |
protected void |
displayMonitoring(MonitoringNode monitoringNode,
String xUnitName,
String yUnitName,
String zUnitName,
String chartTitle)
|
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. |
| Methods inherited from class org.keridwen.modelling.monitoring.visualizer.AbstractLiveMonitoringMap2DViewer |
|---|
categoryMonitoringNodeAdded, cleanLastMeasures, computeGradient, getCategoryMonitoringNode, getComponent, getjFreeChart, getLastCurveId, getLastMeasures, getMaxZValue, getMinZValue, getNodeName, monitoringNodeColorChanged, notifyModelChanged, notifyNewCurves, notifyNewMeasure, removeLastMeasures, setMaxZValue, setMinZValue |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LiveMonitoringSpectrogramViewer(CategoryMonitoringNode categoryMonitoringModel)
LiveMonitoringSpectrogramViewer.
monitoringModel - is the MonitoringModel monitored to know informations about convergence of simulation.categoryMonitoringModel - The reference to the CategoryMonitoringNode represented by this viewer.| Method Detail |
|---|
public void monitoringNodeRemoved(MonitoringNode monitoringNode)
MonitoringModelListenerMonitoringNode is removed in the model.
monitoringNode - is the MonitoringNode removed.
public void monitoringNodeVisibilityChanged(MonitoringNode monitoringNode,
boolean visibility)
MonitoringModelListenerMonitoringNode stored in the MonitoringModel has changed.
monitoringNode - The MonitoringNode which has this visibility which has changed.visibility - the new value of the visibility.
public void addMonitoringNode(MonitoringNode monitoringNode,
String curveName,
String xUnitName,
String yUnitName,
String zUnitName,
String chartTitle)
Visualizer
addMonitoringNode in interface VisualizeraddMonitoringNode in class AbstractLiveMonitoringMap2DViewermonitoringNode - is the MonitoringNode used to store informations used to plot the new curves.curveName - the name of the curve.xUnitName - the unit of the x-axis.yUnitName - the unit of the y-axis.
protected void displayMonitoring(MonitoringNode monitoringNode,
String xUnitName,
String yUnitName,
String zUnitName,
String chartTitle)
displayMonitoring in class AbstractLiveMonitoringMap2DViewer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||