public class SimpleParameterRenderer extends AbstractParameterRenderer<SimpleParameter>
SimpleParameter
s as a simple input field (TextField
).Modifier and Type | Method and Description |
---|---|
protected void |
addInputs(SimpleParameter 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 SimpleParameter |
render
public static void register()
ParameterRenderer
for the class SimpleParameter
protected void addInputs(SimpleParameter parameter, Pane parent, Label name, Node comment, Label error, Application.ToolReady ready)
AbstractParameterRenderer
addInputs
in class AbstractParameterRenderer<SimpleParameter>
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.