Packageorg.ow2.kerneos.core.view.window
Classpublic class IFrameModuleWindow
InheritanceIFrameModuleWindow Inheritance ModuleWindow Inheritance KerneosWindow Inheritance flexlib.mdi.containers.MDIWindow

A module window hosting an IFrame.

See also

IFrameModuleWindowContainer


Public Properties
 PropertyDefined By
  iFrame : IFrame
Get the hosted IFrame.
IFrameModuleWindow
 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
 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
Protected Properties
 PropertyDefined By
  _frame : IFrame
The hosted IFrame.
IFrameModuleWindow
  _frameLoaded : Boolean = false
True when the frame content has finished loading.
IFrameModuleWindow
  _overlappingWindows : ArrayCollection
The registry of the windows that currently overlap this window.
IFrameModuleWindow
Public Methods
 MethodDefined By
  
IFrameModuleWindow(module:IFrameModuleVO, frame:IFrame)
Build a new window hosting an IFrame
IFrameModuleWindow
 Inherited
bringToFront(e:Event = null):void
Bring the window to the front.
KerneosWindow
  
Allow another window to declare that it does not overlap this one.
IFrameModuleWindow
  
Allow another window to declare that it overlaps this one.
IFrameModuleWindow
  
hideIFrame(e:Event = null):void
Hide the IFrame content.
IFrameModuleWindow
  
historyBack(event:Event = null):void
Load the IFrame's last page in the navigation history.
IFrameModuleWindow
  
historyForward(event:Event = null):void
Load the IFrame's next page in the navigation history.
IFrameModuleWindow
  
minimize(event:MouseEvent = null):void
[override] Override the default minimize behaviour
IFrameModuleWindow
  
navigateExternally(event:Event = null):void
Open the module URL in the browser.
IFrameModuleWindow
  
removeIFrame(e:Event = null):void
Kill the IFrame, and leave nothing.
IFrameModuleWindow
 Inherited
saveWindowSetup(event:Event = null):void
Save the window size and placement to the user shared object.
KerneosWindow
  
showIFrame(e:Event = null):void
Show the Iframe content.
IFrameModuleWindow
  
unMinimize(event:MouseEvent = null):void
[override] Override the default unminimize behaviour
IFrameModuleWindow
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
  
clearOverlappingWindowsRegistry(e:Event = null):void
Reset the registry of the overlapping windows.
IFrameModuleWindow
  
[override] Create UI children
IFrameModuleWindow
 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
  
onDragEnd(e:Event = null):void
[override] When the window stops being dragged.
IFrameModuleWindow
  
onDragStart(e:Event = null):void
[override] When the window starts being dragged.
IFrameModuleWindow
 Inherited
onFocusEnd(e:Event = null):void
When the window loses the focus.
KerneosWindow
  
onFocusStart(e:Event = null):void
[override] When the window gets the focus.
IFrameModuleWindow
  
onFrameLoaded(e:Event = null):void
When the frame content has finished loading.
IFrameModuleWindow
 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
  
onResizeEnd(e:Event = null):void
[override] When the window stops being resized.
IFrameModuleWindow
  
onResizeStart(e:Event = null):void
[override] When the window starts being resized.
IFrameModuleWindow
 Inherited
onRestore(e:Event = null):void
When the window is restored.
KerneosWindow
  
Setup which controls should be displayed.
IFrameModuleWindow
 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
_frameproperty
protected var _frame:IFrame

The hosted IFrame.

_frameLoadedproperty 
protected var _frameLoaded:Boolean = false

True when the frame content has finished loading.

_overlappingWindowsproperty 
protected var _overlappingWindows:ArrayCollection

The registry of the windows that currently overlap this window.

iFrameproperty 
iFrame:IFrame

Get the hosted IFrame.


Implementation
    public function get iFrame():IFrame
    public function set iFrame(value:IFrame):void
Constructor Detail
IFrameModuleWindow()Constructor
public function IFrameModuleWindow(module:IFrameModuleVO, frame:IFrame)

Build a new window hosting an IFrame

Parameters
module:IFrameModuleVO
 
frame:IFrame
Method Detail
clearOverlappingWindowsRegistry()method
protected function clearOverlappingWindowsRegistry(e:Event = null):void

Reset the registry of the overlapping windows.

Parameters

e:Event (default = null)

createChildren()method 
override protected function createChildren():void

Create UI children

declareNotOverlapping()method 
public function declareNotOverlapping(window:KerneosWindow):void

Allow another window to declare that it does not overlap this one.

Parameters

window:KerneosWindow

declareOverlapping()method 
public function declareOverlapping(window:KerneosWindow):void

Allow another window to declare that it overlaps this one.

Parameters

window:KerneosWindow

hideIFrame()method 
public function hideIFrame(e:Event = null):void

Hide the IFrame content.

Parameters

e:Event (default = null)

historyBack()method 
public function historyBack(event:Event = null):void

Load the IFrame's last page in the navigation history.

Parameters

event:Event (default = null)

historyForward()method 
public function historyForward(event:Event = null):void

Load the IFrame's next page in the navigation history.

Parameters

event:Event (default = null)

minimize()method 
override public function minimize(event:MouseEvent = null):void

Override the default minimize behaviour

Parameters

event:MouseEvent (default = null)

navigateExternally()method 
public function navigateExternally(event:Event = null):void

Open the module URL in the browser. Opens in a new tab, excepted for Internet Explorer where it is opened in a new window...

Parameters

event:Event (default = null)

onDragEnd()method 
override protected function onDragEnd(e:Event = null):void

When the window stops being dragged.

Parameters

e:Event (default = null)

onDragStart()method 
override protected function onDragStart(e:Event = null):void

When the window starts being dragged.

Parameters

e:Event (default = null)

onFocusStart()method 
override protected function onFocusStart(e:Event = null):void

When the window gets the focus.

Parameters

e:Event (default = null)

onFrameLoaded()method 
protected function onFrameLoaded(e:Event = null):void

When the frame content has finished loading.

Parameters

e:Event (default = null)

onResizeEnd()method 
override protected function onResizeEnd(e:Event = null):void

When the window stops being resized.

Parameters

e:Event (default = null)

onResizeStart()method 
override protected function onResizeStart(e:Event = null):void

When the window starts being resized.

Parameters

e:Event (default = null)

removeIFrame()method 
public function removeIFrame(e:Event = null):void

Kill the IFrame, and leave nothing.

Parameters

e:Event (default = null)

setupControls()method 
protected function setupControls():void

Setup which controls should be displayed.

showIFrame()method 
public function showIFrame(e:Event = null):void

Show the Iframe content.

Parameters

e:Event (default = null)

unMinimize()method 
override public function unMinimize(event:MouseEvent = null):void

Override the default unminimize behaviour

Parameters

event:MouseEvent (default = null)