com.holonplatform.vaadin7.components.builders

## Interface ClickableLayoutConfigurator<B extends ClickableLayoutConfigurator<B>>

- Type Parameters:
    `B` - Concrete builder type
  All Superinterfaces:
    ComponentConfigurator<B>, ComponentContainerConfigurator<B>
  All Known Subinterfaces:
    ClickableLayoutConfigurator.BaseClickableLayoutConfigurator, FormLayoutBuilder, GridLayoutBuilder, HorizontalLayoutBuilder, LayoutBuilder<C,B>, LayoutConfigurator<B>, LayoutConfigurator.BaseLayoutConfigurator, OrderedLayoutBuilder<C,B>, OrderedLayoutConfigurator<B>, OrderedLayoutConfigurator.BaseOrderedLayoutConfigurator, VerticalLayoutBuilder

      public interface ClickableLayoutConfigurator<B extends ClickableLayoutConfigurator<B>>
      extends ComponentContainerConfigurator<B>

  Interface to configure a `Layout` supporting `LayoutEvents.LayoutClickListener`s.
  Since:
    5.0.0

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static interface` | `ClickableLayoutConfigurator.BaseClickableLayoutConfigurator` Base `ClickableLayoutConfigurator`.

    - ### Nested classes/interfaces inherited from interface com.holonplatform.vaadin7.components.builders.ComponentConfigurator

      `ComponentConfigurator.BaseComponentConfigurator`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `B` | `withLayoutClickListener(com.vaadin.event.LayoutEvents.LayoutClickListener listener)` Adds a click listener to the layout.

    - ### Methods inherited from interface com.holonplatform.vaadin7.components.builders.ComponentContainerConfigurator

      `add, withComponentAttachListener, withComponentDetachListener`

    - ### Methods inherited from interface com.holonplatform.vaadin7.components.builders.ComponentConfigurator

      `caption, caption, caption, captionAsHtml, description, description, description, disabled, errorHandler, fullHeight, fullSize, fullWidth, height, height, heightUndefined, hidden, icon, id, immediate, notVisible, primaryStyleName, replaceStyleName, responsive, sizeUndefined, styleName, width, width, widthUndefined, withAttachListener, withContextClickListener, withData, withDetachListener, withShortcutListener`

- - ### Method Detail

    - #### withLayoutClickListener

          B withLayoutClickListener(com.vaadin.event.LayoutEvents.LayoutClickListener listener)

      Adds a click listener to the layout. The listener is called whenever the user clicks inside the layout. An event is also triggered when the click targets a component inside a nested layout or Panel, provided the targeted component does not prevent the click event from propagating. A caption is not considered part of a component. The child component that was clicked is included in the `LayoutEvents.LayoutClickEvent`.
      Parameters:
        `listener` - The listener to add
      Returns:
        this

Copyright © 2019 The Holon Platform. All rights reserved.