Class StringProperties
- All Implemented Interfaces:
Serializable
String-value based and serializable ObservableProperties.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionStringProperties(Object owner) StringProperties(Object owner, StringProperties sp) -
Method Summary
Modifier and TypeMethodDescriptiongetBoolean(String prop, Boolean defaultValue) intvoidputBoolean(String prop, Boolean value) voidvoidintAdd an offset to an int property value.Methods inherited from class org.jjazz.utilities.api.ObservableProperties
addPropertyChangeListener, addPropertyChangeListener, clear, equals, get, get, getOwner, getPropertyNames, hashCode, put, removePropertyChangeListener, removePropertyChangeListener, set
-
Constructor Details
-
StringProperties
public StringProperties() -
StringProperties
-
StringProperties
-
-
Method Details
-
getBoolean
-
putBoolean
-
getInt
-
putInt
-
shiftInt
Add an offset to an int property value.If property does not exist yet, the method creates it with initValue then adds offset.
- Parameters:
prop-offset-initValue-- Returns:
- The new int property value.
-
getColor
-
putColor
-