Class DrawingModelFigureProperty<T>

java.lang.Object
javafx.beans.binding.ObjectExpression<T>
javafx.beans.property.ReadOnlyObjectProperty<T>
javafx.beans.property.ObjectProperty<T>
javafx.beans.property.ObjectPropertyBase<T>
javafx.beans.property.SimpleObjectProperty<T>
javafx.beans.property.ReadOnlyObjectWrapper<T>
org.jhotdraw8.draw.model.DrawingModelFigureProperty<T>
Type Parameters:
T - the value type of the property
All Implemented Interfaces:
javafx.beans.Observable, javafx.beans.property.Property<T>, javafx.beans.property.ReadOnlyProperty<T>, javafx.beans.value.ObservableObjectValue<T>, javafx.beans.value.ObservableValue<T>, javafx.beans.value.WritableObjectValue<T>, javafx.beans.value.WritableValue<T>

public class DrawingModelFigureProperty<T> extends javafx.beans.property.ReadOnlyObjectWrapper<T>
This property is weakly bound to a property of a figure in the DrawingModel.

If the key is not declared by the figure, then the value will always be null.

Author:
Werner Randelshofer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final @Nullable WeakReference<Figure>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
     
    void
     
    protected void
    This implementation is empty.

    Methods inherited from class javafx.beans.property.ReadOnlyObjectWrapper

    fireValueChangedEvent, getReadOnlyProperty

    Methods inherited from class javafx.beans.property.SimpleObjectProperty

    getBean, getName

    Methods inherited from class javafx.beans.property.ObjectPropertyBase

    addListener, addListener, bind, get, invalidated, isBound, removeListener, removeListener, set, toString

    Methods inherited from class javafx.beans.property.ObjectProperty

    bindBidirectional, unbindBidirectional

    Methods inherited from class javafx.beans.binding.ObjectExpression

    asString, asString, asString, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNull, objectExpression

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface javafx.beans.Observable

    subscribe

    Methods inherited from interface javafx.beans.value.ObservableValue

    flatMap, map, orElse, subscribe, subscribe, when
  • Field Details

  • Constructor Details

  • Method Details

    • getValue

      public @Nullable T getValue()
      Specified by:
      getValue in interface javafx.beans.value.ObservableValue<T>
      Specified by:
      getValue in interface javafx.beans.value.WritableValue<T>
      Overrides:
      getValue in class javafx.beans.binding.ObjectExpression<T>
    • setValue

      public void setValue(@Nullable T value)
      Specified by:
      setValue in interface javafx.beans.value.WritableValue<T>
      Overrides:
      setValue in class javafx.beans.property.ObjectProperty<T>
    • unbind

      public void unbind()
      Specified by:
      unbind in interface javafx.beans.property.Property<T>
      Overrides:
      unbind in class javafx.beans.property.ObjectPropertyBase<T>
    • updateValue

      protected void updateValue()
      This implementation is empty.