Class CleanerViewerPanel
- java.lang.Object
-
- jadex.base.gui.componentviewer.AbstractComponentViewerPanel
-
- jadex.bdi.examples.cleanerworld.cleaner.CleanerViewerPanel
-
- All Implemented Interfaces:
IAbstractViewerPanel,IComponentViewerPanel,IPropertiesProvider
public class CleanerViewerPanel extends AbstractComponentViewerPanel
The cleaner panel allows including the cleaner GUI in the JCC.
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.swing.JComponentpanelThe cleaner panel.-
Fields inherited from class jadex.base.gui.componentviewer.AbstractComponentViewerPanel
component, jcc
-
Fields inherited from interface jadex.base.gui.componentviewer.IAbstractViewerPanel
PROPERTY_VIEWERCLASS
-
-
Constructor Summary
Constructors Constructor Description CleanerViewerPanel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JComponentgetComponent()Provide the panel.IFuture<java.lang.Void>init(IControlCenter jcc, IExternalAccess component)Called to initialize the panel.-
Methods inherited from class jadex.base.gui.componentviewer.AbstractComponentViewerPanel
getActiveComponent, getId, getJCC, getProperties, setProperties, shutdown
-
-
-
-
Method Detail
-
init
public IFuture<java.lang.Void> init(IControlCenter jcc, IExternalAccess component)
Called to initialize the panel.- Specified by:
initin interfaceIComponentViewerPanel- Overrides:
initin classAbstractComponentViewerPanel- Parameters:
jcc- The jcc.component- The component.
-
getComponent
public javax.swing.JComponent getComponent()
Provide the panel.- Specified by:
getComponentin interfaceIAbstractViewerPanel- Specified by:
getComponentin classAbstractComponentViewerPanel- Returns:
- The component to be displayed.
-
-