|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openstreetmap.josm.data.preferences.AbstractProperty<java.util.Collection<java.lang.String>>
org.openstreetmap.josm.data.preferences.CollectionProperty
public class CollectionProperty
A property containing a Collection of String as value.
| Field Summary |
|---|
| Fields inherited from class org.openstreetmap.josm.data.preferences.AbstractProperty |
|---|
defaultValue, key |
| Constructor Summary | |
|---|---|
CollectionProperty(java.lang.String key,
java.util.Collection<java.lang.String> defaultValue)
Constructs a new CollectionProperty. |
|
| Method Summary | |
|---|---|
java.util.Collection<java.lang.String> |
get()
Replies the value of this property. |
boolean |
put(java.util.Collection<java.lang.String> value)
Sets this property to the specified value. |
| Methods inherited from class org.openstreetmap.josm.data.preferences.AbstractProperty |
|---|
getDefaultValue, getKey, isSet, remove |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CollectionProperty(java.lang.String key,
java.util.Collection<java.lang.String> defaultValue)
CollectionProperty.
key - The property keydefaultValue - The default value| Method Detail |
|---|
public java.util.Collection<java.lang.String> get()
AbstractProperty
get in class AbstractProperty<java.util.Collection<java.lang.String>>public boolean put(java.util.Collection<java.lang.String> value)
AbstractProperty
put in class AbstractProperty<java.util.Collection<java.lang.String>>value - The new value of this property
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||