Class PropertyWrapper


  • public class PropertyWrapper
    extends java.lang.Object
    Author:
    Fabrizio Giudici
    • Constructor Summary

      Constructors 
      Constructor Description
      PropertyWrapper()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static javafx.beans.property.BooleanProperty wrap​(it.tidalwave.role.ui.BoundProperty<java.lang.Boolean> property)
      Returns a JavaFX wrapping property which is kept in sync with the given BoundProperty.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PropertyWrapper

        public PropertyWrapper()
    • Method Detail

      • wrap

        @Nonnull
        public static javafx.beans.property.BooleanProperty wrap​(@Nonnull
                                                                 it.tidalwave.role.ui.BoundProperty<java.lang.Boolean> property)
        Returns a JavaFX wrapping property which is kept in sync with the given BoundProperty. FIXME: this is temporary until we fix the JavaFX property issue: either they are supported by UserAction or everything is replaced by BoundProperty. FIXME: this is for sure prone to leaks, as listeners are not weak.