Interface IWidgetValueProperty

    • Method Detail

      • observe

        ISWTObservableValue observe​(Widget widget)
        Returns an ISWTObservableValue observing this value property on the given widget
        Parameters:
        widget - the source widget
        Returns:
        an observable value observing this value property on the given widget
      • observeDelayed

        ISWTObservableValue observeDelayed​(int delay,
                                           Widget widget)
        Returns an ISWTObservableValue observing this value property on the given widget, which delays notification of value changes until at least delay 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.