public class DefaultComponentServiceViewerPanel extends AbstractComponentViewerPanel
Modifier and Type | Field and Description |
---|---|
protected javax.swing.JPanel |
panel
The panel.
|
static java.lang.String |
PROPERTY_COMPONENTVIEWERCLASS
The constant for the optional component viewerclass.
|
component, jcc
PROPERTY_VIEWERCLASS
Constructor and Description |
---|
DefaultComponentServiceViewerPanel() |
Modifier and Type | Method and Description |
---|---|
protected jadex.commons.future.IFuture<java.lang.Void> |
createPanels(jadex.bridge.IExternalAccess exta,
java.util.Collection<jadex.bridge.service.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.
|
jadex.commons.future.IFuture<java.lang.Void> |
init(IControlCenter jcc,
jadex.bridge.IExternalAccess component)
Called once to initialize the panel.
|
getActiveComponent, getId, getJCC, getProperties, setProperties, shutdown
public static final java.lang.String PROPERTY_COMPONENTVIEWERCLASS
protected javax.swing.JPanel panel
public jadex.commons.future.IFuture<java.lang.Void> init(IControlCenter jcc, jadex.bridge.IExternalAccess component)
init
in interface IComponentViewerPanel
init
in class AbstractComponentViewerPanel
jcc
- The jcc.component
- The component.protected jadex.commons.future.IFuture<java.lang.Void> createPanels(jadex.bridge.IExternalAccess exta, java.util.Collection<jadex.bridge.service.IService> services)
public javax.swing.JComponent getComponent()
getComponent
in interface IAbstractViewerPanel
getComponent
in class AbstractComponentViewerPanel
protected static java.lang.Class<?>[] getGuiClasses(java.lang.Object prop, java.lang.ClassLoader cl)