Skip navigation links
A C F G H I L M N P R S W X Y 

A

append(int, int) - Method in class io.github.layout.LayoutContext
 
arrange(int, int) - Method in class io.github.layout.LayoutContext
 

C

calcSize(int, int) - Method in class io.github.layout.LayoutContext
 
clearItemBreak(int) - Method in class io.github.layout.LayoutContext
 

F

firstChild(int) - Method in class io.github.layout.LayoutContext
 

G

get(int) - Method in class io.github.layout.LayoutContext.LayoutRect
 
getGrow(int) - Method in class io.github.layout.LayoutContext
 
getMarginsLTRB(int, float[]) - Method in class io.github.layout.LayoutContext
 
getRect(int, float[]) - Method in class io.github.layout.LayoutContext
 
getRectHeight(int) - Method in class io.github.layout.LayoutContext
 
getRectWidth(int) - Method in class io.github.layout.LayoutContext
 
getRectX(int) - Method in class io.github.layout.LayoutContext
 
getRectY(int) - Method in class io.github.layout.LayoutContext
 
getSizeX(int) - Method in class io.github.layout.LayoutContext
 
getSizeXY(int, float[]) - Method in class io.github.layout.LayoutContext
 
getSizeY(int) - Method in class io.github.layout.LayoutContext
 

H

h - Variable in class io.github.layout.LayoutContext.LayoutRect
 

I

insert(int, int) - Method in class io.github.layout.LayoutContext
 
io.github.layout - package io.github.layout
 
item() - Method in class io.github.layout.LayoutContext
 
itemsCapacity() - Method in class io.github.layout.LayoutContext
 
itemsCount() - Method in class io.github.layout.LayoutContext
 

L

lastChild(int) - Method in class io.github.layout.LayoutContext
 
LAY_ANY - Static variable in class io.github.layout.Layout
a special mask passed to lay_find_item() (currently does not exist, was not ported from oui)
LAY_BOTTOM - Static variable in class io.github.layout.LayoutFlags
Anchor to bottom item or bottom side of parent
LAY_BREAK - Static variable in class io.github.layout.LayoutFlags
When in a wrapping container, put this element on a new line.
LAY_CENTER - Static variable in class io.github.layout.LayoutFlags
Center in both directions, with left/top margin as offset
LAY_COLUMN - Static variable in class io.github.layout.LayoutBoxFlags
top to bottom
LAY_END - Static variable in class io.github.layout.LayoutBoxFlags
at end of row/column
LAY_FILL - Static variable in class io.github.layout.LayoutFlags
Anchor to all four directions
LAY_FLEX - Static variable in class io.github.layout.LayoutBoxFlags
flex model
LAY_HCENTER - Static variable in class io.github.layout.LayoutFlags
Aenter horizontally, with left margin as offset
LAY_HFILL - Static variable in class io.github.layout.LayoutFlags
Anchor to both left and right item or parent borders
LAY_INVALID_ID - Static variable in class io.github.layout.Layout
 
LAY_ITEM_BOX_MASK - Static variable in class io.github.layout.Layout
bit 0-4
LAY_ITEM_BOX_MODEL_MASK - Static variable in class io.github.layout.Layout
bit 0-2
LAY_ITEM_COMPARE_MASK - Static variable in class io.github.layout.Layout
which flag bits will be compared
LAY_ITEM_FIXED_MASK - Static variable in class io.github.layout.Layout
bit 11-12
LAY_ITEM_HFIXED - Static variable in class io.github.layout.Layout
horizontal size has been explicitly set (bit 11)
LAY_ITEM_INSERTED - Static variable in class io.github.layout.Layout
item has been inserted (bit 10)
LAY_ITEM_LAYOUT_MASK - Static variable in class io.github.layout.Layout
bit 5-9
LAY_ITEM_VFIXED - Static variable in class io.github.layout.Layout
vertical size has been explicitly set (bit 12)
LAY_JUSTIFY - Static variable in class io.github.layout.LayoutBoxFlags
insert spacing to stretch across whole row/column
LAY_LAYOUT - Static variable in class io.github.layout.LayoutBoxFlags
free layout
LAY_LEFT - Static variable in class io.github.layout.LayoutFlags
Anchor to left item or left side of parent
LAY_MIDDLE - Static variable in class io.github.layout.LayoutBoxFlags
at center of row/column
LAY_NOWRAP - Static variable in class io.github.layout.LayoutBoxFlags
single-line
LAY_RIGHT - Static variable in class io.github.layout.LayoutFlags
Anchor to right item or right side of parent
LAY_ROW - Static variable in class io.github.layout.LayoutBoxFlags
left to right
LAY_START - Static variable in class io.github.layout.LayoutBoxFlags
justify-content (start, end, center, space-between) at start of row/column
LAY_TOP - Static variable in class io.github.layout.LayoutFlags
Anchor to top item or top side of parent
LAY_USERMASK - Static variable in class io.github.layout.Layout
these bits, starting at bit 16, can be safely assigned by the application, e.g.
LAY_VCENTER - Static variable in class io.github.layout.LayoutFlags
Center vertically, with top margin as offset
LAY_VFILL - Static variable in class io.github.layout.LayoutFlags
Anchor to both top and bottom item or parent borders
LAY_WRAP - Static variable in class io.github.layout.LayoutBoxFlags
multi-line, wrap left to right
layAppend(LayoutContext, int, int) - Static method in class io.github.layout.Layout
lay_append inserts an item as a sibling after another item.
layArrange(LayoutContext, int, int) - Static method in class io.github.layout.Layout
 
layCalcSize(LayoutContext, int, int) - Static method in class io.github.layout.Layout
 
layClearItemBreak(LayoutContext, int) - Static method in class io.github.layout.Layout
Performing a layout on items where wrapping is enabled in the parent container can cause flags to be modified during the calculations.
layFirstChild(LayoutContext, int) - Static method in class io.github.layout.Layout
Get the id of first child of an item, if any.
layGetGrow(LayoutContext, int) - Static method in class io.github.layout.Layout
Gets the grow factor of an item which was set with setGrow
layGetMarginsLTRB(LayoutContext, int, float[]) - Static method in class io.github.layout.Layout
Get the margins that were set by setMargins.
layGetRect(LayoutContext, int, float[]) - Static method in class io.github.layout.Layout
Returns the calculated rectangle of an item.
layGetRectHeight(LayoutContext, int) - Static method in class io.github.layout.Layout
 
layGetRectWidth(LayoutContext, int) - Static method in class io.github.layout.Layout
 
layGetRectX(LayoutContext, int) - Static method in class io.github.layout.Layout
 
layGetRectY(LayoutContext, int) - Static method in class io.github.layout.Layout
 
layGetSizeX(LayoutContext, int) - Static method in class io.github.layout.Layout
Gets the horizontal size of an item that was set with setSize
layGetSizeXY(LayoutContext, int, float[]) - Static method in class io.github.layout.Layout
Gets the size of an item that was set with setSize.
layGetSizeY(LayoutContext, int) - Static method in class io.github.layout.Layout
Gets the vertical size of an item that was set with setSize
layInsert(LayoutContext, int, int) - Static method in class io.github.layout.Layout
Inserts an item into another item, forming a parent - child relationship.
layItem(LayoutContext) - Static method in class io.github.layout.Layout
Create a new item, which can just be thought of as a rectangle.
layItemsCapacity(LayoutContext) - Static method in class io.github.layout.Layout
Returns the number of items the context can hold without performing a reallocation.
layItemsCount(LayoutContext) - Static method in class io.github.layout.Layout
Returns the number of items that have been created in a context.
layLastChild(LayoutContext, int) - Static method in class io.github.layout.Layout
 
layNextSibling(LayoutContext, int) - Static method in class io.github.layout.Layout
Get the id of the next sibling of an item, if any.
Layout - Class in io.github.layout
 
Layout() - Constructor for class io.github.layout.Layout
 
Layout.LayoutItem - Class in io.github.layout
 
LayoutBoxFlags - Class in io.github.layout
Container flags to pass to setContainer()
LayoutBoxFlags() - Constructor for class io.github.layout.LayoutBoxFlags
 
LayoutContext - Class in io.github.layout
 
LayoutContext() - Constructor for class io.github.layout.LayoutContext
 
LayoutContext.LayoutRect - Class in io.github.layout
 
LayoutFlags - Class in io.github.layout
Child layout flags to pass to lay_set_behave()
LayoutFlags() - Constructor for class io.github.layout.LayoutFlags
 
LayoutRect() - Constructor for class io.github.layout.LayoutContext.LayoutRect
 
layPush(LayoutContext, int, int) - Static method in class io.github.layout.Layout
Like lay_insert, but puts the new item as the first child in a parent instead of as the last.
layReserveItemsCapacity(LayoutContext, int) - Static method in class io.github.layout.Layout
Reserve enough heap memory to contain `count` items without needing to reallocate.
layResetContext(LayoutContext) - Static method in class io.github.layout.Layout
Clears all of the items in a context, setting its count to 0.
layRunContext(LayoutContext) - Static method in class io.github.layout.Layout
Performs the layout calculations, starting at the root item (id 0).
layRunItem(LayoutContext, int) - Static method in class io.github.layout.Layout
Like lay_run_context(), this procedure will run layout calculations -- however, it lets you specify which item you want to start from.
laySetBehave(LayoutContext, int, int) - Static method in class io.github.layout.Layout
Set the flags on an item which determines how it behaves as a child inside of a parent item.
laySetContain(LayoutContext, int, int) - Static method in class io.github.layout.Layout
Set the flags on an item which determines how it behaves as a parent.
laySetGrow(LayoutContext, int, float) - Static method in class io.github.layout.Layout
Set flex grow factor of an item.
laySetMargins(LayoutContext, int, float, float, float, float) - Static method in class io.github.layout.Layout
Get the margins that were set by lay_set_margins.
laySetSize(LayoutContext, int, float, float) - Static method in class io.github.layout.Layout
Sets the size of an item

M

margins(int) - Method in class io.github.layout.Layout.LayoutItem
 

N

nextSibling(int) - Method in class io.github.layout.LayoutContext
 

P

push(int, int) - Method in class io.github.layout.LayoutContext
 

R

reserveItemsCapacity(int) - Method in class io.github.layout.LayoutContext
 
resetContext() - Method in class io.github.layout.LayoutContext
 
runContext() - Method in class io.github.layout.LayoutContext
 
runItem(int) - Method in class io.github.layout.LayoutContext
 

S

set(int, float) - Method in class io.github.layout.LayoutContext.LayoutRect
 
setBehave(int, int) - Method in class io.github.layout.LayoutContext
 
setContain(int, int) - Method in class io.github.layout.LayoutContext
 
setGrow(int, float) - Method in class io.github.layout.LayoutContext
 
setMargins(int, float, float, float, float) - Method in class io.github.layout.LayoutContext
 
setSize(int, float, float) - Method in class io.github.layout.LayoutContext
 
size(int) - Method in class io.github.layout.Layout.LayoutItem
 

W

w - Variable in class io.github.layout.LayoutContext.LayoutRect
 

X

x - Variable in class io.github.layout.LayoutContext.LayoutRect
 

Y

y - Variable in class io.github.layout.LayoutContext.LayoutRect
 
A C F G H I L M N P R S W X Y 
Skip navigation links