Class CellPopover

java.lang.Object
org.apache.juneau.console.views.CellPopover

@BeanType(properties="title,fields") public class CellPopover extends Object
Author-declared per-cell popover attached to a Render.

Omitted from the VIEW_META wire when null. The client opens it on click/Enter/Space and fills it from the DataTables row already on the client — no fetch, no innerHTML.

Since:
10.0.0
  • Field Details

    • title

      public String title
      Optional dialog title. Also used as the trigger's accessible name when non-blank.
    • fields

      Ordered fields. At least one is required.
  • Constructor Details

  • Method Details

    • of

      public static CellPopover of(PopoverField... fields)
      Creates a popover with the specified fields.
      Parameters:
      fields - The fields, in display order.
      Returns:
      A new CellPopover.
    • title

      public CellPopover title(String value)
      Sets the optional dialog title.
      Parameters:
      value - The title. Can be null.
      Returns:
      This object.
    • fields

      public CellPopover fields(PopoverField... value)
      Sets the ordered fields.
      Parameters:
      value - The fields, in display order.
      Returns:
      This object.
    • validate

      public void validate()
      Fail-closed bean validation.
      Throws:
      IllegalArgumentException - If this popover is not well-formed.