Interface GadgetFactory<G extends Gadget,E extends GomElement,C extends GadgetContext<? extends E>>

All Known Subinterfaces:
SwingGadgetFactory<E>, WebPluginGadgetFactory<G,C>

public interface GadgetFactory<G extends Gadget,E extends GomElement,C extends GadgetContext<? extends E>>
Interface for a factory that is able to produce a Gadget.
Since:
5.2.210803
  • Method Summary

    Modifier and Type
    Method
    Description
    create(C context)
    Create a Gadget based on the given context information.
  • Method Details

    • create

      @NotNull G create(@NotNull C context)
      Create a Gadget based on the given context information.
      Parameters:
      context - The context information.
      Returns:
      A specific gadget.
      Since:
      5.2.210803