public class SelectionParameterRenderer extends AbstractParameterRenderer<SelectionParameter>
ParameterRenderer for rendering SelectionParameter as a drop-down list (ChoiceBox) of possible options.| Modifier and Type | Method and Description |
|---|---|
protected void |
addInputs(SelectionParameter parameter,
Pane parent,
Label name,
Node comment,
Label error,
Application.ToolReady ready)
Adds the parameter-specific input fields to the provided parent pane.
|
static void |
register()
Registers this
ParameterRenderer for the class SelectionParameter. |
renderpublic static void register()
ParameterRenderer for the class SelectionParameter.protected void addInputs(SelectionParameter parameter, Pane parent, Label name, Node comment, Label error, Application.ToolReady ready)
AbstractParameterRendereraddInputs in class AbstractParameterRenderer<SelectionParameter>parameter - the parameter that is renderedparent - the parent pane containing the rendered parametername - the name label that has been created by AbstractParameterRenderer.render(Parameter, Pane, Application.ToolReady)comment - the comment label that has been created by AbstractParameterRenderer.render(Parameter, Pane, Application.ToolReady)error - the error label that has been created by AbstractParameterRenderer.render(Parameter, Pane, Application.ToolReady)ready - object that checks if all parameters have been specified. Any change to a parameter value should issue the method Application.ToolReady.testReady() to test this condition.