JAL-2629 update spike branch to latest
[jalview.git] / src / jalview / ws / params / simple / StringChoiceParameter.java
index d613d58..254eb80 100644 (file)
  */
 package jalview.ws.params.simple;
 
+import java.util.List;
+
+/**
+ * A parameter with options intended to be rendered as radio buttons
+ */
 public class StringChoiceParameter extends Option
 {
 
+  /**
+   * Constructor
+   * 
+   * @param name
+   * @param description
+   * @param options
+   * @param def
+   */
+  public StringChoiceParameter(String name, String description,
+          List<String> options, String def)
+  {
+    super(name, description, true, def, def, options, null);
+  }
 }