Interface Dialogs.HasTheme<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.HasTheme<T>
Represents Dialog Builders that have theme setting.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the theme names for this component.
    withThemeName(String themeName)
    Sets the theme names of the dialog.
  • Method Details

    • withThemeName

      T withThemeName(String themeName)
      Sets the theme names of the dialog. This method overwrites any previous set theme names.
      Parameters:
      themeName - a space-separated string of theme names to set, or empty string to remove all theme names
      Returns:
      builder
    • getThemeName

      @Nullable String getThemeName()
      Gets the theme names for this component.
      Returns:
      a space-separated string of theme names, empty string if there are no theme names or null if attribute (theme) is not set at all