org.keridwen.modelling.monitoring.util
Class ChartViewerConfiguration

java.lang.Object
  extended by org.keridwen.modelling.monitoring.util.ChartViewerConfiguration
All Implemented Interfaces:
ChartViewerConfigurationListener, SelectedMonitoringNodeListener

public class ChartViewerConfiguration
extends Object
implements ChartViewerConfigurationListener, SelectedMonitoringNodeListener

This class is used to configure the LiveMonitoringCurvesViewer from the monitoring model. For example if you want to add a new LiveMonitoringCurvesViewer when a new CategoryMonitoringNode is added, you can use this class.


Constructor Summary
ChartViewerConfiguration(org.keridwen.core.ui.dockingframes.MainViewService mainViewService, int xPos, int yPos, int aWidth, int aHeight, String mainViewServiceContainerName)
          Constructor of the ChartViewerConfiguration.
 
Method Summary
 void addComponent(Container container, String componentTitle)
          Add a Container in the user interface
 void clearVisualizer()
          Clear Visualizer previously recorded.
 void notifyVisualizerAdded(Visualizer visualizer)
          Notify a Visualizer is added.
 void visualizeNode(MonitoringNode monitoringNode, boolean isVTKActive)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartViewerConfiguration

public ChartViewerConfiguration(org.keridwen.core.ui.dockingframes.MainViewService mainViewService,
                                int xPos,
                                int yPos,
                                int aWidth,
                                int aHeight,
                                String mainViewServiceContainerName)
Constructor of the ChartViewerConfiguration.

Parameters:
mainViewService - MainViewService which contains the user interface which must be updated.
xPos - The x position of the new composant which must be added in the mainViewService
yPos - The y position of the new composant which must be added in the mainViewService
aWidth - The width of the new composant which must be added in the mainViewService
aHeight - The height of the new composant which must be added in the mainViewService
mainViewServiceContainerName - The name of the container which contains the mainViewService.
Method Detail

visualizeNode

public void visualizeNode(MonitoringNode monitoringNode,
                          boolean isVTKActive)
Specified by:
visualizeNode in interface SelectedMonitoringNodeListener
Parameters:
monitoringNode - is the new MonitoringNode selected.

notifyVisualizerAdded

public void notifyVisualizerAdded(Visualizer visualizer)
Description copied from interface: ChartViewerConfigurationListener
Notify a Visualizer is added.

Specified by:
notifyVisualizerAdded in interface ChartViewerConfigurationListener
Parameters:
visualizer - is the Visualizer added.

clearVisualizer

public void clearVisualizer()
Description copied from interface: ChartViewerConfigurationListener
Clear Visualizer previously recorded.

Specified by:
clearVisualizer in interface ChartViewerConfigurationListener

addComponent

public void addComponent(Container container,
                         String componentTitle)
Description copied from interface: SelectedMonitoringNodeListener
Add a Container in the user interface

Specified by:
addComponent in interface SelectedMonitoringNodeListener
Parameters:
container - the Container which must be added.
componentTitle - the title of the tab added in the user interface and which contains the Container.


Copyright © 2012-2013 Artenum. All Rights Reserved.