Interface Pollable<G extends Pollable<G>>

    • Method Detail

      • pollable

        default G pollable​(UnaryOperator<Pollable<?>> fn)
        Configure polling behavior for the component. This is generally used with a lambda function, for example:
         grid.pollable(pollable -> pollable
                 .pollableOptions(options -> options
                         .errorLimit(5)
                         .constantStrategy(5000)));
         
        Parameters:
        fn - the function to configure the pollable component
        Returns:
        the pollable
      • pollable

        default G pollable​(boolean isPollable)
      • pollable

        default G pollable()
        Enables pollable behavior with out-of-box defaults.
        Returns:
        the pollable
      • notPollable

        default G notPollable()
        Disables pollable behavior.
        Returns:
        the pollable
      • pollableOptions

        default G pollableOptions​(UnaryOperator<PollableOptions> fn)
        Enables pollable behavior and provides the opportunity to configure the PollableOptions.
        Parameters:
        fn - the function to configure the poll options
        Returns:
        the pollable
      • pollableCollectionConditions

        default G pollableCollectionConditions​(Collection<Conditional<?>> conditionsToAdd)
      • pollableCollectionCondition

        default G pollableCollectionCondition​(Conditional<?>... conditions)
      • pollableItemCondition

        default G pollableItemCondition​(Conditional<?>... conditions)