Package | org.ow2.kerneos.core.view.window |
Class | public class ModuleWindow |
Inheritance | ModuleWindow ![]() ![]() |
Implements | mx.binding.IBindingClient |
Subclasses | FolderWindow, IFrameModuleWindow, SwfModuleWindow |
Property | Defined By | ||
---|---|---|---|
![]() | 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 |
Method | Defined By | ||
---|---|---|---|
Constructor. | ModuleWindow | ||
![]() | bringToFront(e:Event = null):void
Bring the window to the front. | KerneosWindow | |
minimize(event:MouseEvent = null):void [override]
Override the default minimize behaviour
| ModuleWindow | ||
![]() | saveWindowSetup(event:Event = null):void
Save the window size and placement to the user shared object. | KerneosWindow | |
unMinimize(event:MouseEvent = null):void [override]
Override the default unminimize behaviour
| ModuleWindow |
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 | |
![]() | 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
When the window stops being dragged. | KerneosWindow | |
![]() | onDragStart(e:Event = null):void
When the window starts being dragged. | KerneosWindow | |
![]() | onFocusEnd(e:Event = null):void
When the window loses the focus. | KerneosWindow | |
![]() | onFocusStart(e:Event = null):void
When the window gets the focus. | KerneosWindow | |
![]() | 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
When the window stops being resized. | KerneosWindow | |
![]() | onResizeStart(e:Event = null):void
When the window starts being resized. | KerneosWindow | |
![]() | onRestore(e:Event = null):void
When the window is restored. | KerneosWindow | |
![]() |
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 |
minimizedModuleWindow | property |
public var minimizedModuleWindow:MinimizedModuleWindow
The minimized module item
This property can be used as the source for data binding.
module | property |
public var module:ModuleWithWindowVO = null
The module
This property can be used as the source for data binding.
ModuleWindow | () | Constructor |
public function ModuleWindow()
Constructor.
minimize | () | method |
override public function minimize(event:MouseEvent = null):void
Override the default minimize behaviour
Parameters
event:MouseEvent (default = null )
|
setupKerneosConfigWindowSizeAndPosition | () | method |
protected function setupKerneosConfigWindowSizeAndPosition():Boolean
Try to apply the user saved setting for positioning and sizing this window.
ReturnsBoolean — false
if no setting saved or not applicable anymore.
|
setupWindowMaximization | () | method |
override protected function setupWindowMaximization(event:Event = null):void
Setup wether the window must be maximized.
Parameters
event:Event (default = null )
|
setupWindowSizeAndPosition | () | method |
override protected function setupWindowSizeAndPosition(event:Event = null):void
Setup the window size and position. Tries to read the user preferences from the shared object. If valid, applies it. Else if settings defined in Kerneos config and valid, applies it. Else calculates the window size and position.
Parameters
event:Event (default = null )
|
unMinimize | () | method |
override public function unMinimize(event:MouseEvent = null):void
Override the default unminimize behaviour
Parameters
event:MouseEvent (default = null )
|