Index

A B C D F G H I J L M N O S T 
All Classes and Interfaces|All Packages|Constant Field Values

A

add(String) - Method in class app.supernaut.test.TimingMeasurements
Add a measurement
app.supernaut - module app.supernaut
Defines foundational interfaces for Supernaut that are independent of JavaFX.
app.supernaut - package app.supernaut
Foundational Supernaut interfaces for defining applications at an abstraction layer above JavaFX or Micronaut.
app.supernaut.fx - module app.supernaut.fx
Defines the core classes and interfaces used by Supernaut.FX applications.
app.supernaut.fx - package app.supernaut.fx
Supernaut.FX: Classes and interfaces for building JavaFX apps
app.supernaut.fx.fxml - package app.supernaut.fx.fxml
 
app.supernaut.fx.internal - package app.supernaut.fx.internal
 
app.supernaut.fx.micronaut - module app.supernaut.fx.micronaut
Module implementing Supernaut.FX dependency injection with Micronaut
app.supernaut.fx.micronaut - package app.supernaut.fx.micronaut
Micronaut implementation of Supernaut.FX
app.supernaut.fx.micronaut.fxml - package app.supernaut.fx.micronaut.fxml
 
app.supernaut.fx.sample - package app.supernaut.fx.sample
Sample launcher implementations
app.supernaut.fx.services - package app.supernaut.fx.services
 
app.supernaut.fx.test - package app.supernaut.fx.test
Test support classes (JavaFX)
app.supernaut.fx.util - package app.supernaut.fx.util
 
app.supernaut.logging - package app.supernaut.logging
GraalVM-compatible logging support
app.supernaut.services - package app.supernaut.services
Interfaces for injectable services that are independent of JavaFX
app.supernaut.test - package app.supernaut.test
Test support classes (Headless)
ApplicationDelegate - Interface in app.supernaut.fx
Interface for delegated JavaFX applications.

B

BackgroundApp - Interface in app.supernaut
A background application that is started before the foreground app and can communicate with the foreground app.
BaseFxmlAppDelegate - Class in app.supernaut.fx.fxml
ApplicationDelegate with constructor that expects a FxmlLoaderFactory
BaseFxmlAppDelegate(FxmlLoaderFactory) - Constructor for class app.supernaut.fx.fxml.BaseFxmlAppDelegate
Constructor that gets an FxmlLoaderFactory injected
BrowserService - Interface in app.supernaut.services
Interface that abstracts JavaFX HostServices.showDocument()} Use this interface to controllers/services that wish to tell a browser to open a window.
byName(String) - Static method in interface app.supernaut.fx.FxLauncher
Find a FxLauncher provider by name

C

configure(Class<?>, String) - Static method in class app.supernaut.logging.JavaLoggingSupport
Configure logging using default resource file/path
configure(Class<?>, String, String) - Static method in class app.supernaut.logging.JavaLoggingSupport
Configure logging.
configuredLauncher - Static variable in class app.supernaut.fx.internal.OpenJfxProxyApplication
Launcher must set this global before calling constructor
createAppDelegate(Class<? extends ApplicationDelegate>, Application) - Method in interface app.supernaut.fx.FxLauncherAbstract.AppFactory
Create the background class instance from a Class object
createAppDelegate(Class<? extends ApplicationDelegate>, Application) - Method in class app.supernaut.fx.FxLauncherAbstract.DefaultAppFactory
 
createAppDelegate(Class<? extends ApplicationDelegate>, Application) - Method in class app.supernaut.fx.micronaut.MicronautFxLauncher.MicronautAppFactory
Create the background class instance from a Class object
createAppDelegate(Application) - Method in interface app.supernaut.fx.FxLauncher
Construct a ApplicationDelegate that is a delegate to OpenJfxProxyApplication.
createAppDelegate(Application) - Method in class app.supernaut.fx.FxLauncherAbstract
Called by OpenJfxProxyApplication to create its delegate ApplicationDelegate object.
createBackgroundApp(Class<? extends BackgroundApp>) - Method in interface app.supernaut.fx.FxLauncherAbstract.AppFactory
Create the background class instance from a Class object
createBackgroundApp(Class<? extends BackgroundApp>) - Method in class app.supernaut.fx.FxLauncherAbstract.DefaultAppFactory
 
createBackgroundApp(Class<? extends BackgroundApp>) - Method in class app.supernaut.fx.micronaut.MicronautFxLauncher.MicronautAppFactory
Create the background class instance from a Class object

D

DEFAULT_PROPERTIES_PATH - Static variable in class app.supernaut.logging.JavaLoggingSupport
The default path of the logging properties file
DefaultAppFactory() - Constructor for class app.supernaut.fx.FxLauncherAbstract.DefaultAppFactory
 
description - Variable in class app.supernaut.test.TimingMeasurements.Measurement
measurement description
dump() - Method in class app.supernaut.test.TimingMeasurements
print all measurements

F

find() - Static method in interface app.supernaut.fx.FxLauncher
Find default FxLauncher
findFirst(Predicate<FxLauncher>) - Static method in interface app.supernaut.fx.FxLauncher
Find a launcher using a custom predicate
ForegroundApp - Interface in app.supernaut
An abstraction of a User Interface application that is separated into a foreground app and a background app.
futureAppDelegate - Variable in class app.supernaut.fx.FxLauncherAbstract
This future returns an initialized ApplicationDelegate
futureBackgroundApp - Variable in class app.supernaut.fx.FxLauncherAbstract
This future returns an initialized BackgroundApp
FxBrowserService - Class in app.supernaut.fx.services
Implementation of BrowserService using JavaFX HostServices.
FxBrowserService(HostServices) - Constructor for class app.supernaut.fx.services.FxBrowserService
Constructor
FxLauncher - Interface in app.supernaut.fx
Launcher for Supernaut.FX (JavaFX) applications.
FxLauncherAbstract - Class in app.supernaut.fx
Base JavaFX implementation of FxLauncher.
FxLauncherAbstract(Supplier<FxLauncherAbstract.AppFactory>, boolean) - Constructor for class app.supernaut.fx.FxLauncherAbstract
Construct an Asynchronous Launcher that works with OpenJFX.
FxLauncherAbstract.AppFactory - Interface in app.supernaut.fx
Interface that can be used to create and pre-initialize ApplicationDelegate and BackgroundApp.
FxLauncherAbstract.DefaultAppFactory - Class in app.supernaut.fx
Default implementation of AppFactory.
fxmlLoaderFactory - Variable in class app.supernaut.fx.fxml.BaseFxmlAppDelegate
FxmlLoaderFactory for subclass access
FxmlLoaderFactory - Interface in app.supernaut.fx.fxml
Factory interface for providing DI-enabled instances of FXMLLoader
FxVersionUtil - Class in app.supernaut.fx.util
Various utilities methods for testing the current FX version and environment
FxVersionUtil() - Constructor for class app.supernaut.fx.util.FxVersionUtil
 

G

get() - Method in interface app.supernaut.fx.fxml.FxmlLoaderFactory
Get an FXMLLoader without setting a location
get() - Method in class app.supernaut.fx.micronaut.fxml.MicronautFxmlLoaderFactory
Get an FXMLLoader without setting a location
get(URL) - Method in interface app.supernaut.fx.fxml.FxmlLoaderFactory
Get an FXMLLoader for the given location
get(URL) - Method in class app.supernaut.fx.micronaut.fxml.MicronautFxmlLoaderFactory
Get an FXMLLoader for the given location
getAppDelegate() - Method in interface app.supernaut.fx.FxLauncher
Get a future that will be completed when the ApplicationDelegate is initialized.
getAppDelegate() - Method in class app.supernaut.fx.FxLauncherAbstract
Get a future that will be completed when the ApplicationDelegate is initialized.
getBackgroundApp() - Method in interface app.supernaut.fx.FxLauncher
Get a future that will be completed when the Background app is initialized.
getBackgroundApp() - Method in class app.supernaut.fx.FxLauncherAbstract
Get a future that will be completed when the Background app is initialized.
getBackgroundApp() - Method in interface app.supernaut.Launcher
Get a future that will be completed when the Background app is initialized.
getControllerFactory(Class<T>) - Method in interface app.supernaut.fx.fxml.FxmlLoaderFactory
Get the FXML controller (from a DI context)
getControllerFactory(Class<T>) - Method in class app.supernaut.fx.micronaut.fxml.MicronautFxmlLoaderFactory
Get the FXML controller from the BeanContext
getForegroundApp() - Method in interface app.supernaut.Launcher
Get a future that will be completed when the Foreground app is initialized.
getFxmlLoaderFactory() - Method in class app.supernaut.fx.fxml.BaseFxmlAppDelegate
Accessor for injected FxmlLoaderFactory
getJavaFXVersion() - Static method in class app.supernaut.fx.util.FxVersionUtil
 

H

hasMacShowDocumentFix() - Static method in class app.supernaut.fx.util.FxVersionUtil
 

I

init() - Method in interface app.supernaut.BackgroundApp
Override to do any (hopefully minimal and quick) initialization that you want to happen before the ForegroundApp is started
init() - Method in interface app.supernaut.ForegroundApp
Initialize the application
init() - Method in interface app.supernaut.fx.ApplicationDelegate
The application initialization method.
init() - Method in class app.supernaut.fx.internal.OpenJfxProxyApplication
Supernaut.fx implementation of Application.init().
initializeBeanContext(BeanContext, Application) - Method in class app.supernaut.fx.micronaut.MicronautFxLauncher.MicronautAppFactory
Subclass MicronautFxLauncher.MicronautAppFactory and override this method to customize your BeanContext.
isMacOS() - Static method in class app.supernaut.fx.util.FxVersionUtil
 
isShowDocumentAvailable() - Static method in class app.supernaut.fx.util.FxVersionUtil
Is HostServices.showDocument(String) available?

J

JavaLoggingSupport - Class in app.supernaut.logging
GraalVM-compatible Support for using Java Logging See: https://github.com/oracle/graal/blob/master/substratevm/LOGGING.md The default log-level for command-line tools configured in logging.properties should be `WARNING`.
JavaLoggingSupport() - Constructor for class app.supernaut.logging.JavaLoggingSupport
 

L

launch(String[], Class<? extends ForegroundApp>) - Method in interface app.supernaut.Launcher
Launch and run the application on the current thread.
launch(String[], Class<? extends ForegroundApp>, Class<? extends BackgroundApp>) - Method in interface app.supernaut.Launcher
Launch and run the application on the current thread.
launch(String[], Class<? extends ApplicationDelegate>) - Method in interface app.supernaut.fx.FxLauncher
Launch and run the application on the current thread.
launch(String[], Class<? extends ApplicationDelegate>) - Method in class app.supernaut.fx.FxLauncherAbstract
Launch and run the application on the current thread.
launch(String[], Class<? extends ApplicationDelegate>, Class<? extends BackgroundApp>) - Method in interface app.supernaut.fx.FxLauncher
Launch and run the application on the current thread.
launch(String[], Class<? extends ApplicationDelegate>, Class<? extends BackgroundApp>) - Method in class app.supernaut.fx.FxLauncherAbstract
Launch and run the application on the current thread.
launchAsync(String[], Class<? extends ForegroundApp>, Class<? extends BackgroundApp>) - Method in interface app.supernaut.Launcher
Launch and run the application on a newly created thread.
launchAsync(String[], Class<? extends ApplicationDelegate>, Class<? extends BackgroundApp>) - Method in interface app.supernaut.fx.FxLauncher
Launch and run the application on a newly created thread.
launchAsync(String[], Class<? extends ApplicationDelegate>, Class<? extends BackgroundApp>) - Method in class app.supernaut.fx.FxLauncherAbstract
Launch and run the application on a newly created thread.
Launcher - Interface in app.supernaut
Asynchronous two-phase application launcher.

M

Measurement(String) - Constructor for class app.supernaut.test.TimingMeasurements.Measurement
Create a measurement with the given description and the current time
measurements - Variable in class app.supernaut.test.TimingMeasurements
measurements data
MicronautAppFactory(boolean) - Constructor for class app.supernaut.fx.micronaut.MicronautFxLauncher.MicronautAppFactory
Constructor for Micronaut implementation of AppFactory
MicronautContextAware - Interface in app.supernaut.fx.micronaut
TODO: Use this somewhere to inject the context
MicronautFxLauncher - Class in app.supernaut.fx.micronaut
A launcher that uses Micronaut@ framework to instantiate and Dependency Inject the foreground and background applications.
MicronautFxLauncher() - Constructor for class app.supernaut.fx.micronaut.MicronautFxLauncher
Default constructor that initializes the background app on its own thread.
MicronautFxLauncher(boolean) - Constructor for class app.supernaut.fx.micronaut.MicronautFxLauncher
 
MicronautFxLauncher(boolean, boolean) - Constructor for class app.supernaut.fx.micronaut.MicronautFxLauncher
 
MicronautFxLauncher.MicronautAppFactory - Class in app.supernaut.fx.micronaut
Implement of AppFactory using either a Micronaut BeanContext or ApplicationContext
MicronautFxmlLoaderFactory - Class in app.supernaut.fx.micronaut.fxml
Factory for providing FXMLLoaders that do full DI.
MicronautFxmlLoaderFactory(BeanContext) - Constructor for class app.supernaut.fx.micronaut.fxml.MicronautFxmlLoaderFactory
Constructor that gets BeanContext of the SupernautFX application injected.

N

name() - Method in interface app.supernaut.fx.FxLauncher
Implementations must implement this method to return a unique name
name() - Method in class app.supernaut.fx.micronaut.MicronautFxLauncher
Implementations must implement this method to return a unique name
name() - Method in class app.supernaut.fx.sample.SimpleFxLauncher
Implementations must implement this method to return a unique name
NoopAppDelegate - Class in app.supernaut.fx.test
No-op ApplicationDelegate which exits immediately (used for testing)
NoopAppDelegate() - Constructor for class app.supernaut.fx.test.NoopAppDelegate
 
NoopBackgroundApp - Class in app.supernaut.fx.test
A Noop background app for testing
NoopBackgroundApp() - Constructor for class app.supernaut.fx.test.NoopBackgroundApp
 

O

OpenJfxProxyApplication - Class in app.supernaut.fx.internal
Internal Supernaut.fx implementation of Application.
OpenJfxProxyApplication() - Constructor for class app.supernaut.fx.internal.OpenJfxProxyApplication
Create a JavaFX application that wraps an ApplicationDelegate Note that FxLauncher.createAppDelegate(Application) will wait on the background app initialized latch so this constructor will block until the background app is created and initialized.

S

setApplication(Application) - Method in interface app.supernaut.fx.ApplicationDelegate
Pass the JavaFX Application to the delegate.
setBeanFactory(BeanContext) - Method in interface app.supernaut.fx.micronaut.MicronautContextAware
Implement this method to have the BeanContext injected
setVerbose() - Static method in class app.supernaut.logging.JavaLoggingSupport
Change log level (eg.
showDocument(String) - Method in class app.supernaut.fx.services.FxBrowserService
Implementation of showDocument using HostServices
showDocument(String) - Method in interface app.supernaut.services.BrowserService
Opens the specified URI in a new browser window or tab.
showDocument(URI) - Method in interface app.supernaut.services.BrowserService
Convenience method that takes URI
SimpleFxLauncher - Class in app.supernaut.fx.sample
A simple FxLauncherAbstract that uses Class objects to specify BackgroundApp and ApplicationDelegate.
SimpleFxLauncher() - Constructor for class app.supernaut.fx.sample.SimpleFxLauncher
Default constructor using background start
SimpleFxLauncher(boolean) - Constructor for class app.supernaut.fx.sample.SimpleFxLauncher
Constructor that lets you choose background start or not
start() - Method in interface app.supernaut.BackgroundApp
Override this to create your own background threads and do any longer-duration initialization or start network I/O, etc.
start() - Method in interface app.supernaut.ForegroundApp
Start the application
start() - Method in class app.supernaut.fx.test.NoopBackgroundApp
 
start(Stage) - Method in interface app.supernaut.fx.ApplicationDelegate
The main entry point for Supernaut.fx applications.
start(Stage) - Method in class app.supernaut.fx.fxml.BaseFxmlAppDelegate
No-op start method (can be overridden)
start(Stage) - Method in class app.supernaut.fx.internal.OpenJfxProxyApplication
Supernaut.fx implementation of Application.start(javafx.stage.Stage).
start(Stage) - Method in class app.supernaut.fx.test.NoopAppDelegate
 
startTime - Variable in class app.supernaut.test.TimingMeasurements
starting time
stop() - Method in interface app.supernaut.BackgroundApp
Override to get called when the application is stopping.
stop() - Method in interface app.supernaut.ForegroundApp
Stop the application
stop() - Method in interface app.supernaut.fx.ApplicationDelegate
This method is called when the application should stop, and provides a convenient place to prepare for application exit and destroy resources.
stop() - Method in class app.supernaut.fx.internal.OpenJfxProxyApplication
SupernautFX implementation of Application#stop().
stop() - Method in class app.supernaut.fx.test.NoopBackgroundApp
 

T

timestamp - Variable in class app.supernaut.test.TimingMeasurements.Measurement
timestamp in milliseconds
TimingMeasurements - Class in app.supernaut.test
Simple class for recording timestamps for benchmarking
TimingMeasurements() - Constructor for class app.supernaut.test.TimingMeasurements
 
TimingMeasurements.Measurement - Class in app.supernaut.test
One measurement
A B C D F G H I J L M N O S T 
All Classes and Interfaces|All Packages|Constant Field Values