Class Table.Row

java.lang.Object
io.mindspice.simplypages.components.display.Table.Row
All Implemented Interfaces:
Component
Enclosing class:
Table

public static class Table.Row extends Object implements Component
Renderable table row model.

Mutable only during construction.

  • Constructor Details

    • Row

      public Row(String... cellValues)
      Creates a row from text cells.
      Parameters:
      cellValues - text values
    • Row

      public Row(Component... cellComponents)
      Creates a row from component cells.
      Parameters:
      cellComponents - component values
  • Method Details

    • render

      public String render(RenderContext context)
      Renders this row and all cells.
      Specified by:
      render in interface Component
      Parameters:
      context - render context
      Returns:
      row HTML
    • render

      public String render()
      Renders using empty context.
      Specified by:
      render in interface Component
      Returns:
      row HTML