Packageorg.openzet.containers
Interfacepublic interface IMDI extends mx.core.IContainer
ImplementorsMDI, MDIWindow

IMDI interface defines methods and properties needed for an MDI



Public Properties
 PropertyDefined by
  allowResizeOverflow : Boolean
Flag specifying whether to allow resizing of the other side of edge when one side is pushed to its limit.
IMDI
  boundsEnabled : Boolean
Flag specifying whether to set MDI's bounds.
IMDI
  includeMinimizedWindowForAlign : Boolean
Flag specifying whether to include minimized windows when aligning windows.
IMDI
  minimizedWindowAutoAlign : Boolean
Flag specifying whether to auto-align minimzied windows.
IMDI
  windowDefaultHeight : Number
Default height of a window.
IMDI
  windowDefaultWidth : Number
Default width of a window.
IMDI
  windowMinHeight : Number
window minimum height
IMDI
  windowMinWidth : Number
window minimum width
IMDI
Public Methods
 MethodDefined by
  
cascade():void
Cascades all windows
IMDI
  
Aligns all windows horizontally
IMDI
  
minimizeAll():void
Minimizes all windows.
IMDI
  
random():void
Randomize position and size of all windows.
IMDI
  
restoreAll():void
Restores all windows.
IMDI
  
Aligns all windows vertically
IMDI
Property detail
allowResizeOverflowproperty
allowResizeOverflow:Boolean  [read-write]

Flag specifying whether to allow resizing of the other side of edge when one side is pushed to its limit. If true, the size of the other size increases when one side has reached its size limit.

Implementation
    public function get allowResizeOverflow():Boolean
    public function set allowResizeOverflow(value:Boolean):void
boundsEnabledproperty 
boundsEnabled:Boolean  [read-write]

Flag specifying whether to set MDI's bounds.

Implementation
    public function get boundsEnabled():Boolean
    public function set boundsEnabled(value:Boolean):void
includeMinimizedWindowForAlignproperty 
includeMinimizedWindowForAlign:Boolean  [read-write]

Flag specifying whether to include minimized windows when aligning windows.

Implementation
    public function get includeMinimizedWindowForAlign():Boolean
    public function set includeMinimizedWindowForAlign(value:Boolean):void
minimizedWindowAutoAlignproperty 
minimizedWindowAutoAlign:Boolean  [read-write]

Flag specifying whether to auto-align minimzied windows.

Implementation
    public function get minimizedWindowAutoAlign():Boolean
    public function set minimizedWindowAutoAlign(value:Boolean):void
windowDefaultHeightproperty 
windowDefaultHeight:Number  [read-write]

Default height of a window. When a new window is populated, its height value is set based on the resulting value of this method. Also when cascading windows, their default height will be set as the resulting value of this method.

Implementation
    public function get windowDefaultHeight():Number
    public function set windowDefaultHeight(value:Number):void
windowDefaultWidthproperty 
windowDefaultWidth:Number  [read-write]

Default width of a window. When a new window is populated, its width value is set based on the resulting value of this method. Also when cascading windows, their default width will be set as the resulting value of this method.

Implementation
    public function get windowDefaultWidth():Number
    public function set windowDefaultWidth(value:Number):void
windowMinHeightproperty 
windowMinHeight:Number  [read-write]

window minimum height

Implementation
    public function get windowMinHeight():Number
    public function set windowMinHeight(value:Number):void
windowMinWidthproperty 
windowMinWidth:Number  [read-write]

window minimum width

Implementation
    public function get windowMinWidth():Number
    public function set windowMinWidth(value:Number):void
Method detail
cascade()method
public function cascade():void

Cascades all windows

horizontalAlign()method 
public function horizontalAlign():void

Aligns all windows horizontally

minimizeAll()method 
public function minimizeAll():void

Minimizes all windows.

random()method 
public function random():void

Randomize position and size of all windows.

restoreAll()method 
public function restoreAll():void

Restores all windows.

verticalAlign()method 
public function verticalAlign():void

Aligns all windows vertically