Interface MutableStringProperty
- All Superinterfaces:
Functor<String>,MutableObjectProperty<String>,MutableProperty<String>,Property<String>,StringProperty
- All Known Subinterfaces:
ObservableStringProperty
- All Known Implementing Classes:
SimpleMutableStringProperty,SimpleObservableStringProperty,SystemProperty
A property with a string value that can be changed.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidappendValue(String string) Appends the given string to the value of this property.default voidprependValue(String string) Prepends the given string to the value of this property.default voidConverts the value of this property to lower case.default MutableStringPropertyReturns this property.default voidConverts the value of this property to upper case.default voiddefault StringPropertyMethods inherited from interface dev.prozilla.pine.common.property.mutable.MutableObjectProperty
setNull, stealMethods inherited from interface dev.prozilla.pine.common.property.mutable.MutableProperty
modifyValue, setValue, swapValueMethods inherited from interface dev.prozilla.pine.common.property.Property
getValue, getValueOr, hasValue, hasValueProperty, isNotNull, isNotNullProperty, isNull, map, requireValue, snapshotMethods inherited from interface dev.prozilla.pine.common.property.StringProperty
append, append, lengthProperty, parse, prepend, prepend, replaceNull, toLowerCaseProperty, toUpperCaseProperty
-
Method Details
-
appendValue
Appends the given string to the value of this property.- Parameters:
string- The string to append.
-
prependValue
Prepends the given string to the value of this property.- Parameters:
string- The string to prepend.
-
toUpperCase
default void toUpperCase()Converts the value of this property to upper case. -
toLowerCase
default void toLowerCase()Converts the value of this property to lower case. -
trimValue
default void trimValue() -
toStringProperty
Returns this property.- Specified by:
toStringPropertyin interfaceProperty<String>- Specified by:
toStringPropertyin interfaceStringProperty- Returns:
- This property.
-
viewProperty
- Specified by:
viewPropertyin interfaceMutableProperty<String>
-