Package | org.ow2.kerneos.core.view.window |
Class | public class IFrameModuleWindow |
Inheritance | IFrameModuleWindow ![]() ![]() ![]() |
See also
Property | Defined By | ||
---|---|---|---|
iFrame : IFrame
Get the hosted IFrame. | IFrameModuleWindow | ||
![]() | LEFT_MARGIN : int = 150 [static] | KerneosWindow | |
![]() | minimizedModuleWindow : MinimizedModuleWindow
The minimized module item
| ModuleWindow | |
![]() | MINIMUM_ACCEPTED_WINDOW_HEIGHT : int = 100 [static] | KerneosWindow | |
![]() | MINIMUM_ACCEPTED_WINDOW_WIDTH : int = 100 [static] | KerneosWindow | |
![]() | module : ModuleWithWindowVO = null
The module
| ModuleWindow | |
![]() | TOP_MARGIN : int = 15 [static] | KerneosWindow | |
![]() | WINDOW_DEFAULT_PERCENT_HEIGHT : int = 90 [static] | KerneosWindow | |
![]() | WINDOW_DEFAULT_PERCENT_WIDTH : int = 80 [static]
New windows size and placement parameters
| KerneosWindow | |
![]() | WINDOW_DEFAULT_X_OFFSET : int = 30 [static] | KerneosWindow | |
![]() | WINDOW_DEFAULT_Y_OFFSET : int = 15 [static] | KerneosWindow | |
![]() | WINDOW_MOVE_COLLISION_MARGIN : int = 50 [static] | KerneosWindow |
Property | Defined 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 |
Method | Defined By | ||
---|---|---|---|
IFrameModuleWindow(module:IFrameModuleVO, frame:IFrame)
Build a new window hosting an IFrame
| IFrameModuleWindow | ||
![]() | bringToFront(e:Event = null):void
Bring the window to the front. | KerneosWindow | |
declareNotOverlapping(window:KerneosWindow):void
Allow another window to declare that it does not overlap this one. | IFrameModuleWindow | ||
declareOverlapping(window:KerneosWindow):void
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 | ||
![]() | 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 |
Method | Defined By | ||
---|---|---|---|
![]() | checkCollisions(margin:Number = 0):void
Calculate which IFrameWindows this one overlaps and notify them. | KerneosWindow | |
![]() | 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 | ||
createChildren():void [override]
Create UI children
| IFrameModuleWindow | ||
![]() | onClose(e:Event = null):void
When the window is closed. | KerneosWindow | |
![]() | 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 | ||
![]() | 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 | ||
![]() | onMaximize(e:Event = null):void
When the window is maximized. | KerneosWindow | |
![]() | onMinimize(e:Event = null):void
When the window is minimized. | KerneosWindow | |
![]() | 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 | ||
![]() | onRestore(e:Event = null):void
When the window is restored. | KerneosWindow | |
setupControls():void
Setup which controls should be displayed. | IFrameModuleWindow | ||
![]() |
Apply the default algorithm for positioning and sizing the window. | KerneosWindow | |
![]() | setupKerneosConfigWindowSizeAndPosition():Boolean
Try to apply the user saved setting for positioning and sizing this window. | ModuleWindow | |
![]() | setupUserWindowSizeAndPosition():Boolean
Try to apply the user saved setting for positioning and sizing this window. | KerneosWindow | |
![]() | setupWindowMaximization(event:Event = null):void [override]
Setup wether the window must be maximized. | ModuleWindow | |
![]() | setupWindowSizeAndPosition(event:Event = null):void [override]
Setup the window size and position. | ModuleWindow |
_frame | property |
protected var _frame:IFrame
The hosted IFrame.
_frameLoaded | property |
protected var _frameLoaded:Boolean = false
True when the frame content has finished loading.
_overlappingWindows | property |
protected var _overlappingWindows:ArrayCollection
The registry of the windows that currently overlap this window.
iFrame | property |
iFrame:IFrame
Get the hosted IFrame.
public function get iFrame():IFrame
public function set iFrame(value:IFrame):void
IFrameModuleWindow | () | Constructor |
public function IFrameModuleWindow(module:IFrameModuleVO, frame:IFrame)
Build a new window hosting an IFrame
Parametersmodule:IFrameModuleVO | |
frame:IFrame |
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 )
|