public abstract class AbstractComponentViewerPanel extends java.lang.Object implements IComponentViewerPanel
| Modifier and Type | Field and Description |
|---|---|
protected jadex.bridge.IExternalAccess |
component
The component.
|
protected IControlCenter |
jcc
The jcc.
|
PROPERTY_VIEWERCLASS| Constructor and Description |
|---|
AbstractComponentViewerPanel() |
| Modifier and Type | Method and Description |
|---|---|
jadex.bridge.IExternalAccess |
getActiveComponent()
Get the component.
|
abstract javax.swing.JComponent |
getComponent()
The component to be shown in the gui.
|
java.lang.String |
getId()
The id used for mapping properties.
|
IControlCenter |
getJCC()
Get the jcc.
|
jadex.commons.future.IFuture<jadex.commons.Properties> |
getProperties()
Advices the panel provide its setting as properties (if any).
|
jadex.commons.future.IFuture<java.lang.Void> |
init(IControlCenter jcc,
jadex.bridge.IExternalAccess component)
Called once to initialize the panel.
|
jadex.commons.future.IFuture<java.lang.Void> |
setProperties(jadex.commons.Properties ps)
Advices the the panel to restore its properties from the argument
|
jadex.commons.future.IFuture<java.lang.Void> |
shutdown()
Informs the panel that it should stop all its computation
|
protected IControlCenter jcc
protected jadex.bridge.IExternalAccess component
public jadex.commons.future.IFuture<java.lang.Void> init(IControlCenter jcc, jadex.bridge.IExternalAccess component)
init in interface IComponentViewerPaneljcc - The jcc.component - The component.public jadex.commons.future.IFuture<java.lang.Void> shutdown()
shutdown in interface IAbstractViewerPanelpublic java.lang.String getId()
getId in interface IAbstractViewerPanelpublic abstract javax.swing.JComponent getComponent()
getComponent in interface IAbstractViewerPanelpublic jadex.commons.future.IFuture<java.lang.Void> setProperties(jadex.commons.Properties ps)
setProperties in interface jadex.commons.IPropertiesProviderpublic jadex.commons.future.IFuture<jadex.commons.Properties> getProperties()
getProperties in interface jadex.commons.IPropertiesProviderpublic IControlCenter getJCC()
public jadex.bridge.IExternalAccess getActiveComponent()