Interface Dialogs.HasHeader<T>

Type Parameters:
T - return type of fluent API methods
All Known Subinterfaces:
Dialogs.BackgroundTaskDialogBuilder<T,V>, Dialogs.DialogBuilder<T>, Dialogs.InputDialogBuilder, Dialogs.MessageDialogBuilder, Dialogs.OptionDialogBuilder
All Known Implementing Classes:
DialogsImpl.BackgroundTaskDialogBuilderImpl, DialogsImpl.InputDialogBuilderImpl, DialogsImpl.MessageDialogBuilderImpl, DialogsImpl.OptionDialogBuilderImpl
Enclosing interface:
Dialogs

public static interface Dialogs.HasHeader<T>
Represents Dialog Builders that have a header.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Sets a header text.
  • Method Details

    • withHeader

      T withHeader(String header)
      Sets a header text.
      Parameters:
      header - header text
      Returns:
      builder
    • getHeader

      @Nullable String getHeader()
      Returns:
      header text