Class ExtensionBase

java.lang.Object
cl.obcom.desktopfx.core.ExtensionBase

public class ExtensionBase extends Object
Class used to build DesktopFX Extensions.
  • Constructor Details

    • ExtensionBase

      public ExtensionBase()
      Constructs a new ExtensionBase instance.
  • Method Details

    • start

      public void start(Desktop desktop) throws Exception
      Called after DesktopFX has completed the intialization process. This method is a convenient place to create and initialize custom resources.

      NOTE: This method is called on the JavaFX Application Thread.

      Parameters:
      desktop - the fully initialized DesktopFX instance.
      Throws:
      NullPointerException - if desktop is null.
      Exception - if another error occurs.
    • stop

      public void stop() throws Exception
      Called before DesktopFX is about to stop. This method is a convenient place to destroy custom resources and prepare for exit.

      NOTE: This method is called on the JavaFX Application Thread.

      Throws:
      Exception - if an error occurs.