Class TableRow

java.lang.Object
net.storm.api.ui.TableRow

public class TableRow extends Object
Represents a row of cells within a TableComponent.

A table row contains a list of TableElement cells and can define row-level color and alignment settings. Individual cell settings take precedence over row settings, which in turn take precedence over column and table default settings.

Use the builder pattern to create instances:

 TableRow row = TableRow.builder()
     .rowColor(Color.YELLOW)
     .rowAlignment(TableAlignment.LEFT)
     .elements(Arrays.asList(element1, element2))
     .build();
 

See Also:
  • Constructor Details

    • TableRow

      public TableRow()