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 var closeBtn:Buttonpublic var maximizeRestoreBtn:Buttonpublic var minimizeBtn:Buttonpublic var window:MDIWindowpublic 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.
override protected function createChildren():voidoverride protected 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
Mercredi Juillet 6 2011, 09:45 PM +02:00