Class AbstractInitialization

    • Constructor Detail

      • AbstractInitialization

        public AbstractInitialization()
    • Method Detail

      • getTitle

        public abstract String getTitle()
        The title of the initialization.
        Specified by:
        getTitle in interface Initialization
        Returns:
        the title
      • doInitialize

        protected abstract boolean doInitialize​(AbstractApplicationFrame parent)
        Performs the initialization.
        Parameters:
        parent - the application this initialization is for
        Returns:
        true if successful
      • initialize

        public boolean initialize​(AbstractApplicationFrame parent)
        Performs the initialization.
        Specified by:
        initialize in interface Initialization
        Parameters:
        parent - the application this initialization is for
        Returns:
        true if successful
      • initAll

        public static boolean initAll()
        Runs all the initialization applets.
        Returns:
        true if all successful
      • initAll

        public static boolean initAll​(AbstractApplicationFrame parent)
        Runs all the initialization applets.
        Parameters:
        parent - the application this initialization is for, can be null
        Returns:
        true if all successful
      • getInitializations

        public static String[] getInitializations()
        Returns a list with classnames of initialization applets.
        Returns:
        the initialization applet classnames
      • forName

        public static Initialization forName​(String classname,
                                             String[] options)
        Instantiates the initialization applet with the (optional) options.
        Parameters:
        classname - the classname of the initialization applet to instantiate
        options - the options for the initialization applet
        Returns:
        the instantiated initialization applet or null if an error occurred