Interface Dialogs.HasStyle<T>

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

public static interface Dialogs.HasStyle<T>
Represents Dialog Builders that have style setting.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the CSS class names for this component.
    withClassName(String className)
    Sets the CSS class names of this component.
  • Method Details

    • withClassName

      T withClassName(@Nullable String className)
      Sets the CSS class names of this component. This method overwrites any previous set class names.
      Parameters:
      className - a space-separated string of class names to set, or null to remove all class names
    • getClassName

      @Nullable String getClassName()
      Gets the CSS class names for this component.
      Returns:
      a space-separated string of class names, or null if there are no class names