Interface SwingApplicationConfiguration.ComponentFactory<T extends Component>

Enclosing interface:
SwingApplicationConfiguration

public static interface SwingApplicationConfiguration.ComponentFactory<T extends Component>
Factory to create a component.
Since:
4.2.416
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates the component.
    void
    dispose(T component)
    Called when the belonging SwingApplication is closed.
  • Method Details

    • createComponent

      T createComponent()
      Creates the component. Each call to this method should create a new component instance.
      Returns:
      the created component.
      Since:
      4.2.416
    • dispose

      void dispose(T component)
      Called when the belonging SwingApplication is closed. Clean up all resources in this method.
      Parameters:
      component - the component created in createComponent()
      Since:
      4.2.429