Package net.storm.api.ui
Class TableElement
java.lang.Object
net.storm.api.ui.TableElement
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
TableElement
public TableElement()
-