Interface Property<T>

Type Parameters:
T - the type of elements that the property can hold
All Known Subinterfaces:
ListProperty<T>, MutableListProperty<T>, MutableProperty<T>
All Known Implementing Classes:
AbstractListProperty, AbstractMutableListProperty, AbstractMutableProperty, AbstractProperty, BoundedIntervalProperty, IntervalProperty, OverrideProperty, SimpleListProperty, SimpleProperty, SingleSelectionProperty

@JsType public interface Property<T>
This interface represents the current value of a named property.
  • Method Details

    • getValue

      T getValue()
    • addPropertyListener

      void addPropertyListener(PropertyListener<T> listener)
    • addWeakPropertyListener

      void addWeakPropertyListener(PropertyListener<T> listener)
      Add a listener to the list that's notified each time a change to the selection occurs. The listener will automatically be disposed of should no other object have a reference to it.
      Parameters:
      listener - the SelectionListener
    • removePropertyListener

      void removePropertyListener(PropertyListener<T> listener)