Package | org.flixel.system |
Class | public class FlxWindow |
Inheritance | FlxWindow ![]() |
Subclasses | Log, Perf, Watch |
Property | Defined By | ||
---|---|---|---|
_bg : Bitmap | FlxWindow | ||
_bounds : Rectangle | FlxWindow | ||
_drag : Point | FlxWindow | ||
_dragging : Boolean | FlxWindow | ||
_handle : Bitmap | FlxWindow | ||
_header : Bitmap | FlxWindow | ||
_height : uint | FlxWindow | ||
ImgHandle : Class | FlxWindow | ||
_overHandle : Boolean | FlxWindow | ||
_overHeader : Boolean | FlxWindow | ||
_resizable : Boolean | FlxWindow | ||
_resizing : Boolean | FlxWindow | ||
_shadow : Bitmap | FlxWindow | ||
_title : TextField | FlxWindow | ||
_width : uint | FlxWindow |
Method | Defined By | ||
---|---|---|---|
FlxWindow(Title:String, Width:Number, Height:Number, Resizable:Boolean = true, Bounds:Rectangle = null, BGColor:uint = 0xdfBABCBF, TopColor:uint = 0xff4E5359) | FlxWindow | ||
destroy():void | FlxWindow | ||
reposition(X:Number, Y:Number):void | FlxWindow | ||
resize(Width:Number, Height:Number):void | FlxWindow |
Method | Defined By | ||
---|---|---|---|
bound():void | FlxWindow | ||
init(E:Event = null):void | FlxWindow | ||
onMouseDown(E:MouseEvent = null):void | FlxWindow | ||
onMouseMove(E:MouseEvent = null):void | FlxWindow | ||
onMouseUp(E:MouseEvent = null):void | FlxWindow | ||
updateGUI():void | FlxWindow | ||
updateSize():void | FlxWindow |
_bg | property |
protected var _bg:Bitmap
_bounds | property |
protected var _bounds:Rectangle
_drag | property |
protected var _drag:Point
_dragging | property |
protected var _dragging:Boolean
_handle | property |
protected var _handle:Bitmap
_header | property |
protected var _header:Bitmap
_height | property |
protected var _height:uint
_overHandle | property |
protected var _overHandle:Boolean
_overHeader | property |
protected var _overHeader:Boolean
_resizable | property |
protected var _resizable:Boolean
_resizing | property |
protected var _resizing:Boolean
_shadow | property |
protected var _shadow:Bitmap
_title | property |
protected var _title:TextField
_width | property |
protected var _width:uint
ImgHandle | property |
protected var ImgHandle:Class
maxSize | property |
public var maxSize:Point
minSize | property |
public var minSize:Point
FlxWindow | () | Constructor |
public function FlxWindow(Title:String, Width:Number, Height:Number, Resizable:Boolean = true, Bounds:Rectangle = null, BGColor:uint = 0xdfBABCBF, TopColor:uint = 0xff4E5359)
Title:String | |
Width:Number | |
Height:Number | |
Resizable:Boolean (default = true )
| |
Bounds:Rectangle (default = null )
| |
BGColor:uint (default = 0xdfBABCBF )
| |
TopColor:uint (default = 0xff4E5359 )
|
bound | () | method |
protected function bound():void
destroy | () | method |
public function destroy():void
init | () | method |
protected function init(E:Event = null):void
Parameters
E:Event (default = null )
|
onMouseDown | () | method |
protected function onMouseDown(E:MouseEvent = null):void
Parameters
E:MouseEvent (default = null )
|
onMouseMove | () | method |
protected function onMouseMove(E:MouseEvent = null):void
Parameters
E:MouseEvent (default = null )
|
onMouseUp | () | method |
protected function onMouseUp(E:MouseEvent = null):void
Parameters
E:MouseEvent (default = null )
|
reposition | () | method |
public function reposition(X:Number, Y:Number):void
Parameters
X:Number | |
Y:Number |
resize | () | method |
public function resize(Width:Number, Height:Number):void
Parameters
Width:Number | |
Height:Number |
updateGUI | () | method |
protected function updateGUI():void
updateSize | () | method |
protected function updateSize():void