Package org.httprpc.sierra
Class UIBuilder.Cell<C extends Component>
java.lang.Object
org.httprpc.sierra.UIBuilder.Cell<C>
- Enclosing class:
- UIBuilder
Provides a fluent API for configuring a sub-component.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the cell's component.weightBy
(double weight) Applies a weight value to a cell.final UIBuilder.Cell<C>
Applies consumers to a cell's component.
-
Method Details
-
getComponent
Returns the cell's component.- Returns:
- The cell's component.
-
weightBy
Applies a weight value to a cell.- Parameters:
weight
- The weight value.- Returns:
- The cell instance.
-
with
Applies consumers to a cell's component.- Parameters:
consumers
- The consumers to apply.- Returns:
- The cell instance.
-