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 LytRect
computeBoxLayout
(LayoutContext context, int x, int y, int availableWidth) boolean
isWrap()
void
setWrap
(boolean wrap) Methods inherited from class guideme.document.block.LytAxisBox
getAlignItems, getGap, setAlignItems, setGap
Methods inherited from class guideme.document.block.LytBox
append, clearContent, computeLayout, getBackgroundColor, getChildren, onLayoutMoved, removeChild, render, renderBatch, setBackgroundColor, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop
Methods 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, setMarginTop
Methods inherited from class guideme.document.block.LytNode
getDocument, getHoverStyle, getParent, getSourceNode, getStyle, getStylingParent, getTextContent, onMouseEnter, onMouseLeave, pickNode, setHoverStyle, setSourceNode, setStyle, tick, visit, visit, visitChildren
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface guideme.document.block.LytBlockContainer
appendError
Methods inherited from interface guideme.style.Styleable
modifyHoverStyle, modifyStyle, resolveHoverStyle, resolveStyle
-
Constructor Details
-
LytHBox
public LytHBox()
-
-
Method Details
-
computeBoxLayout
- Specified by:
computeBoxLayout
in classLytBox
-
isWrap
public boolean isWrap() -
setWrap
public void setWrap(boolean wrap)
-