|
||||||||||
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.lang.Boolean>
org.openstreetmap.josm.data.preferences.BooleanProperty
public class BooleanProperty
A property containing a Boolean
value.
Field Summary |
---|
Fields inherited from class org.openstreetmap.josm.data.preferences.AbstractProperty |
---|
defaultValue, key |
Constructor Summary | |
---|---|
BooleanProperty(java.lang.String key,
boolean defaultValue)
Constructs a new BooleanProperty . |
Method Summary | |
---|---|
java.lang.Boolean |
get()
Replies the value of this property. |
boolean |
put(java.lang.Boolean 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 BooleanProperty(java.lang.String key, boolean defaultValue)
BooleanProperty
.
key
- The property keydefaultValue
- The default valueMethod Detail |
---|
public java.lang.Boolean get()
AbstractProperty
get
in class AbstractProperty<java.lang.Boolean>
public boolean put(java.lang.Boolean value)
AbstractProperty
put
in class AbstractProperty<java.lang.Boolean>
value
- The new value of this property
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |