Class Enablement.Condition

    • Constructor Detail

      • Condition

        public Condition()
    • Method Detail

      • evaluate

        public abstract boolean evaluate​(BindingContext bindingContext)
        Parameters:
        bindingContext - The binding context.
        Returns:
        true, if the condition is met.
      • install

        public void install​(BindingContext bindingContext,
                            Enablement enablement)
        Adds the given property change enablement to any dependent bindings or components in the binding context. The default implementation does nothing.
        Parameters:
        bindingContext - The binding context.
        enablement - A property change enablement.
      • uninstall

        public void uninstall​(BindingContext bindingContext,
                              Enablement enablement)
        Notifies this condition that the enablement has been uninstalled. The default implementation does nothing.

        The default implementation does nothing.

        Parameters:
        bindingContext - The binding context.
        enablement - A property change enablement.