jadex.bdi.planlib
Class DefaultBDIViewerPanel

java.lang.Object
  extended by jadex.base.gui.componentviewer.AbstractComponentViewerPanel
      extended by jadex.bdi.planlib.DefaultBDIViewerPanel
All Implemented Interfaces:
IAbstractViewerPanel, IComponentViewerPanel

public class DefaultBDIViewerPanel
extends AbstractComponentViewerPanel

Default panel for viewing BDI agents that include viewable capabilities.


Field Summary
protected  javax.swing.JPanel panel
          The panel.
static java.lang.String PROPERTY_AGENTVIEWERCLASS
          The constant for the agent optional viewerclass.
static java.lang.String PROPERTY_INCLUDESUBCAPABILITIES
          The constant for the agent optional 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
DefaultBDIViewerPanel()
           
 
Method Summary
protected  void createPanels(java.lang.String[] subcapnames, ILibraryService ls, Future ret)
          Create the panels.
 javax.swing.JComponent getComponent()
          The component to be shown in the gui.
 IFuture 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_AGENTVIEWERCLASS

public static final java.lang.String PROPERTY_AGENTVIEWERCLASS
The constant for the agent optional viewerclass.

See Also:
Constant Field Values

PROPERTY_INCLUDESUBCAPABILITIES

public static final java.lang.String PROPERTY_INCLUDESUBCAPABILITIES
The constant for the agent optional viewerclass.

See Also:
Constant Field Values

panel

protected javax.swing.JPanel panel
The panel.

Constructor Detail

DefaultBDIViewerPanel

public DefaultBDIViewerPanel()
Method Detail

init

public IFuture init(IControlCenter jcc,
                    IExternalAccess component)
Called once to initialize the panel. Called on the swing thread.

Specified by:
init in interface IComponentViewerPanel
Overrides:
init in class AbstractComponentViewerPanel
Parameters:
jcc - The jcc.
component - The component.

createPanels

protected void createPanels(java.lang.String[] subcapnames,
                            ILibraryService ls,
                            Future ret)
Create the panels.


getComponent

public javax.swing.JComponent getComponent()
The component to be shown in the gui.

Specified by:
getComponent in interface IAbstractViewerPanel
Specified by:
getComponent in class AbstractComponentViewerPanel
Returns:
The component to be displayed.


Copyright © 2010. All Rights Reserved.