Package be.imgn.swing


@NullMarked package be.imgn.swing
The core of swing: what an application needs outside its user interface.
  • Class
    Description
    Whether the user interface is light or dark, which selects the dark variant of resources.
    The appearance of the user interface.
    Declares the application class: its names, as gaia's ApplicationDirectories takes them, and its version.
    What the application is and where it runs, bound in the root injector.
    The arguments given to the launch of the application, bound in the root injector.
    The status of one requirement of a value.
    Whether a value meets a requirement.
    The locale of user-interface text, chosen once at startup and bound in the root injector.
    The executor of a subscribing annotation on the application's event bus, contributed with @IntoSet(EventExecutor.class).
    Ends the JVM at the end of the shutdown.
    Asked before the application exits, on the UiExecutor's thread.
    Handles a failure nothing else handles, such as a task's with no onFailure handler.
    Requests the shutdown of the application.
    A change of an ObservableList, with indices valid for the list just before it.
    Elements added at an index.
    Elements removed from an index.
    Elements replaced from an index by others, not necessarily as many.
    The display locale, which the application may change while it runs.
    Declares an interface of typed messages.
    A value that tells its listeners when it changes.
    A list that tells its listeners each change, so that a component showing it updates one row rather than all of them.
    An observable value that can be set, from any thread.
    PublishingWork<T extends @Nullable Object, P>
    The work of a Task that publishes partial results while it runs: Task.of(PublishingWork, Consumer).
    Told when the application is ready: once the main window is shown, and the events posted while showing it have run.
    Opens the resources of one package, from the package's own module, so that reading them needs no open package.
    The resources of classes: their TOML files, merged along the class hierarchy and across the locale and platform variants, and cached per class and locale.
    Rule<T>
    A requirement of a value, and the test of whether a value meets it.
    The disposal list of an application, window or view scope, for what is not a bean.
    Declares a settings record: what the user chooses and keeps between runs, saved in <id>.toml in the application's config directory.
    Holds the value of every Settings record, loaded at startup from the config directory.
    A step of the shutdown, contributed with @IntoSet(ShutdownStep.class).
    A step of the startup, contributed with @IntoSet(StartupStep.class).
    A listener's subscription to an Observable, released when its scope closes or when it is closed.
    Task<T extends @Nullable Object>
    Work that runs on a virtual thread, with its completion hooks.
    What the work of a Task can tell and ask while it runs: Task.of((TaskContext context) -> ...).
    Runs tasks in a scope, without blocking any input.
    TaskWork<T extends @Nullable Object>
    The work of a Task that uses its TaskContext.
    Runs work on the user-interface thread.
    The status of every requirement of a value, met or not, so that a view can show each one and not only the first error.
    The rules of a value, declared once and tested in a form, a command-line tool or a service.