Interface WidgetBuilder

All Superinterfaces:
ViewFactory
All Known Implementing Classes:
AggComboWidgetBuilder, MultiViewBuilder

@InternalUseOnly public interface WidgetBuilder extends ViewFactory
The root of all builders. Internal only.
  • Method Details

    • get

      @NotNull @ScriptApi static @NotNull WidgetBuilder get()
      Get a builder to define a widget.
      Returns:
      a new WidgetBuilder instance
    • addView

      @NotNull @InternalUseOnly @NotNull WidgetBuilder addView(@NotNull @NotNull String name, @NotNull @NotNull ViewTab viewTab)
      Add a defined view to the set of views. NOTE: Internal use only!
      Parameters:
      name - the name of the tab
      viewTab - the actual tab
      Returns:
      this WidgetBuilder
    • addFilter

      @NotNull @InternalUseOnly @NotNull WidgetBuilder addFilter(@NotNull @NotNull FilterDescriptor<?> descriptor)
      Add a defined global filter to the set of filters. NOTE: Internal use only!
      Parameters:
      descriptor - the actual filter.
      Returns:
      this WidgetBuilder