Package jadex.base.gui.componentviewer
Class AbstractComponentViewerPanel
- java.lang.Object
- 
- jadex.base.gui.componentviewer.AbstractComponentViewerPanel
 
- 
- All Implemented Interfaces:
- IAbstractViewerPanel,- IComponentViewerPanel,- IPropertiesProvider
 - Direct Known Subclasses:
- BotGuiF2,- BotGuiF3,- BotGuiF4,- CleanerViewerPanel,- CleanerViewerPanel,- CustomerViewerPanel,- CustomerViewerPanel,- DaemonViewerPanel,- DefaultComponentServiceViewerPanel,- GuiViewerPanel,- GuiViewerPanel,- HelplineViewerPanel,- HelplineViewerPanel
 
 public abstract class AbstractComponentViewerPanel extends java.lang.Object implements IComponentViewerPanel Simple default viewer panel.
- 
- 
Field SummaryFields Modifier and Type Field Description protected IExternalAccesscomponentThe component.protected IControlCenterjccThe jcc.- 
Fields inherited from interface jadex.base.gui.componentviewer.IAbstractViewerPanelPROPERTY_VIEWERCLASS
 
- 
 - 
Constructor SummaryConstructors Constructor Description AbstractComponentViewerPanel()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description IExternalAccessgetActiveComponent()Get the component.abstract javax.swing.JComponentgetComponent()The component to be shown in the gui.java.lang.StringgetId()The id used for mapping properties.IControlCentergetJCC()Get the jcc.IFuture<Properties>getProperties()Advices the panel provide its setting as properties (if any).IFuture<java.lang.Void>init(IControlCenter jcc, IExternalAccess component)Called once to initialize the panel.IFuture<java.lang.Void>setProperties(Properties ps)Advices the the panel to restore its properties from the argumentIFuture<java.lang.Void>shutdown()Informs the panel that it should stop all its computation
 
- 
- 
- 
Field Detail- 
jccprotected IControlCenter jcc The jcc.
 - 
componentprotected IExternalAccess component The component.
 
- 
 - 
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
- Parameters:
- jcc- The jcc.
- component- The component.
 
 - 
shutdownpublic IFuture<java.lang.Void> shutdown() Informs the panel that it should stop all its computation- Specified by:
- shutdownin interface- IAbstractViewerPanel
 
 - 
getIdpublic java.lang.String getId() The id used for mapping properties.- Specified by:
- getIdin interface- IAbstractViewerPanel
 
 - 
getComponentpublic abstract javax.swing.JComponent getComponent() The component to be shown in the gui.- Specified by:
- getComponentin interface- IAbstractViewerPanel
- Returns:
- The component to be displayed.
 
 - 
setPropertiespublic IFuture<java.lang.Void> setProperties(Properties ps) Advices the the panel to restore its properties from the argument- Specified by:
- setPropertiesin interface- IPropertiesProvider
 
 - 
getPropertiespublic IFuture<Properties> getProperties() Advices the panel provide its setting as properties (if any). This is done on project close or save.- Specified by:
- getPropertiesin interface- IPropertiesProvider
 
 - 
getJCCpublic IControlCenter getJCC() Get the jcc.- Returns:
- the jcc.
 
 - 
getActiveComponentpublic IExternalAccess getActiveComponent() Get the component.
 
- 
 
-