Interface ApplyLayoutContext
public interface ApplyLayoutContext
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addConstraint
(@Nullable String comment, Constraint constraint) default void
addConstraints
(@Nullable String comment, Constraint... constraints) default boolean
default @Nullable ExprRect
The space made available to the element by the parent.context()
default Variable
default VarRect
-
Method Details
-
context
LayoutContext context() -
newVariable
-
newVarRect
-
addConstraint
void addConstraint(@Nullable @Nullable String comment, Constraint constraint) throws LayoutException - Throws:
LayoutException
-
addConstraints
default void addConstraints(@Nullable @Nullable String comment, Constraint... constraints) throws LayoutException - Throws:
LayoutException
-
available
The space made available to the element by the parent. -
assertions
default boolean assertions()
-