Essentially a VBox full of Windows. Only one Window will be expanded at any time.
Constructor
new (?parent:DisplayObjectContainer, ?xpos:Float, ?ypos:Float)
Constructor
Parameters:
parent | The parent DisplayObjectContainer on which to add this Panel. |
---|---|
xpos | The x position to place this component. |
ypos | The y position to place this component. |
Methods
addWindow (title:String):Void
Adds a new window to the bottom of the accordion.
Parameters:
title | The title of the new window. |
---|
getWindowAt (index:Int):Window
Returns the Window at the specified index.
Parameters:
index | The index of the Window you want to get access to. |
---|
setSize (w:Float, h:Float):Void
Sets the size of the component.
Parameters:
w | The width of the component. |
---|---|
h | The height of the component. |