Package su.onno.ui

Class ListSpec.CustomSpec

java.lang.Object
su.onno.ui.ListSpec.CustomSpec
Enclosing class:
ListSpec<E>

public static final class ListSpec.CustomSpec extends Object
A custom list-body renderer: the widget-registry type the client resolves the component from, an optional toolbar-toggle label (else the UI's list.customView message), and whether the list opens on the custom view.
  • Method Details

    • label

      public ListSpec.CustomSpec label(String label)
      The toolbar-toggle label for the custom view (defaults to the list.customView message).
    • defaultView

      public ListSpec.CustomSpec defaultView()
      Open the list on the custom view rather than the table.
    • type

      public String type()
    • label

      public String label()
    • isDefaultView

      public boolean isDefaultView()