Class ViewerValueProperty

    • Constructor Detail

      • ViewerValueProperty

        public ViewerValueProperty()
    • Method Detail

      • observe

        public IObservableValue observe​(Object source)
        Description copied from interface: IValueProperty
        Returns an observable value observing this value property on the given property source.
        Specified by:
        observe in interface IValueProperty
        Overrides:
        observe in class ValueProperty
        Parameters:
        source - the property source
        Returns:
        an observable value observing this value property on the given property source
      • observe

        public IObservableValue observe​(Realm realm,
                                        Object source)
        Description copied from interface: IValueProperty
        Returns an observable value observing this value property on the given property source
        Specified by:
        observe in interface IValueProperty
        Overrides:
        observe in class SimpleValueProperty
        Parameters:
        realm - the observable's realm
        source - the property source
        Returns:
        an observable value observing this value property on the given property source
      • observeDelayed

        public IViewerObservableValue observeDelayed​(int delay,
                                                     Viewer viewer)
        Description copied from interface: IViewerValueProperty
        Returns an IViewerObservableValue observing this value property on the given viewer, 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 viewer's control (whichever happens first).

        This method is equivalent to ViewersObservables.observeDelayedValue(delay, observe(viewer)).

        Specified by:
        observeDelayed in interface IViewerValueProperty
        Parameters:
        delay - the delay in milliseconds.
        viewer - the source viewer
        Returns:
        an observable value observing this value property on the given viewer, and which delays change notifications for delay milliseconds.