Class AbstractServiceViewerPanel<T>

    • Field Detail

      • service

        protected T service
        The service.
      • shutdown

        protected boolean shutdown
        True, after shutdown.
    • Constructor Detail

      • AbstractServiceViewerPanel

        public AbstractServiceViewerPanel()
    • Method Detail

      • init

        public IFuture<java.lang.Void> init​(IControlCenter jcc,
                                            IService service)
        Called once to initialize the panel. Called on the swing thread.
        Specified by:
        init in interface IServiceViewerPanel
        Parameters:
        jcc - The jcc.
        component - The component.
      • isShutdown

        public boolean isShutdown()
        Test if the panel is already shut down.
      • getId

        public java.lang.String getId()
        The id used for mapping properties.
        Specified by:
        getId in interface IAbstractViewerPanel
      • getComponent

        public abstract javax.swing.JComponent getComponent()
        The component to be shown in the gui.
        Specified by:
        getComponent in interface IAbstractViewerPanel
        Returns:
        The component to be displayed.
      • getJCC

        public IControlCenter getJCC()
        Get the jcc.
        Returns:
        the jcc.
      • isLocal

        public boolean isLocal()
        Test if the service is a local service.
      • getServiceAccess

        public IFuture<IExternalAccess> getServiceAccess()
        Get the external access of the component providing the service. Might refer to a different platform than jcc access abnd platform access!
      • getService

        public T getService()
        Get the service.