public class ParameterMultipleFromSetController extends ParameterController
contents, name
Constructor and Description |
---|
ParameterMultipleFromSetController(java.lang.String nameDisplayed,
java.lang.String name,
java.util.List<java.lang.String> defaultValues,
java.util.List<java.lang.String> options)
Default constructor which should be used in all actual code.
|
Modifier and Type | Method and Description |
---|---|
void |
changeOptions(java.util.List<java.lang.String> options)
Method which sets the options of the list view and selects the first
option.
|
java.util.List<java.lang.String> |
getValue()
Getter for the value of the list view.
|
void |
setSelected(java.util.List<java.lang.String> selection)
Method which sets the options which are selected in the list view.
|
getContents, getName, loadFXMLContents
public ParameterMultipleFromSetController(java.lang.String nameDisplayed, java.lang.String name, java.util.List<java.lang.String> defaultValues, java.util.List<java.lang.String> options)
nameDisplayed
- description of the parametername
- unique identified of the parameter (used to map UI parameter
to actual parameter in populate method of the filter
configuration)defaultValues
- values in the list view which are selected by defaultoptions
- list of options for the list viewpublic java.util.List<java.lang.String> getValue()
public void setSelected(java.util.List<java.lang.String> selection)
selection
- list of options that should be selectedpublic void changeOptions(java.util.List<java.lang.String> options)
options
- options for the list view