A single item in a list.
Constructor
new (?parent:DisplayObjectContainer, ?xpos:Float, ?ypos:Float, ?data:Dynamic)
Constructor
Parameters:
parent | The parent DisplayObjectContainer on which to add this ListItem. |
---|---|
xpos | The x position to place this component. |
ypos | The y position to place this component. |
data | The string to display as a label or object with a label property. |