pseudo.BaseWindow class
View Sample :: Return to index  
pseudo.BaseWindow.BaseWindow(pThis:MovieClip)
BaseWindow constructor. You never use the constructor to create this component.

Parameters None
Returns Nothing
Example
    None


pseudo.BaseWindow.create(pOwner:MovieClip, strName:String, nDepth:Number):pseudo.Edit
You never create windows directely but rather use pseudo.WindowManager.addWindow() function.

Parameters pOwner The owner movie clip of the new BaseWindow
strName The new BaseWindow instance name
nDepth The new BaseWindow instance depth
Returns The reference to new BaseWindow instance
Example
    None


pseudo.BaseWindow.setPaneSize(nW:Number, nH:Number):Void
Sets the size of the pane. The height doesn't include the height of the window title.

Parameters nW Number value; the pane width
nH Number value; the pane height
Returns Nothing
Example
    None


pseudo.BaseWindow.setLook(look:Object):Void


Parameters look Object value; the reference to the look and feel object
Returns Nothing
Example
    None


pseudo.BaseWindow.setIsResizable(bIsResizable:Boolean):Void
Specifies whether the window is resizable or not.

Parameters bIsResizable Boolean value; if true the window will be resizable
Returns Nothing
Example
    None


pseudo.BaseWindow.isFocused():Boolean


Parameters None
Returns Boolean value indicating if the window is focused
Example
    None


pseudo.BaseWindow.setFocused(bFocused:Boolean):Void


Parameters bFocused Boolean value; if true the window becomes focused
Returns Nothing
Example
    None


pseudo.BaseWindow.setTitleBar(pClass:Function):pseudo.BaseMovie
Adds the title bar to the window

Parameters pClass Function object. The class that will be used to draw the window title bar.
Returns The reference to the cleared title bar instance
Example
    None


pseudo.BaseWindow.getTitleBar():pseudo.BaseMovie


Parameters None
Returns The reference to the window title bar instance.
Example
    None


pseudo.BaseWindow.setPane(pClass:Function):pseudo.Pane


Parameters pClass Function object; the class that will be used to draw the window pane (working area)
Returns The reference to the created pane instance.
Example
    None


pseudo.BaseWindow.getPane():pseudo.Pane


Parameters None
Returns The reference to the window pane instance
Example
    None


pseudo.BaseWindow.isMaximized():Boolean


Parameters None
Returns Boolean value indicates if the window is maximized
Example
    None


pseudo.BaseWindow.invokeEvent(strEvent:String):Void


Parameters strEvent String value indicating what event to fire for this window: "maximizeWindow", "minimizeWindow", "close"
Returns Nothing
Example
    None
Flash UI Components (c)TUFaT.com, All Rights Reserved.