Interface IWidgetValueProperty<S extends Widget,T>
-
- Type Parameters:
S
- type of the source widgetT
- type of the value of the property
- All Superinterfaces:
IProperty
,IValueProperty<S,T>
- All Known Implementing Classes:
WidgetValueProperty
public interface IWidgetValueProperty<S extends Widget,T> extends IValueProperty<S,T>
IValueProperty
for observing an SWT Widget- Since:
- 1.3
- Restriction:
- This interface is not intended to be implemented by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ISWTObservableValue<T>
observe(S widget)
Returns anISWTObservableValue
observing this value property on the given widgetISWTObservableValue<T>
observeDelayed(int delay, S widget)
Returns anISWTObservableValue
observing this value property on the given widget, which delays notification of value changes until at leastdelay
milliseconds have elapsed since that last change event, or until a FocusOut event is received from the widget (whichever happens first).-
Methods inherited from interface org.eclipse.core.databinding.property.value.IValueProperty
getValue, getValueType, list, map, observe, observeDetail, observeDetail, observeDetail, observeDetail, set, setValue, value, valueFactory, valueFactory
-
-
-
-
Method Detail
-
observe
ISWTObservableValue<T> observe(S widget)
Returns anISWTObservableValue
observing this value property on the given widget- Specified by:
observe
in interfaceIValueProperty<S extends Widget,T>
- Parameters:
widget
- the source widget- Returns:
- an observable value observing this value property on the given widget
-
observeDelayed
ISWTObservableValue<T> observeDelayed(int delay, S widget)
Returns anISWTObservableValue
observing this value property on the given widget, which delays notification of value changes until at leastdelay
milliseconds have elapsed since that last change event, or until a FocusOut event is received from the widget (whichever happens first).This method is equivalent to
SWTObservables.observeDelayedValue(delay, observe(widget))
.- Parameters:
delay
- the delay in milliseconds.widget
- the source widget- Returns:
- an observable value observing this value property on the given
widget, and which delays change notifications for
delay
milliseconds.
-
-