Class CleanerViewerPanel
- java.lang.Object
-
- jadex.base.gui.componentviewer.AbstractComponentViewerPanel
-
- jadex.bdi.examples.cleanerworld_classic.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.JComponent
panel
The 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.JComponent
getComponent()
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:
init
in interfaceIComponentViewerPanel
- Overrides:
init
in classAbstractComponentViewerPanel
- Parameters:
jcc
- The jcc.component
- The component.
-
getComponent
public javax.swing.JComponent getComponent()
Provide the panel.- Specified by:
getComponent
in interfaceIAbstractViewerPanel
- Specified by:
getComponent
in classAbstractComponentViewerPanel
- Returns:
- The component to be displayed.
-
-