com.holonplatform.vaadin.flow.components.builders

## Interface ClickNotifierConfigurator<S,E extends ClickEvent<S>,C extends ClickNotifierConfigurator<S,E,C>>

- Type Parameters:
    `S` - Event source type
    `E` - Click event type
    `C` - Concrete configurator type
  All Known Subinterfaces:
    BooleanInputBuilder, BooleanInputConfigurator<C>, ButtonBuilder, ButtonConfigurator<C>, ButtonConfigurator.BaseButtonConfigurator, LabelBuilder<L>, LabelConfigurator<L,C>, LabelConfigurator.BaseLabelConfigurator<L>, NativeButtonBuilder, ValidatableBooleanInputBuilder, ViewComponentAdapterBuilder<T>, ViewComponentBuilder<T>, ViewComponentConfigurator<T,C>

      public interface ClickNotifierConfigurator<S,E extends ClickEvent<S>,C extends ClickNotifierConfigurator<S,E,C>>

  Configurator for components which support `ClickEventListener` registration.
  Since:
    5.2.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default C` | `onClick(ClickEventListener<S,E> clickEventListener)` Register a click event listener.
    `C` | `withClickListener(ClickEventListener<S,E> clickEventListener)` Register a click event listener.

- - ### Method Detail

    - #### withClickListener

          C withClickListener(ClickEventListener<S,E> clickEventListener)

      Register a click event listener.
      Parameters:
        `clickEventListener` - The listener to add (not null)
      Returns:
        this

    - #### onClick

          default C onClick(ClickEventListener<S,E> clickEventListener)

      Register a click event listener.

      Alias for `withClickListener(ClickEventListener)`.

      Parameters:
        `clickEventListener` - The listener to add (not null)
      Returns:
        this

Copyright © 2019 The Holon Platform. All rights reserved.