Package jadex.bdiv3.examples.shop
Class CustomerViewerPanel
- java.lang.Object
-
- jadex.base.gui.componentviewer.AbstractComponentViewerPanel
-
- jadex.bdiv3.examples.shop.CustomerViewerPanel
-
- All Implemented Interfaces:
IAbstractViewerPanel
,IComponentViewerPanel
,IPropertiesProvider
public class CustomerViewerPanel extends AbstractComponentViewerPanel
Panel for the customer view.
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.swing.JPanel
panel
The panel.-
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 CustomerViewerPanel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JComponent
getComponent()
The component to be shown in the gui.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
-
-
-
-
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.
-
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.
-
-