|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MonitoringModel
This interface is the model used to monitor simulation.
| Method Summary | |
|---|---|
void |
addCategoryMonitoringNode(CategoryMonitoringNode currentNode)
Add a category node in the monitoring model. |
void |
addChartViewerConfigurationListener(ChartViewerConfigurationListener chartViewerConfigurationListener)
Add a ChartViewerConfigurationListener which listen the model. |
void |
addModelListener(MonitoringModelListener listener)
Add an object which listen the monitoring model. |
void |
addVisualizer(Visualizer visualizer)
Add the visualizer(which displays the curves, spectrograms, ...) to the current perspective. |
void |
addVisualizerListener(Visualizer listener)
Add an object which listen the monitoring model. |
void |
clearModel()
Clear the MonitoringModel. |
void |
exportAll()
Export all MonitoringNode contains in MonitoringModel. |
Map<URI,com.artenum.penelope.mesh.interfaces.Mesh> |
getMeshMap()
|
List<MonitoringNode> |
getSelectedMonitoringNodes()
|
void |
notifyModelChanged()
Notify the model changed (add/removed node, ...). |
void |
notifyNewCurveAdded(MonitoringNode monitoringNode)
Notify a new curve has been added to the mode. |
void |
notifyNewMeasure(int curveId,
double time,
double doubleValue,
String curveName,
MonitoringNode monitoringNode,
String xUnitName,
String yUnitName)
Notify all listeners, a new measure is done. |
void |
notifyVisibilityChanged(MonitoringNode monitoringNode,
boolean visibility)
Notify the visibility of a node has been changed. |
boolean |
removeMonitoringNode(MonitoringNode monitoringNode)
Remove a MonitoringNode stores in the MonitoringNode. |
void |
removeVisualizerListener(Visualizer listener)
Remove an object which listen the monitoring model. |
void |
setSelectedNodes(List<MonitoringNode> nodes)
|
| Methods inherited from interface org.jdesktop.swingx.treetable.TreeTableModel |
|---|
getColumnClass, getColumnCount, getColumnName, getHierarchicalColumn, getValueAt, isCellEditable, setValueAt |
| Methods inherited from interface javax.swing.tree.TreeModel |
|---|
addTreeModelListener, getChild, getChildCount, getIndexOfChild, getRoot, isLeaf, removeTreeModelListener, valueForPathChanged |
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Method Detail |
|---|
void addChartViewerConfigurationListener(ChartViewerConfigurationListener chartViewerConfigurationListener)
ChartViewerConfigurationListener which listen the model. For example when a new
CategoryMonitoringNode is added.
chartViewerConfigurationListener - the ChartViewerConfigurationListener which must be added.void addCategoryMonitoringNode(CategoryMonitoringNode currentNode)
currentNode - the CategoryMonitoringNode which must be added.void addModelListener(MonitoringModelListener listener)
listener - the MonitoringModelListener which must be added.void addVisualizerListener(Visualizer listener)
listener - the Visualizer which must be added.void removeVisualizerListener(Visualizer listener)
listener - the MonitoringModelListener which must be removed.
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 curve.void setSelectedNodes(List<MonitoringNode> nodes)
nodes - The selected MonitoringNodes.List<MonitoringNode> getSelectedMonitoringNodes()
MonitoringNode selected.void exportAll()
MonitoringNode contains in MonitoringModel.
Map<URI,com.artenum.penelope.mesh.interfaces.Mesh> getMeshMap()
void clearModel()
MonitoringModel. It will be empty after this method.
boolean removeMonitoringNode(MonitoringNode monitoringNode)
MonitoringNode stores in the MonitoringNode.
monitoringNode - the MonitoringNode which must be removed.
MonitoringNode is correctly removed, else return false.void addVisualizer(Visualizer visualizer)
visualizer - is the Visualizer which must be added.void notifyModelChanged()
void notifyVisibilityChanged(MonitoringNode monitoringNode,
boolean visibility)
monitoringNode - the MonitoringNode which has the visibility changed.visibility - the new visibility of the MonitoringNode. True if the node must be visible, false if the node
must NOT be visible.void notifyNewCurveAdded(MonitoringNode monitoringNode)
monitoringNode - the new MonitoringNode added.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||