Interface: ForEachLayout

olympe.ui.std. ForEachLayout

Methods


<abstract> addItem(container, renderer, value, index, map, forEach, itemThemeClass)

Parameters:
Name Type Description
container olympe.ui.std.AbsoluteLayout
renderer olympe.ui.std.ForEach.ForEachRenderer
value T
index string
map olympe.df.SortedEnumerable
forEach olympe.ui.std.ForEach
itemThemeClass olympe.df.POString
Returns:

element

Type
olympe.ui.std.DockableElement

<abstract> getDimension()

Returns:

dimension of the layout

Type
olympe.df.PVector2

<abstract> getEndIndex()

Returns:

last index of visible element (for lazy loading). If lazy is not supported by the layout, this method should return Number.MAX_SAFE_INTEGER

Type
olympe.df.PONumber

<abstract> getStartIndex()

Returns:

number of visible elements (for lazy loading). If lazy loading is not supported by the layout, this method should return 0

Type
olympe.df.PONumber