Package jadex.base.gui.componentviewer
Class DefaultComponentServiceViewerPanel
- java.lang.Object
-
- jadex.base.gui.componentviewer.AbstractComponentViewerPanel
-
- jadex.base.gui.componentviewer.DefaultComponentServiceViewerPanel
-
- All Implemented Interfaces:
IAbstractViewerPanel
,IComponentViewerPanel
,IPropertiesProvider
public class DefaultComponentServiceViewerPanel extends AbstractComponentViewerPanel
Default panel for viewing BDI agents that include viewable capabilities.
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.swing.JPanel
panel
The panel.static java.lang.String
PROPERTY_COMPONENTVIEWERCLASS
The constant for the optional component viewerclass.-
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 DefaultComponentServiceViewerPanel()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IFuture<java.lang.Void>
createPanels(IExternalAccess exta, java.util.Collection<IService> services)
Create the panels.javax.swing.JComponent
getComponent()
The component to be shown in the gui.protected static java.lang.Class<?>[]
getGuiClasses(java.lang.Object prop, java.lang.ClassLoader cl)
Get the gui classes for a property.IFuture<java.lang.Void>
init(IControlCenter jcc, IExternalAccess component)
Called once to initialize the panel.-
Methods inherited from class jadex.base.gui.componentviewer.AbstractComponentViewerPanel
getActiveComponent, getId, getJCC, getProperties, setProperties, shutdown
-
-
-
-
Field Detail
-
PROPERTY_COMPONENTVIEWERCLASS
public static final java.lang.String PROPERTY_COMPONENTVIEWERCLASS
The constant for the optional component viewerclass.- See Also:
- Constant Field Values
-
panel
protected javax.swing.JPanel panel
The panel.
-
-
Method Detail
-
init
public IFuture<java.lang.Void> init(IControlCenter jcc, IExternalAccess component)
Called once to initialize the panel. Called on the swing thread.- Specified by:
init
in interfaceIComponentViewerPanel
- Overrides:
init
in classAbstractComponentViewerPanel
- Parameters:
jcc
- The jcc.component
- The component.
-
createPanels
protected IFuture<java.lang.Void> createPanels(IExternalAccess exta, java.util.Collection<IService> services)
Create the panels.
-
getComponent
public javax.swing.JComponent getComponent()
The component to be shown in the gui.- Specified by:
getComponent
in interfaceIAbstractViewerPanel
- Specified by:
getComponent
in classAbstractComponentViewerPanel
- Returns:
- The component to be displayed.
-
getGuiClasses
protected static java.lang.Class<?>[] getGuiClasses(java.lang.Object prop, java.lang.ClassLoader cl)
Get the gui classes for a property.
-
-