public class ListProperty extends AbstractProperty<java.util.List<java.lang.String>>
List of String as value.AbstractProperty.InvalidPreferenceValueException, AbstractProperty.ValueChangeEvent<T>, AbstractProperty.ValueChangeListener<T>defaultValue, key, preferences| Constructor and Description |
|---|
ListProperty(java.lang.String key,
java.util.List<java.lang.String> defaultValue)
Constructs a new
CollectionProperty. |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
get()
Replies the value of this property.
|
boolean |
put(java.util.List<java.lang.String> value)
Sets this property to the specified value.
|
addListener, addListenerImpl, addWeakListener, cached, equals, getDefaultValue, getKey, getPreferences, hashCode, isSet, remove, removeListener, removeListenerImpl, storeDefaultValuepublic ListProperty(java.lang.String key, java.util.List<java.lang.String> defaultValue)
CollectionProperty.key - The property keydefaultValue - The default valuepublic java.util.List<java.lang.String> get()
AbstractPropertyget in class AbstractProperty<java.util.List<java.lang.String>>public boolean put(java.util.List<java.lang.String> value)
AbstractPropertyput in class AbstractProperty<java.util.List<java.lang.String>>value - The new value of this property