Class Application.Adapter

  • All Implemented Interfaces:
    Application
    Enclosing interface:
    Application

    @Deprecated
    public static class Application.Adapter
    extends java.lang.Object
    implements Application
    Deprecated.
    Since 2.1 and Java 8 the interface itself has default implementations.
    Application adapter.
    • Constructor Detail

      • Adapter

        public Adapter()
        Deprecated.
    • Method Detail

      • startup

        public void startup​(Display display,
                            Map<java.lang.String,​java.lang.String> properties)
                     throws java.lang.Exception
        Deprecated.
        Description copied from interface: Application
        Called when the application is starting up.
        Specified by:
        startup in interface Application
        Parameters:
        display - The display on which this application was started.
        properties - Initialization properties passed to the application.
        Throws:
        java.lang.Exception - if there is any problem during startup.
      • shutdown

        public boolean shutdown​(boolean optional)
                         throws java.lang.Exception
        Deprecated.
        Description copied from interface: Application
        Called when the application is being shut down.
        Specified by:
        shutdown in interface Application
        Parameters:
        optional - If true, the shutdown may be cancelled by returning a value of true.
        Returns:
        true to cancel shutdown, false to proceed with shutdown (default).
        Throws:
        java.lang.Exception - if there is a problem during shutdown.
      • suspend

        public void suspend()
                     throws java.lang.Exception
        Deprecated.
        Description copied from interface: Application
        Called to notify the application that it is being suspended.
        Specified by:
        suspend in interface Application
        Throws:
        java.lang.Exception - if there is a problem doing the suspend.
      • resume

        public void resume()
                    throws java.lang.Exception
        Deprecated.
        Description copied from interface: Application
        Called when a suspended application has been resumed.
        Specified by:
        resume in interface Application
        Throws:
        java.lang.Exception - if there is a problem doing the resume.