P - The type of UI component housing the input panel itself.W - The type of UI component housing each input widget.public abstract class AbstractInputHarvester<P,W> extends AbstractContextual implements InputHarvester<P,W>
InputHarvesters.
An input harvester obtains a module's unresolved input parameter values from
the user. Parameters are collected using an InputPanel dialog box.
PRIORITY| Constructor and Description |
|---|
AbstractInputHarvester() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildPanel(InputPanel<P,W> inputPanel,
Module module)
Populates the given
InputPanel with widgets corresponding to the
given Module instance. |
context, getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateInputPanel, harvest, harvestInputs, processResultssetContextpublic void buildPanel(InputPanel<P,W> inputPanel, Module module) throws ModuleException
InputHarvesterInputPanel with widgets corresponding to the
given Module instance.buildPanel in interface InputHarvester<P,W>inputPanel - The panel to populate.module - The module whose inputs should be translated into widgets.ModuleException - if the panel cannot be populated for some reason.
This may occur due to an input of unsupported type.Copyright © 2015–2022 SciJava. All rights reserved.