Class LytHBox
java.lang.Object
guideme.document.block.LytNode
guideme.document.block.LytBlock
guideme.document.block.LytBox
guideme.document.block.LytAxisBox
guideme.document.block.LytHBox
- All Implemented Interfaces:
LytBlockContainer, LytErrorSink, Styleable
Lays out its children vertically.
-
Field Summary
Fields inherited from class LytBox
children, paddingBottom, paddingLeft, paddingRight, paddingTop -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LytRectcomputeBoxLayout(LayoutContext context, int x, int y, int availableWidth) booleanisWrap()voidsetWrap(boolean wrap) Methods inherited from class LytAxisBox
getAlignItems, getGap, setAlignItems, setGapMethods inherited from class LytBox
append, clearContent, computeLayout, getBackgroundColor, getChildren, onLayoutMoved, removeChild, render, setBackgroundColor, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTopMethods inherited from class LytBlock
getBorderBottom, getBorderLeft, getBorderRight, getBorderTop, getBounds, getMarginBottom, getMarginEnd, getMarginLeft, getMarginRight, getMarginStart, getMarginTop, isCulled, isFullWidth, layout, setBorder, setBorderBottom, setBorderLeft, setBorderRight, setBorderTop, setFullWidth, setLayoutPos, setMarginBottom, setMarginLeft, setMarginRight, setMarginTopMethods inherited from class LytNode
getDocument, getHoverStyle, getParent, getSourceNode, getStyle, getStylingParent, getTextContent, onMouseEnter, onMouseLeave, pickNode, setHoverStyle, setSourceNode, setStyle, tick, visit, visit, visitChildrenMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface LytBlockContainer
appendErrorMethods inherited from interface Styleable
modifyHoverStyle, modifyStyle, resolveHoverStyle, resolveStyle
-
Constructor Details
-
LytHBox
public LytHBox()
-
-
Method Details
-
computeBoxLayout
- Specified by:
computeBoxLayoutin classLytBox
-
isWrap
public boolean isWrap() -
setWrap
public void setWrap(boolean wrap)
-