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

public interface MutableObjectProperty<T> extends MutableProperty<T>
A mutable property that supports null values.
  • Method Details

    • steal

      default T steal()
      Takes the current value of this property and then sets it to null.
      Returns:
      The current value of this property.
    • setNull

      default boolean setNull()
      Sets the value of this property to null.
      Returns:
      false if the value of this property was already null.