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 SummaryFields Modifier and Type Field Description protected javax.swing.JPanelpanelThe panel.static java.lang.StringPROPERTY_COMPONENTVIEWERCLASSThe constant for the optional component viewerclass.- 
Fields inherited from class jadex.base.gui.componentviewer.AbstractComponentViewerPanelcomponent, jcc
 - 
Fields inherited from interface jadex.base.gui.componentviewer.IAbstractViewerPanelPROPERTY_VIEWERCLASS
 
- 
 - 
Constructor SummaryConstructors Constructor Description DefaultComponentServiceViewerPanel()
 - 
Method SummaryAll 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.JComponentgetComponent()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.AbstractComponentViewerPanelgetActiveComponent, getId, getJCC, getProperties, setProperties, shutdown
 
- 
 
- 
- 
- 
Field Detail- 
PROPERTY_COMPONENTVIEWERCLASSpublic static final java.lang.String PROPERTY_COMPONENTVIEWERCLASS The constant for the optional component viewerclass.- See Also:
- Constant Field Values
 
 - 
panelprotected javax.swing.JPanel panel The panel.
 
- 
 - 
Method Detail- 
initpublic IFuture<java.lang.Void> init(IControlCenter jcc, IExternalAccess component) Called once to initialize the panel. Called on the swing thread.- Specified by:
- initin interface- IComponentViewerPanel
- Overrides:
- initin class- AbstractComponentViewerPanel
- Parameters:
- jcc- The jcc.
- component- The component.
 
 - 
createPanelsprotected IFuture<java.lang.Void> createPanels(IExternalAccess exta, java.util.Collection<IService> services) Create the panels.
 - 
getComponentpublic javax.swing.JComponent getComponent() The component to be shown in the gui.- Specified by:
- getComponentin interface- IAbstractViewerPanel
- Specified by:
- getComponentin class- AbstractComponentViewerPanel
- Returns:
- The component to be displayed.
 
 - 
getGuiClassesprotected static java.lang.Class<?>[] getGuiClasses(java.lang.Object prop, java.lang.ClassLoader cl)Get the gui classes for a property.
 
- 
 
-