Interface InputHarvester<P,​W>

  • Type Parameters:
    P - The type of UI component housing the input panel itself.
    W - The type of UI component housing each input widget.
    All Known Implementing Classes:
    AbstractInputHarvester, AbstractInputHarvesterPlugin

    public interface InputHarvester<P,​W>
    An input harvester collects Module input values, according to the following steps:
    1. Create an InputPanel with widgets corresponding to the module inputs.
    2. Present the panel, if in a UI context.
    3. Harvest the final widget values from the panel, updating the Module's input values to match the harvested values.
    4. Perform any other needed processing of the results (marking inputs as resolved, storing persisted values to preferences, etc.).
    Author:
    Curtis Rueden