Module javafx.base

Class ReadOnlyObjectWrapper<T>

    • Constructor Detail

      • ReadOnlyObjectWrapper

        public ReadOnlyObjectWrapper()
        The constructor of ReadOnlyObjectWrapper
      • ReadOnlyObjectWrapper

        public ReadOnlyObjectWrapper​(T initialValue)
        The constructor of ReadOnlyObjectWrapper
        Parameters:
        initialValue - the initial value of the wrapped value
      • ReadOnlyObjectWrapper

        public ReadOnlyObjectWrapper​(Object bean,
                                     String name)
        The constructor of ReadOnlyObjectWrapper
        Parameters:
        bean - the bean of this ReadOnlyObjectProperty
        name - the name of this ReadOnlyObjectProperty
      • ReadOnlyObjectWrapper

        public ReadOnlyObjectWrapper​(Object bean,
                                     String name,
                                     T initialValue)
        The constructor of ReadOnlyObjectWrapper
        Parameters:
        bean - the bean of this ReadOnlyObjectProperty
        name - the name of this ReadOnlyObjectProperty
        initialValue - the initial value of the wrapped value
    • Method Detail

      • getReadOnlyProperty

        public ReadOnlyObjectProperty<T> getReadOnlyProperty()
        Returns the readonly property, that is synchronized with this ReadOnlyObjectWrapper.
        Returns:
        the readonly property