Package org.jsignal.ui.layout
Interface LayoutConfig
- All Known Implementing Classes:
YogaLayoutConfig
public interface LayoutConfig
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
static enum
static enum
static enum
static enum
static enum
static enum
static interface
static enum
static enum
static enum
static final record
static enum
-
Method Summary
Modifier and TypeMethodDescriptionvoid
copy
(LayoutConfig config) void
void
reset()
void
void
setAlignItems
(LayoutConfig.Align align) void
setAlignSelf
(LayoutConfig.Align align) void
setAspectRatio
(float aspectRatio) void
setBasis
(LayoutValue basis) void
void
setBorder
(LayoutConfig.Edge edge, float border) void
setDirection
(LayoutConfig.Direction direction) void
setDisplay
(LayoutConfig.Display display) void
setFlex
(float flex) void
setFlexDirection
(LayoutConfig.FlexDirection direction) void
setGap
(LayoutConfig.Gutter gutter, float gap) void
setGrow
(float grow) void
setHeight
(LayoutValue height) void
void
setJustifyContent
(LayoutConfig.JustifyContent justifyContent) void
setMargin
(LayoutConfig.Edge edge, LayoutValue margin) void
void
setMaxHeight
(LayoutValue maxHeight) void
setMaxWidth
(LayoutValue maxWidth) void
setMeasure
(LayoutConfig.Measure measure) void
setMinHeight
(LayoutValue minHeight) void
setMinWidth
(LayoutValue minWidth) void
setOverflow
(LayoutConfig.Overflow overflow) void
setPadding
(LayoutConfig.Edge edge, LayoutValue padding) void
setPosition
(LayoutConfig.Edge edge, LayoutValue position) void
setPositionType
(LayoutConfig.PositionType position) void
setShrink
(float shrink) void
setWidth
(LayoutValue width) void
void
setWrap
(LayoutConfig.Wrap wrap)
-
Method Details
-
reset
void reset() -
copy
-
setMeasure
-
markDirty
void markDirty() -
setDirection
-
setFlexDirection
-
setJustifyContent
-
setAlignContent
-
setAlignItems
-
setAlignSelf
-
setPositionType
-
setWrap
-
setOverflow
-
setDisplay
-
setFlex
void setFlex(float flex) -
setGrow
void setGrow(float grow) -
setShrink
void setShrink(float shrink) -
setBasis
-
setBasisAuto
void setBasisAuto() -
setPosition
-
setMargin
-
setMarginAuto
-
setPadding
-
setBorder
-
setGap
-
setWidth
-
setWidthAuto
void setWidthAuto() -
setHeight
-
setHeightAuto
void setHeightAuto() -
setMinWidth
-
setMaxWidth
-
setMinHeight
-
setMaxHeight
-
setAspectRatio
void setAspectRatio(float aspectRatio)
-