Class WindowConfigurator<T extends javafx.stage.Window>

java.lang.Object
org.tentackle.fx.container.config.WindowConfigurator<T>
Type Parameters:
T - the window type
All Implemented Interfaces:
Configurator<T>

@ConfiguratorService(javafx.stage.Window.class) public class WindowConfigurator<T extends javafx.stage.Window> extends Object implements Configurator<T>
Configures a Window.

The implementation allows overriding the base methods for a single configurator or all configurators via FxUtilities.

Author:
harald
  • Constructor Details

    • WindowConfigurator

      public WindowConfigurator()
      Creates the configurator for Window.
  • Method Details

    • configure

      public void configure(T window)
      Description copied from interface: Configurator
      Configures the given FX object.
      Specified by:
      configure in interface Configurator<T extends javafx.stage.Window>
      Parameters:
      window - the object
    • registerEventFilters

      protected void registerEventFilters(T window)
      Registers event filters.
      Parameters:
      window - the window