Package com.macrofocus.properties
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
,IntervalProperty
,OverrideProperty
,SimpleListProperty
,SimpleProperty
,SingleSelectionProperty
,WrappedMutableProperty
@JsType public interface Property<T>
This interface represents the current value of a named property.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addPropertyListener(PropertyListener<T> listener)
void
addWeakPropertyListener(PropertyListener<T> listener)
Add a listener to the list that's notified each time a change to the selection occurs.T
getValue()
void
removePropertyListener(PropertyListener<T> listener)
-
-
-
Method Detail
-
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)
-
-