Package org.jsignal.ui.layout
Class YogaLayoutConfig
java.lang.Object
org.jsignal.ui.layout.YogaLayoutConfig
- All Implemented Interfaces:
LayoutConfig
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jsignal.ui.layout.LayoutConfig
LayoutConfig.Align, LayoutConfig.Direction, LayoutConfig.Display, LayoutConfig.Edge, LayoutConfig.FlexDirection, LayoutConfig.Gutter, LayoutConfig.JustifyContent, LayoutConfig.Measure, LayoutConfig.MeasureMode, LayoutConfig.Overflow, LayoutConfig.PositionType, LayoutConfig.Size, LayoutConfig.Wrap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
copy
(LayoutConfig config) long
getNode()
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)
-
Constructor Details
-
YogaLayoutConfig
public YogaLayoutConfig(long node)
-
-
Method Details
-
getNode
public long getNode() -
reset
public void reset()- Specified by:
reset
in interfaceLayoutConfig
-
copy
- Specified by:
copy
in interfaceLayoutConfig
-
setMeasure
- Specified by:
setMeasure
in interfaceLayoutConfig
-
setDirection
- Specified by:
setDirection
in interfaceLayoutConfig
-
setFlexDirection
- Specified by:
setFlexDirection
in interfaceLayoutConfig
-
setJustifyContent
- Specified by:
setJustifyContent
in interfaceLayoutConfig
-
setAlignContent
- Specified by:
setAlignContent
in interfaceLayoutConfig
-
setAlignItems
- Specified by:
setAlignItems
in interfaceLayoutConfig
-
setAlignSelf
- Specified by:
setAlignSelf
in interfaceLayoutConfig
-
setPositionType
- Specified by:
setPositionType
in interfaceLayoutConfig
-
setWrap
- Specified by:
setWrap
in interfaceLayoutConfig
-
setOverflow
- Specified by:
setOverflow
in interfaceLayoutConfig
-
setDisplay
- Specified by:
setDisplay
in interfaceLayoutConfig
-
setFlex
public void setFlex(float flex) - Specified by:
setFlex
in interfaceLayoutConfig
-
setGrow
public void setGrow(float grow) - Specified by:
setGrow
in interfaceLayoutConfig
-
setShrink
public void setShrink(float shrink) - Specified by:
setShrink
in interfaceLayoutConfig
-
setBasis
- Specified by:
setBasis
in interfaceLayoutConfig
-
setBasisAuto
public void setBasisAuto()- Specified by:
setBasisAuto
in interfaceLayoutConfig
-
setPosition
- Specified by:
setPosition
in interfaceLayoutConfig
-
setMargin
- Specified by:
setMargin
in interfaceLayoutConfig
-
setMarginAuto
- Specified by:
setMarginAuto
in interfaceLayoutConfig
-
setPadding
- Specified by:
setPadding
in interfaceLayoutConfig
-
setBorder
- Specified by:
setBorder
in interfaceLayoutConfig
-
setGap
- Specified by:
setGap
in interfaceLayoutConfig
-
setWidth
- Specified by:
setWidth
in interfaceLayoutConfig
-
setWidthAuto
public void setWidthAuto()- Specified by:
setWidthAuto
in interfaceLayoutConfig
-
setHeight
- Specified by:
setHeight
in interfaceLayoutConfig
-
setHeightAuto
public void setHeightAuto()- Specified by:
setHeightAuto
in interfaceLayoutConfig
-
setMinWidth
- Specified by:
setMinWidth
in interfaceLayoutConfig
-
setMaxWidth
- Specified by:
setMaxWidth
in interfaceLayoutConfig
-
setMinHeight
- Specified by:
setMinHeight
in interfaceLayoutConfig
-
setMaxHeight
- Specified by:
setMaxHeight
in interfaceLayoutConfig
-
setAspectRatio
public void setAspectRatio(float aspectRatio) - Specified by:
setAspectRatio
in interfaceLayoutConfig
-
markDirty
public void markDirty()- Specified by:
markDirty
in interfaceLayoutConfig
-