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,MutableAlgorithmOverrideProperty,MutableAlgorithmProperty,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 voidaddPropertyListener(PropertyListener<T> listener)voidaddWeakPropertyListener(PropertyListener<T> listener)Add a listener to the list that's notified each time a change to the selection occurs.TgetValue()voidremovePropertyListener(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)
-
-