public class DataColumnParameterRenderer extends AbstractParameterRenderer<DataColumnParameter>
DataColumnParameter in the JavaFX GUI.
The DataColumnParameter is rendered as a drop-down list of all admissible columns.
If the reference table (referenced by name inDataColumnParameter.getDataRef()) appears to have a header (the first
row fails to convert to a number in all columns), these column headers are displayed, otherwise "Column 1", "Column 2",...TextResultRenderer.getHeader(de.jstacs.parameters.FileParameter.FileRepresentation)| Modifier and Type | Method and Description |
|---|---|
protected void |
addInputs(DataColumnParameter 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()
|
renderpublic static void register()
protected void addInputs(DataColumnParameter parameter, Pane parent, Label name, Node comment, Label error, Application.ToolReady ready)
AbstractParameterRendereraddInputs in class AbstractParameterRenderer<DataColumnParameter>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.