Interface BindingProvider

    • Method Detail

      • addBindingChangeListener

        void addBindingChangeListener​(BindingChangeListener listener)
        Adds a binding change listener, which gets notified whenever there are changes in the binding configuration
        Parameters:
        listener - the binding change listener to add
      • removeBindingChangeListener

        void removeBindingChangeListener​(BindingChangeListener listener)
        Removes a binding change listener again. Does nothing, if this listener has not been added before.
        Parameters:
        listener - the binding listener to remove
      • providesBindingFor

        boolean providesBindingFor​(String itemName)
        Indicates whether this binding provider contains a binding for the given itemName
        Parameters:
        itemName - the itemName to check
        Returns:
        true if this provider contains an adequate mapping for itemName and false otherwise.
      • providesBinding

        boolean providesBinding()
        Indicates whether this binding provider contains any binding
        Returns:
        true if this provider contains any binding configuration and false otherwise
      • getItemNames

        Collection<String> getItemNames()
        Returns all items which are mapped to this binding
        Returns:
        items which are mapped to this binding