Interface MutableObjectProperty<T>
- All Superinterfaces:
Functor<T>,MutableProperty<T>,Property<T>
- All Known Subinterfaces:
MutableStringProperty,ObservableObjectProperty<T>,ObservableStringProperty
- All Known Implementing Classes:
AnalogInputProperty,DeserializedObjectProperty,DeserializedStringProperty,FileDeserializer,GamepadAxesProperty,GamepadAxisProperty,GamepadButtonProperty,GamepadButtonsProperty,HotFileDeserializer,KeyboardKeyProperty,KeyboardKeysProperty,MouseButtonProperty,MouseButtonsProperty,ObjectConfigOption,SelectionProperty,SimpleMutableObjectProperty,SimpleMutableStringProperty,SimpleObservableObjectProperty,SimpleObservableStringProperty,SingleSelectionProperty,StoredBooleanProperty,StoredFloatProperty,StoredIntProperty,StoredProperty,StoredStringProperty,StringConfigOption,SystemProperty
A mutable property that supports null values.
-
Method Summary
Methods inherited from interface dev.prozilla.pine.common.property.mutable.MutableProperty
modifyValue, setValue, swapValue, viewPropertyMethods inherited from interface dev.prozilla.pine.common.property.Property
getValue, getValueOr, hasValue, hasValueProperty, isNotNull, isNotNullProperty, isNull, map, replaceNull, requireValue, snapshot, toStringProperty
-
Method Details
-
steal
Takes the current value of this property and then sets it tonull.- Returns:
- The current value of this property.
-
setNull
default boolean setNull()Sets the value of this property tonull.- Returns:
falseif the value of this property was alreadynull.
-