Module javafx.base

Class SimpleSetProperty<E>

Type Parameters:
E - the type of the Set elements
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>
Direct Known Subclasses:
ReadOnlySetWrapper

public class SimpleSetProperty<E> extends SetPropertyBase<E>
This class provides a full implementation of a Property wrapping an ObservableSet.
Since:
JavaFX 2.1
See Also:
  • Constructor Details

    • SimpleSetProperty

      public SimpleSetProperty()
      The constructor of SimpleSetProperty
    • SimpleSetProperty

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

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

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

    • getBean

      public Object getBean()
      Returns the Object that contains this property. If this property is not contained in an Object, null is returned.
      Returns:
      the containing Object or null
    • getName

      public String getName()
      Returns the name of this property. If the property does not have a name, this method returns an empty String.
      Returns:
      the name or an empty String