|
||||||||||
| 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.viewer.LiveMonitoringTreeTableViewer
public class LiveMonitoringTreeTableViewer
This class is the user interface of the table which show the list of which are plotted or not when the simulation is monitoring in live to know informations about convergence criteria.
| 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 | |
|---|---|
LiveMonitoringTreeTableViewer(MonitoringModel aModel)
Constructor of LiveMonitoringTreeTableViewer. |
|
| Method Summary | |
|---|---|
void |
categoryMonitoringNodeAdded(CategoryMonitoringNode categoryMonitoringNode)
A new MonitoringNode is added in the model. |
void |
cleanLastMeasures()
Re-initialize all measures considered like last measures. |
JPanel |
getBottomBar()
|
JPanel |
getFinalPanel()
|
int |
getLastCurveId()
|
MonitoringModel |
getMonitoringModel()
|
JPanel |
getTreePanel()
|
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. |
| 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 LiveMonitoringTreeTableViewer(MonitoringModel aModel)
Constructor of LiveMonitoringTreeTableViewer.
aModel - is the MonitoringModel monitored to know informations about convergence of simulation.| Method Detail |
|---|
public JPanel getTreePanel()
JPanel which contains the treeTable view of all curves plotted during live monitoring.public void categoryMonitoringNodeAdded(CategoryMonitoringNode categoryMonitoringNode)
MonitoringModelListenerMonitoringNode is added in the model.
categoryMonitoringNodeAdded in interface MonitoringModelListenerpublic void monitoringNodeRemoved(MonitoringNode monitoringNode)
MonitoringModelListenerMonitoringNode is removed in the model.
monitoringNodeRemoved in interface MonitoringModelListenermonitoringNode - is the MonitoringNode removed.
public void monitoringNodeVisibilityChanged(MonitoringNode monitoringNode,
boolean visibility)
MonitoringModelListenerMonitoringNode stored in the MonitoringModel has changed.
monitoringNodeVisibilityChanged in interface MonitoringModelListenermonitoringNode - The MonitoringNode which has this visibility which has changed.visibility - the new value of the visibility.
public void monitoringNodeColorChanged(MonitoringNode monitoringNode,
Color newColor)
MonitoringModelListenerMonitoringNode stored in the MonitoringModel has changed.
monitoringNodeColorChanged in interface MonitoringModelListenermonitoringNode - The MonitoringNode which has this color which has changed.newColor - the new value of the color.
public void notifyNewMeasure(int curveId,
double time,
double doubleValue,
String curveName,
MonitoringNode monitoringNode,
String xUnitName,
String yUnitName)
MonitoringModelListener
notifyNewMeasure in interface MonitoringModelListenercurveId - 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 curvepublic JPanel getFinalPanel()
JPanel which contains the treeTable view of all curves plotted during live monitoring and the
bottom bar which contains for example the export button.public JPanel getBottomBar()
LiveMonitoringTreeTableViewer. There is
the export button which is defined in this JPanel for example.public MonitoringModel getMonitoringModel()
MonitoringModel represented in this viewer.
public void notifyNewCurves(MonitoringNode monitoringNode,
String visualizerName,
String curveName,
String xUnitName,
String yUnitName,
String zUnitName,
String chartTitle,
String tabTitle)
MonitoringModelListenerMonitoringModelListeners stored in this
AbstractMonitoringModel.
notifyNewCurves in interface MonitoringModelListenermonitoringNode - 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.public int getLastCurveId()
getLastCurveId in interface MonitoringModelListenerpublic void notifyModelChanged()
MonitoringModelListener
notifyModelChanged in interface MonitoringModelListenerpublic void removeLastMeasures()
MonitoringModelListener
removeLastMeasures in interface MonitoringModelListenerpublic void cleanLastMeasures()
MonitoringModelListener
cleanLastMeasures in interface MonitoringModelListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||