Package guideme.document.block
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 guideme.document.block.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 guideme.document.block.LytAxisBox
getAlignItems, getGap, setAlignItems, setGapMethods inherited from class guideme.document.block.LytBox
append, clearContent, computeLayout, getBackgroundColor, getChildren, onLayoutMoved, removeChild, render, setBackgroundColor, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTopMethods inherited from class guideme.document.block.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 guideme.document.block.LytNode
getDocument, getHoverStyle, getParent, getSourceNode, getStyle, getStylingParent, getTextContent, onMouseEnter, onMouseLeave, pickNode, setHoverStyle, setSourceNode, setStyle, tick, visit, visit, visitChildrenMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface guideme.document.block.LytBlockContainer
appendErrorMethods inherited from interface guideme.style.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)
-