| Package | efnx.gui |
| Class | public class Window |
| Inheritance | Window flash.display.Sprite |
| Property | Defined by | ||
|---|---|---|---|
| close : Button
The close window button.
| Window | ||
| height : Number [write-only]
| Window | ||
| label : TextField
The label textfield.
| Window | ||
| maximize : Button
The maximize button.
| Window | ||
| minimize : Button
The minimize button.
| Window | ||
| scrollArea : ScrollArea
The ScrollArea for the Window.
| Window | ||
| width : Number [write-only]
| Window | ||
| windowBar : TileBar
The TileBar used to drag the window.
| Window | ||
| Method | Defined by | ||
|---|---|---|---|
|
Window()
| Window | ||
|
addContent(child:DisplayObject):DisplayObject
Adds content to the ScrollArea.
| Window | ||
|
addContentAt(child:DisplayObject, index:uint):DisplayObject
Adds a
Display Object to the ScrollArea as content at
the level index . | Window | ||
|
inheritSkin(parent:Window):void
Applies the skin of a
parent Window
to this Window. | Window | ||
|
removeContent(child:DisplayObject):DisplayObject
Removes content from the ScrollArea added by addContent.
| Window | ||
|
removeContentAt(index:uint):DisplayObject
Removes a
Display Object from the ScrollArea's content. | Window | ||
| close | property |
| height | property |
height:Number [write-only]Implementation
public function set height(value:Number):void
| label | property |
public var label:TextFieldThe label textfield. Style this how you like.
| maximize | property |
| minimize | property |
| scrollArea | property |
public var scrollArea:ScrollAreaThe ScrollArea for the Window. This ScrollArea should be supplied with all the bitmapData needed.
See also
| width | property |
width:Number [write-only]Implementation
public function set width(value:Number):void
| windowBar | property |
public var windowBar:TileBarThe TileBar used to drag the window. This must be supplied with a left, middle and right bitmapData.
See also
| Window | () | constructor |
public function Window()
| addContent | () | method |
public function addContent(child:DisplayObject):DisplayObjectAdds content to the ScrollArea.
Parameterschild:DisplayObject — The child Display Object to add to the ScrollArea.
|
DisplayObject — The child object.
|
See also
| addContentAt | () | method |
public function addContentAt(child:DisplayObject, index:uint):DisplayObject
Adds a Display Object to the ScrollArea as content at
the level index .
This is much like addChildAt(). Display Objects added with addContentAt
can be removed with removeContent() and removeContentAt().
child:DisplayObject — The Display Object to add.
|
|
index:uint — The level in which to add child.
|
DisplayObject — A reference to the added Display Object
|
See also
| inheritSkin | () | method |
public function inheritSkin(parent:Window):void
Applies the skin of a parent Window
to this Window.
parent:Window — The Window to inherit the skin from.
|
| removeContent | () | method |
public function removeContent(child:DisplayObject):DisplayObjectRemoves content from the ScrollArea added by addContent.
Parameterschild:DisplayObject — The child Display Object to remove from the ScrollArea.
|
DisplayObject — The child object.
|
See also
| removeContentAt | () | method |
public function removeContentAt(index:uint):DisplayObject
Removes a Display Object from the ScrollArea's content.
This is much like removeChild(). Display Objects added with addContent()
can be removed with removeContent() and removeContentAt().
index:uint — The level from which to remove child.
|
DisplayObject — A reference to the added Display Object
|
See also