Class TableElement

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

public class TableElement extends Object
Represents a single cell element within a TableComponent.

Each table element can have its own text content, color, and alignment settings. When these properties are not set (null), the element inherits values from its parent row, column, or the table's default settings, in that priority order.

Use the builder pattern to create instances:

 TableElement element = TableElement.builder()
     .content("Cell Text")
     .color(Color.WHITE)
     .alignment(TableAlignment.CENTER)
     .build();
 

See Also:
  • Constructor Details

    • TableElement

      public TableElement()