Packageorg.flixel.system
Classpublic class FlxWindow
InheritanceFlxWindow Inheritance flash.display.Sprite
Subclasses Log, Perf, Watch



Public Properties
 PropertyDefined By
  maxSize : Point
FlxWindow
  minSize : Point
FlxWindow
Protected Properties
 PropertyDefined 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
Public Methods
 MethodDefined 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
Protected Methods
 MethodDefined 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
Property Detail
_bgproperty
protected var _bg:Bitmap

_boundsproperty 
protected var _bounds:Rectangle

_dragproperty 
protected var _drag:Point

_draggingproperty 
protected var _dragging:Boolean

_handleproperty 
protected var _handle:Bitmap

_headerproperty 
protected var _header:Bitmap

_heightproperty 
protected var _height:uint

_overHandleproperty 
protected var _overHandle:Boolean

_overHeaderproperty 
protected var _overHeader:Boolean

_resizableproperty 
protected var _resizable:Boolean

_resizingproperty 
protected var _resizing:Boolean

_shadowproperty 
protected var _shadow:Bitmap

_titleproperty 
protected var _title:TextField

_widthproperty 
protected var _width:uint

ImgHandleproperty 
protected var ImgHandle:Class

maxSizeproperty 
public var maxSize:Point

minSizeproperty 
public var minSize:Point

Constructor Detail
FlxWindow()Constructor
public function FlxWindow(Title:String, Width:Number, Height:Number, Resizable:Boolean = true, Bounds:Rectangle = null, BGColor:uint = 0xdfBABCBF, TopColor:uint = 0xff4E5359)



Parameters
Title:String
 
Width:Number
 
Height:Number
 
Resizable:Boolean (default = true)
 
Bounds:Rectangle (default = null)
 
BGColor:uint (default = 0xdfBABCBF)
 
TopColor:uint (default = 0xff4E5359)
Method Detail
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