Packageorg.ow2.kerneos.core.view.window
Classpublic class SwfModuleWindow
InheritanceSwfModuleWindow Inheritance ModuleWindow Inheritance KerneosWindow Inheritance flexlib.mdi.containers.MDIWindow
Implements mx.binding.IBindingClient, mx.core.IStateClient2



Public Properties
 PropertyDefined By
  errorLabel : Label
SwfModuleWindow
 InheritedLEFT_MARGIN : int = 150
[static]
KerneosWindow
 InheritedminimizedModuleWindow : MinimizedModuleWindow
The minimized module item
ModuleWindow
 InheritedMINIMUM_ACCEPTED_WINDOW_HEIGHT : int = 100
[static]
KerneosWindow
 InheritedMINIMUM_ACCEPTED_WINDOW_WIDTH : int = 100
[static]
KerneosWindow
 Inheritedmodule : ModuleWithWindowVO = null
The module
ModuleWindow
  moduleLoader : ModuleLoader
SwfModuleWindow
  progressBar : KerneosProgressBar
SwfModuleWindow
 InheritedTOP_MARGIN : int = 15
[static]
KerneosWindow
 InheritedWINDOW_DEFAULT_PERCENT_HEIGHT : int = 90
[static]
KerneosWindow
 InheritedWINDOW_DEFAULT_PERCENT_WIDTH : int = 80
[static] New windows size and placement parameters
KerneosWindow
 InheritedWINDOW_DEFAULT_X_OFFSET : int = 30
[static]
KerneosWindow
 InheritedWINDOW_DEFAULT_Y_OFFSET : int = 15
[static]
KerneosWindow
 InheritedWINDOW_MOVE_COLLISION_MARGIN : int = 50
[static]
KerneosWindow
Public Methods
 MethodDefined By
  
Constructor.
SwfModuleWindow
 Inherited
bringToFront(e:Event = null):void
Bring the window to the front.
KerneosWindow
  
getKerneosModule():KerneosModule
Get the KerneosModule object associated with this SwfModule
SwfModuleWindow
  
isLoaded():Boolean
Return true if the module is loaded
SwfModuleWindow
  
load():void
Load the module
SwfModuleWindow
 Inherited
minimize(event:MouseEvent = null):void
[override] Override the default minimize behaviour
ModuleWindow
 Inherited
saveWindowSetup(event:Event = null):void
Save the window size and placement to the user shared object.
KerneosWindow
  
unload(cause:String = null):void
Unload the module
SwfModuleWindow
 Inherited
unMinimize(event:MouseEvent = null):void
[override] Override the default unminimize behaviour
ModuleWindow
Protected Methods
 MethodDefined By
 Inherited
checkCollisions(margin:Number = 0):void
Calculate which IFrameWindows this one overlaps and notify them.
KerneosWindow
 Inherited
checkCollisionWithWindow(window:IFrameModuleWindow, margin:Number = 0):Boolean
Check if the current window overlaps the given window.
KerneosWindow
 Inherited
onClose(e:Event = null):void
When the window is closed.
KerneosWindow
 Inherited
onDrag(e:Event = null):void
When the window is being dragged.
KerneosWindow
 Inherited
onDragEnd(e:Event = null):void
When the window stops being dragged.
KerneosWindow
 Inherited
onDragStart(e:Event = null):void
When the window starts being dragged.
KerneosWindow
 Inherited
onFocusEnd(e:Event = null):void
When the window loses the focus.
KerneosWindow
 Inherited
onFocusStart(e:Event = null):void
When the window gets the focus.
KerneosWindow
 Inherited
onMaximize(e:Event = null):void
When the window is maximized.
KerneosWindow
 Inherited
onMinimize(e:Event = null):void
When the window is minimized.
KerneosWindow
 Inherited
onResize(e:Event = null):void
When the window is resized.
KerneosWindow
 Inherited
onResizeEnd(e:Event = null):void
When the window stops being resized.
KerneosWindow
 Inherited
onResizeStart(e:Event = null):void
When the window starts being resized.
KerneosWindow
 Inherited
onRestore(e:Event = null):void
When the window is restored.
KerneosWindow
 Inherited
Apply the default algorithm for positioning and sizing the window.
KerneosWindow
 Inherited
Try to apply the user saved setting for positioning and sizing this window.
ModuleWindow
 Inherited
Try to apply the user saved setting for positioning and sizing this window.
KerneosWindow
 Inherited
setupWindowMaximization(event:Event = null):void
[override] Setup wether the window must be maximized.
ModuleWindow
 Inherited
setupWindowSizeAndPosition(event:Event = null):void
[override] Setup the window size and position.
ModuleWindow
Property Detail
errorLabelproperty
public var errorLabel:Label

This property can be used as the source for data binding.

moduleLoaderproperty 
public var moduleLoader:ModuleLoader

This property can be used as the source for data binding.

progressBarproperty 
public var progressBar:KerneosProgressBar

This property can be used as the source for data binding.

Constructor Detail
SwfModuleWindow()Constructor
public function SwfModuleWindow()

Constructor.

Method Detail
getKerneosModule()method
public function getKerneosModule():KerneosModule

Get the KerneosModule object associated with this SwfModule

Returns
KerneosModule — null if there is not KerneosModule
isLoaded()method 
public function isLoaded():Boolean

Return true if the module is loaded

Returns
Boolean
load()method 
public function load():void

Load the module

unload()method 
public function unload(cause:String = null):void

Unload the module

Parameters

cause:String (default = null)