Class: ForEachLimitedTile

ForEachLimitedTile


new ForEachLimitedTile(renderer, typeConstructor, isSelected [, horizontal])

Parameters:
Name Type Argument Default Description
renderer olympe.ui.std.ForEachLimited.Renderer
typeConstructor olympe.df.Proxy.<function(new:T, ...?)> | function
isSelected function
horizontal boolean <optional>
false

Methods


destroy()

Destroy this tile content.


getCurrentIndex()

Returns:
Type
string

getCurrentLinePosition()

Returns:
Type
number

getCurrentScrollPosition()

Returns:
Type
number

getId()

Returns:
Type
string

getUITile()

Returns:
Type
olympe.ui.std.DockableElement

runForThisRank(func)

Run the specified function under the execution context of this Tile

Parameters:
Name Type Description
func function

setElement(element, index, rank)

Parameters:
Name Type Description
element T
index string
rank number

setLinePosition(pos)

Parameters:
Name Type Description
pos olympe.df.ONumber | number

setScrollPosition(pos)

Parameters:
Name Type Description
pos olympe.df.ONumber | number

setSelected(selected)

Parameters:
Name Type Description
selected olympe.df.OBoolean | boolean