public class Preference
extends Object
implements Cloneable, Serializable
Constructor and Description |
---|
Preference(String name,
String value) |
Preference(String name,
String[] values) |
Preference(String name,
String[] values,
boolean readOnly) |
Preference(String name,
String value,
boolean readOnly) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
String |
getName() |
boolean |
getReadOnly() |
String[] |
getValues() |
boolean |
isReadOnly() |
void |
setValues(String[] values) |
String |
toString() |
public Preference(String name, String value)
public Preference(String name, String value, boolean readOnly)
public Preference(String name, String[] values)
public Preference(String name, String[] values, boolean readOnly)
public Object clone()
clone
in class Object
public String getName()
public boolean getReadOnly()
public String[] getValues()
public boolean isReadOnly()
public void setValues(String[] values)
public String toString()
toString
in class Object