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:
-
runForThisRank(func)
-
Run the specified function under the execution context of this Tile
Parameters:
Name Type Description funcfunction -
setElement(element, index, rank)
-
Parameters:
Name Type Description elementT indexstring ranknumber -
setLinePosition(pos)
-
Parameters:
Name Type Description posolympe.df.ONumber | number -
setScrollPosition(pos)
-
Parameters:
Name Type Description posolympe.df.ONumber | number -
setSelected(selected)
-
Parameters:
Name Type Description selectedolympe.df.OBoolean | boolean
Olympe SDK