Module javafx.base

Class ReadOnlySetWrapper<E>

All Implemented Interfaces:
Iterable<E>, Collection<E>, Set<E>, Observable, Property<ObservableSet<E>>, ReadOnlyProperty<ObservableSet<E>>, ObservableObjectValue<ObservableSet<E>>, ObservableSetValue<E>, ObservableValue<ObservableSet<E>>, WritableObjectValue<ObservableSet<E>>, WritableSetValue<E>, WritableValue<ObservableSet<E>>, ObservableSet<E>

public class ReadOnlySetWrapper<E>
extends SimpleSetProperty<E>
This class provides a convenient class to define read-only properties. It creates two properties that are synchronized. One property is read-only and can be passed to external users. The other property is read- and writable and should be used internally only.
Since:
JavaFX 2.1
  • Constructor Details

    • ReadOnlySetWrapper

      public ReadOnlySetWrapper()
      The constructor of ReadOnlySetWrapper
    • ReadOnlySetWrapper

      public ReadOnlySetWrapper​(ObservableSet<E> initialValue)
      The constructor of ReadOnlySetWrapper
      Parameters:
      initialValue - the initial value of the wrapped value
    • ReadOnlySetWrapper

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

      public ReadOnlySetWrapper​(Object bean, String name, ObservableSet<E> initialValue)
      The constructor of ReadOnlySetWrapper
      Parameters:
      bean - the bean of this ReadOnlySetWrapper
      name - the name of this ReadOnlySetWrapper
      initialValue - the initial value of the wrapped value
  • Method Details