Interface FileTreeViews.Observable<T>

    • Method Detail

      • addObserver

        int addObserver​(FileTreeViews.Observer<? super T> observer)
        Add an observer of events. The return value is a handle that can be used to unregister the provided observer from receiving event notifications.
        Parameters:
        observer - the observer to add
        Returns:
        the handle to the observer.
      • removeObserver

        void removeObserver​(int handle)
        Remove an observer.
        Parameters:
        handle - the handle that was returned by addObserver