Packageflexlib.mdi.containers
Classpublic class MDIWindowControlsContainer
InheritanceMDIWindowControlsContainer Inheritance mx.core.LayoutContainer

Class that holds window control buttons and handles general titleBar layout. Provides minimize, maximize/restore and close buttons by default. Subclass this class to create custom layouts that rearrange, add to, or reduce the default controls. Set layout property to switch between horizontal, vertical and absolute layouts.



Public Properties
 PropertyDefined by
  closeBtn : Button
MDIWindowControlsContainer
  maximizeRestoreBtn : Button
MDIWindowControlsContainer
  minimizeBtn : Button
MDIWindowControlsContainer
  window : MDIWindow
MDIWindowControlsContainer
Public Methods
 MethodDefined by
  
Base class to hold window controls.
MDIWindowControlsContainer
Protected Methods
 MethodDefined by
  
MDIWindowControlsContainer
  
updateDisplayList(w:Number, h:Number):void
Traditional override of built-in lifecycle function used to control visual layout of the class.
MDIWindowControlsContainer
Property detail
closeBtnproperty
public var closeBtn:Button
maximizeRestoreBtnproperty 
public var maximizeRestoreBtn:Button
minimizeBtnproperty 
public var minimizeBtn:Button
windowproperty 
public var window:MDIWindow
Constructor detail
MDIWindowControlsContainer()constructor
public function MDIWindowControlsContainer()

Base class to hold window controls. Since it inherits from LayoutContainer, literally any layout can be accomplished by manipulating or subclassing this class.

Method detail
createChildren()method
protected override function createChildren():void
updateDisplayList()method 
protected override function updateDisplayList(w:Number, h:Number):void

Traditional override of built-in lifecycle function used to control visual layout of the class. Minor difference is that size is set here as well because automatic measurement and sizing is not handled by framework since we go into rawChildren (of MDIWindow).

Parameters
w:Number
 
h:Number