eu.mihosoft.vrl.v3d.parametrics.StringParameter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of JavaCad Show documentation
Show all versions of JavaCad Show documentation
A Java based CSG Cad library
package eu.mihosoft.vrl.v3d.parametrics;
import java.util.ArrayList;
import java.util.List;
public class StringParameter extends Parameter {
private List options2;
public StringParameter(String key, String defaultValue, ArrayList options) {
setup(key, defaultValue, options);
options2 = options;
}
public void setString(String s){
setStrValue(s);
}
public String getString(){
return (String)getStrValue();
}
public List getStringOptions(){
return new ArrayList(options2);
}
}