Class SimpleListProperty<E>

Type Parameters:
E - the type of the List elements
All Implemented Interfaces:
Iterable<E>, Collection<E>, List<E>, Observable, Property<ObservableList<E>>, ReadOnlyProperty<ObservableList<E>>, ObservableListValue<E>, ObservableObjectValue<ObservableList<E>>, ObservableValue<ObservableList<E>>, WritableListValue<E>, WritableObjectValue<ObservableList<E>>, WritableValue<ObservableList<E>>, ObservableList<E>

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

    • SimpleListProperty

      public SimpleListProperty()
      The constructor of SimpleListProperty
    • SimpleListProperty

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

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

      public SimpleListProperty(Object bean, String name, ObservableList<E> initialValue)
      The constructor of SimpleListProperty
      Parameters:
      bean - the bean of this ListProperty
      name - the name of this ListProperty
      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