Package jadex.tools.monitoring
Class MonitoringPanel
- java.lang.Object
-
- jadex.tools.monitoring.MonitoringPanel
-
- All Implemented Interfaces:
IAbstractViewerPanel,IServiceViewerPanel,IPropertiesProvider
public class MonitoringPanel extends java.lang.Object implements IServiceViewerPanel
The monitoring settings panel.
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.swing.JPanelinnerThe tree of events.protected IMonitoringServicemonserviceThe monitoring service.-
Fields inherited from interface jadex.base.gui.componentviewer.IAbstractViewerPanel
PROPERTY_VIEWERCLASS
-
-
Constructor Summary
Constructors Constructor Description MonitoringPanel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JComponentgetComponent()Get the component.java.lang.StringgetId()The id used for mapping properties.IFuture<Properties>getProperties()Advices the panel provide its setting as properties (if any).IFuture<java.lang.Void>init(IControlCenter jcc, IService service)Create main panel.IFuture<java.lang.Void>setProperties(Properties props)Advices the the panel to restore its properties from the argumentIFuture<java.lang.Void>shutdown()Informs the plugin that it should stop all its computation
-
-
-
Field Detail
-
monservice
protected IMonitoringService monservice
The monitoring service.
-
inner
protected javax.swing.JPanel inner
The tree of events.
-
-
Method Detail
-
init
public IFuture<java.lang.Void> init(IControlCenter jcc, IService service)
Create main panel.- Specified by:
initin interfaceIServiceViewerPanel- Parameters:
jcc- The jcc.service- The service.- Returns:
- The main panel.
-
shutdown
public IFuture<java.lang.Void> shutdown()
Informs the plugin that it should stop all its computation- Specified by:
shutdownin interfaceIAbstractViewerPanel
-
getComponent
public javax.swing.JComponent getComponent()
Get the component.- Specified by:
getComponentin interfaceIAbstractViewerPanel- Returns:
- The component to be displayed.
-
getId
public java.lang.String getId()
The id used for mapping properties.- Specified by:
getIdin interfaceIAbstractViewerPanel
-
setProperties
public IFuture<java.lang.Void> setProperties(Properties props)
Advices the the panel to restore its properties from the argument- Specified by:
setPropertiesin interfaceIPropertiesProvider
-
getProperties
public IFuture<Properties> getProperties()
Advices the panel provide its setting as properties (if any). This is done on project close or save.- Specified by:
getPropertiesin interfaceIPropertiesProvider
-
-