Interface VirtualItemStateProvider

    • Method Detail

      • isVirtualRoot

        boolean isVirtualRoot​(ItemId id)
        Checks if the id refers to the root of a virtual tree.
        Parameters:
        id -
        Returns:
        true if it is the root
      • getVirtualRootId

        @Deprecated
        NodeId getVirtualRootId()
        Deprecated.
        use getVirtualRootIds() instead.
        Returns the id of the root node of the virtual tree.
        Returns:
        the id of the root node of the virtual tree.
      • getVirtualRootIds

        NodeId[] getVirtualRootIds()
        Returns the ids of the root nodes of the virtual tree.
        Returns:
        the ids of the roots node of the virtual tree.
      • setNodeReferences

        boolean setNodeReferences​(ChangeLog references)
        Informs this provider that the node references to some of its states have changed.
        Parameters:
        references - collection of NodeReferences instances
        Returns:
        true if the reference target is one of its items.
      • addListener

        void addListener​(ItemStateListener listener)
        Add an ItemStateListener
        Parameters:
        listener - the new listener to be informed on modifications
      • removeListener

        void removeListener​(ItemStateListener listener)
        Remove an ItemStateListener
        Parameters:
        listener - an existing listener