Interface Dialogs.HasContent<T>

Type Parameters:
T - return type of fluent API methods
All Known Subinterfaces:
Dialogs.MessageDialogBuilder, Dialogs.OptionDialogBuilder
All Known Implementing Classes:
DialogsImpl.MessageDialogBuilderImpl, DialogsImpl.OptionDialogBuilderImpl
Enclosing interface:
Dialogs

public static interface Dialogs.HasContent<T>
Marker interface for Dialog Builders that have a text inside Paragraph component.

Note, overrides the content set value that was set using the Dialogs.HasText.withText(String) method.

  • Method Summary

    Modifier and Type
    Method
    Description
    com.vaadin.flow.component.Component
     
    withContent(com.vaadin.flow.component.Component content)
    Sets a content.
  • Method Details

    • withContent

      T withContent(com.vaadin.flow.component.Component content)
      Sets a content.
      Parameters:
      content - a content
      Returns:
      builder
    • getContent

      @Nullable com.vaadin.flow.component.Component getContent()
      Returns:
      a content